Skip to main content

Invoice Detail Input Model

Fields

FieldDescriptionType
accNoPurchase account number. Value must be an existing account number in Chart of Account in Cloud Accounting web application.stringrequired for new records
productCodeProduct code. Value must be an existing product code in Cloud Accounting web application. More information can be found here.string
descriptionInvoice detail row description.string, maxLength(100)
unitPricePrice of a single unit.number
Optional Fields
FieldDescriptionType
productVariantProduct variant. Value must be an existing product variant in Cloud Accounting web application. More information can be found here.string
furtherDescriptionFurther document description.string
qtyQuantity. Value must be a positive number.number
unitUnit of measurement.string, maxLength(8)
discountDiscount formula. Example formulas can be found here.string, maxLength(20)
taxCodeTax code. Value must be an existing tax code in Cloud Accounting web application. More information can be found here.string
taxAdjustmentTax adjustment amount.number
localTaxAdjustmentLocal tax adjustment amount. More information can be found here.number
tariffCodeTariff code. Value must be an existing tariff code in Cloud Accounting web application.string
taxExportCountryTax export country.string, maxLength(50)
taxPermitNoTax permit number.string, maxLength(20)
localTotalCostLocal total cost.number
yourPONoDocument number of purchase order record that purchase invoice will be made based on.string, maxLength(50)
yourPODateDocument date of purchase order record that purchase invoice will be made based on.datenullable
deptNoDepartment 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 null
  • description value is null or an empty string
  • unitPrice value is 0