Guides
Home

Invoices

A document recording the sale of one or more items such as goods and/or services to a customer.

1.1 An invoice contains the following key information related to the transaction:

  • Invoice date – The date the invoice was raised
  • Invoice due date – The invoice's due date
  • Amount – The total amount due for the goods sold or services rendered, along with taxes and discounts
  • Currency – The currency of the amount represented in the invoice
  • Invoice raised to – Details of the customer to whom the invoice was raised
  • Line items – A list of the goods sold or services rendered, along with the associated quantity, rate, and price that pertains to each one of them.

Data Model

Model

FieldsTypeDescription
idstringIdentifier of an invoice, unique for every customer in an accounting software.
refNumberstringFor invoice reference, this number is usually found as the name of invoice file attachments.
datestringDefines the date at which invoice got recorded in accounting software system.
dueDatestringThe date by which customer can make payment.
shipDatestringDate on which the goods/services are actually been shipped.
trackingNostringShipment Tracking Number of the invoice.
LineAmount typestringType of Line Amount.
descriptionstringMessage enclosed in the invoice.
statusnumberStatus of invoice as:The visible invoice status will be β€œactive” which is β€œ1”. In case invoice is invisible from the list, its status would be inactive, which will beβ€œ0”.
amountnumberTotal value of the invoice.
balancenumberThe remaining amount left to be paid from the total invoice amount.
totalTaxnumberTax amount on Invoice.
currencystringCurrency of invoice
typestringIt is categorized as invoice & bills. For billing, the type is mentioned as " billing". For invoicing, it is " invoicing".
lineItemslineitem[]Array of line items is mentioned below.
contactcontact[]Contact object is mentioned below.
accountaccount[]Object of account is mentioned below.
exchangeRatenumberThe rate for conversion of currency.