Invoice
Invoice's Database
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
Table Item
Array
Invoice's Table Item
Item Code
String
E.g.: A001
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
Invoice's Sample Code
Remember to change to the correct field before proceeding to run ANY script.
Last updated