Purchase Order Detail Input Model
Fields
Field | Description | Type |
---|---|---|
productCode | Product code. Value must be an existing product code in Cloud Accounting web application. More information can be found here. | string |
productVariant | Product variant. Value must be an existing product variant in Cloud Accounting web application. More information can be found here. | string |
description | Purchase order detail row description. | string, maxLength(100) |
furtherDescription | Further document description. | string |
qty | Quantity. Value must be a positive number. | number |
unit | Unit of measurement. | string, maxLenth(8) |
unitPrice | Price of a single unit. | number |
discount | Discount formula. Example formulas can be found here. | string, maxLength(20) |
taxCode | Tax code. Value must be an existing tax code in Cloud Accounting web application. More information can be found here. | string |
taxAdjustment | Tax adjustment amount. | number |
localTaxAdjustment | Local tax adjustment amount. More information can be found here. | number |
deptNo | Department number. Value must be an existing department in Cloud Accounting web application. | string |
info
Detail record will not be created if all the following criterias are met:
productCode
value is nulldescription
value is null or an empty stringunitPrice
value is 0