API Reference

Get invoice by id

Fetches invoice data by invoice id.

Here are the enums that are contained in the answer:

namevalue
statuspayment_due, paid
discounts[entityType]item_level_discount, document_level_discount
discounts[discountType]FixedAmount, Percentage
allocatedCredits[creditNoteStatus]refunded, refund_due
issuedCreditNotes[status]refunded, refund_due
issuedCreditNotes[reason]ProductUnsatisfactory, ServiceUnsatisfactory, OrderChange, Waiver, Other, subscription_change, subscription_cancellation
adjustmentCreditNotes[status]adjusted
adjustmentCreditNotes[reason]ProductUnsatisfactory, ServiceUnsatisfactory, OrderChange, Waiver, Other, subscription_change, subscription_cancellation
linkedPayments[transactionStatus]pending, completed, failed
lineItems[entityType]Plan, Addon, Charge
lineItemDiscounts[entityType]item_level_discount, document_level_discount

Error codes:

invoice_not_foundan invoice with the specified id does not exist
Language
Credentials
Basic
base64
: