Create a custom invoice for an account
Create a custom invoice for an account.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
Payload to create invoice
Status to create an invoice in.
DRAFT
, DUE
, PAID
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
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
ACCOUNT
, INVOICE_GROUP
Response
Structure of invoice
Identifier of invoice
50
Represents the class of entity( INVOICE/ORDER/BILLABLE)
INVOICE
, ORDER
, BILLABLE
Invoice date of the invoice
Represents the type of entity(STANDARD/AD_HOC/COMPOSITE)
STANDARD
, AD_HOC
, CUSTOM
, COMPOSITE
, STANDARD_ADVANCED
, ADHOC_ADVANCED
Number of days from the invoice date after which an invoice is considered overdue.
Status of the invoice
DRAFT
, DUE
, PAID
, VOID
, UN_COLLECTIBLE
, REFUND_INITIATED
, REFUND_COMPLETED
, MERGED
, PARTIALLY_PAID
Due date of the invoice
End date of the invoice
Inclusive end date of the invoice
FINALIZING
, FINALIZED
Download URL of the pdf file corresponding to the invoice
Sequence id of the invoice
Start date of the invoice