get https://api.rainex.io/projects//invoices/
Fetches invoice data by invoice id.
Here are the enums that are contained in the answer:
name | value |
---|---|
status | payment_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_found | an invoice with the specified id does not exist |