Skip to main content

Credit Note Detail Input Model

Fields

FieldDescriptionType
accNoAccount 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
descriptionCredit note 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
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)
taxAdjustmentTax adjustment amount.number
localTaxAdjustmentLocal tax adjustment amount. More information can be found here.number
unitCostUnit cost.number
goodsReturnGoods return flag. Used to indicate if product has been returned.boolean
yourPONoDocument number of purchase order record that purchase return will be made based on.string, maxLength(50)
yourPODateDocument date of purchase order record that purchase return 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