Skip to main content

Purchase Return 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
productCodeProduct code. Value must be an existing product code in Cloud Accounting web application. More information can be found here.string
descriptionPurchase return 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
taxPermitNoTax permit number.string, maxLength(20)
goodsReturnGoods return flag. Used to indicate if product has been returned.boolean
ourPONoDocument number of purchase order record that purchase invoice will be made based on.string, maxLength(50)
ourPODateDocument 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