Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Payload to create invoice
"ACC001"
"2020-06-04T12:00:00.000Z"
"2020-07-04T12:00:00.000Z"
Status to create an invoice in.
DRAFT, DUE, PAID "DUE"
1 - 50 elementsACCOUNT, INVOICE_GROUP "1234567890"
This property defines the behaviour of status transition of the invoice.
If true, invoice auto transitions from DRAFT to DUE or PAID at the end of pricing cycle.
If false, the invoiceโs state doesnโt automatically advance without an explicit action.
Default: false
This property defines the behaviour of whether or not to use credits to net off with the invoice amount. Default: true
This property defines the behaviour of whether or not to use wallet amount to net off with the invoice amount. Default: true
Response
Response for Get invoice requests
Structure of invoice
Identifier of invoice
50Status of the invoice
DRAFT, DUE, PAID, VOID, UN_COLLECTIBLE, REFUND_INITIATED, REFUND_COMPLETED, MERGED, PARTIALLY_PAID Represents the class of entity( INVOICE/ORDER/BILLABLE)
INVOICE, ORDER, BILLABLE Represents the type of entity(STANDARD/AD_HOC/COMPOSITE)
STANDARD, AD_HOC, CUSTOM, COMPOSITE, STANDARD_ADVANCED, ADHOC_ADVANCED Invoice date of the invoice
"2020-07-04T12:00:00.000Z"
Number of days from the invoice date after which an invoice is considered overdue.
FINALIZING, FINALIZED true
Start date of the invoice
"2020-07-04T12:00:00.000Z"
End date of the invoice
"2020-07-04T12:00:00.000Z"
Inclusive end date of the invoice
"2020-07-03T11:59:59.999Z"
Due date of the invoice
"2020-07-04T12:00:00.000Z"
Sequence id of the invoice
Download URL of the pdf file corresponding to the invoice
