Credit Note Detail Input Model
Fields
Field | Description | Type | |
---|---|---|---|
accNo | Account number. Value must be an existing account number in Chart of Account in Cloud Accounting web application. | string | required for new records |
productCode | Product code. Value must be an existing product code in Cloud Accounting web application. More information can be found here. | string | |
description | Credit note detail row description. | string, maxLength(100) | |
unitPrice | Price of a single unit. | number |
Optional Fields
Field | Description | Type | |
---|---|---|---|
productVariant | Product variant. Value must be an existing product variant in Cloud Accounting web application. More information can be found here. | string | |
furtherDescription | Further document description. | string | |
qty | Quantity. Value must be a positive number. | number | |
unit | Unit of measurement. | string, maxLength(8) | |
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 | |
tariffCode | Tariff code. Value must be an existing tariff code in Cloud Accounting web application. | string | |
taxExportCountry | Tax export country. | string, maxLength(50) | |
taxPermitNo | Tax permit number. | string, maxLength(20) | |
taxAdjustment | Tax adjustment amount. | number | |
localTaxAdjustment | Local tax adjustment amount. More information can be found here. | number | |
unitCost | Unit cost. | number | |
goodsReturn | Goods return flag. Used to indicate if product has been returned. | boolean | |
yourPONo | Document number of purchase order record that purchase return will be made based on. | string, maxLength(50) | |
yourPODate | Document date of purchase order record that purchase return will be made based on. | date | nullable |
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