Skip to main content

Invoice Master Input Model

Fields

FieldDescriptionType
docDateDocument date. Value must be within the date range of Fiscal Year.daterequired
debtorCodeDebtor code. Value must be an existing customer code in Cloud Accounting web application.stringrequired
debtorNameDebtor name.string, maxLength(100)required
creditTermCredit term. Value must be an existing credit term in Cloud Accounting web application.stringrequired
salesLocationSales location. Value must be an existing location in Cloud Accounting web application.stringrequired
Optional Fields
FieldDescriptionType
docNoDocument number of record. More information can be found here.string, maxLength(50)
docNoFormatNameDocument numbering format. Value must be an existing numbering format name in Cloud Accounting web application. More information can be found here.string
taxDateTax date. Value must be on or after docDate.datenullable
emailEmail address.string, maxLength(255)
emailCCEmail address CC.string, maxLength(255)
emailBCCEmail address BCC.string, maxLength(255)
addressAddress.string, maxLength(200)
attentionCustomer name (for billing).string, maxLength(40)
phone1Phone number.string, maxLength(25)
fax1Fax number.string, maxLength(25)
deliverAddressDelivery address.string, maxLength(200)
deliverContactCustomer name (for delivery).string, maxLength(40)
deliverPhone1Delivery phone number.string, maxLength(25)
deliverFax1Delivery fax number.string, maxLength(25)
refDocument reference.string, maxLength(40)
descriptionInvoice document description.string, maxLength(80)
noteDocument notes. (HTML)string
remark1Document remarks.string, maxLength(40)
remark2Document remarks.string, maxLength(40)
remark3Document remarks.string, maxLength(40)
remark4Document remarks.string, maxLength(40)
salesAgentSales agent. Value must be an existing sales agent in Cloud Accounting web application.string
currencyRateRate of document currency against local currency.number
inclusiveTaxInclusive tax flag.boolean
isRoundAdjRounding adjustment flag. More information can be found here.boolean
paymentMethodPayment method. Value must be an existing payment method in Cloud Accounting web application.string
toBankRateConversion rate from document currency to payment method's bank account currency. More information can be found here.number
paymentAmtPayment amount.number
paymentRefPayment reference.string, maxLength(20)
info

The paymentMethod, paymentAmt and paymentRef fields are used for quick payment action.

When partial payments are made, the remaining amount will be forwarded and an outstanding transaction will be created.

Example scenario

A customer buys $200 worth of products which will be collected 10 days later. The customer pays $100 upfront and will pay $100 upon picking up the products.

In this case paymentMethod is "CASH" and paymentAmt is 100.

The remaining $100 will be forwarded and an outstanding transaction of $100 will be created.