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
ACCOUNT
, INVOICE_GROUP
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
Structure of invoice
Identifier of invoice
50
Status 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
Number of days from the invoice date after which an invoice is considered overdue.
FINALIZING
, FINALIZED
Start date of the invoice
End date of the invoice
Inclusive end date of the invoice
Due date of the invoice
Sequence id of the invoice
Download URL of the pdf file corresponding to the invoice