Invoice

Invoice's Database

UI Name
Database
Type
Remarks
Important

Debtor

String

Debtor must match existing debtor code, and they must be active state. E.g.: 400-A001

Invoice No

String

Avoid using the same Invoice No to prevent overwrite. E.g.: INV00001

Date

String

E.g.: 2024-11-27T00:00:00+08:00

Sales Location

String

Must have existing Sales Location in the accounting system. E.g.: HQ

Credit Term

String

Credit Term must match the same in the accounting system E.g.: C.O.D.

Description

String

E.g.: INVOICE

Limit 80 Characters Max

Inclusive?

Boolean

E.g.: False

Rate

Decimal

E.g.: 1.234

Table Item

Array

Invoice's Table Item

UI Name
Database
Type
Remarks

Item Code

String

E.g.: A001

Acc. No.

String

E.g.: 500-0123

Description

String

E.g.: PRODUCT - CL14

D/O Number

String

E.g.: DO-123-456

UOM

String

E.g.: UNIT

Location

String

Must have existing Location in the accounting system.

E.g.: HQ

Qty

Decimal

Value must be number, and value cannot be negative.

E.g.: 10.0

Unit Price

Decimal

Value must be number, and value cannot be negative.

E.g.: 10.0

Additional

Name
field
Type
Remarks

Cancelled

Boolean

Pass true to void the Invoice

Draft

Boolean

Pass true to allow Invoice Save as Draft . (invoice will not be finalized).

Submit E-Invoice

Boolean

Pass true to check on the Submit e-Invoice?

Invoice's Sample Code

To find {fieldName}, you are required to have access to Alpha or use Network in Developer Tools [F12].

Last updated