Retrieve an invoice
/invoices/{invoice_id}Headers
AuthorizationstringRequiredPath parameters
invoice_idstringRequiredThe invoice's ID (inv_).
Returns
The invoice.
idstringresourcestringnumberstringThe number in the seller's invoice series.
statusstringAn order's invoice is issued paid. A renewal invoice is draft until issued, then open until paid. void for one replaced before it reached the customer.
orderstring or nullThe order it bills. null for a renewal invoice.
subscriptionstring or nullperiod_startstring or nullperiod_endstring or nullThe period runs up to this instant.
Show 22 more attributesShow fewer attributes
amount_dueintegerWhat's left to pay.
tax_window_ends_atstring or nullWith tax_figures: per_invoice, when the window for your figures closes.
sellerobjectShow 4 child attributesHide child attributes
namestringemailstring or nulladdressobject or nullShow 2 child attributesHide child attributes
Option 1objectShow 6 child attributesHide child attributes
line1stringline2string or nullcitystringstatestring or nullpostal_codestringcountrystringTwo-letter country code (ISO 3166-1 alpha-2).
Option 2nulltax_idsarray of objectsShow 2 child attributesHide child attributes
typestringvaluestringcustomerstringcustomer_reference_idstringbill_toobjectShow 4 child attributesHide child attributes
namestringemailstring or nulladdressobject or nullShow 2 child attributesHide child attributes
Option 1objectShow 6 child attributesHide child attributes
line1stringline2string or nullcitystringstatestring or nullpostal_codestringcountrystringTwo-letter country code (ISO 3166-1 alpha-2).
Option 2nulltax_idsarray of objectsShow 2 child attributesHide child attributes
typestringvaluestringcurrencystringThree-letter ISO currency code, in lowercase.
amount_subtotalintegeramount_shippingintegeramount_taxintegeramount_totalintegeramount_paidintegeramount_creditedintegerlinesarray of objectsShow 9 child attributesHide child attributes
idstringdescriptionstringpricestring or nullprice_versioninteger or nullquantityintegerunit_amountintegeramountintegeramount_taxintegerkindstringtaxobjectShow 5 child attributesHide child attributes
sourcestringmerchant for your own figures, pay_com for Pay.com's calculation (on your tax setup when you sell, and Pay.com's own when it sells), or none.
amountintegerbreakdownarray of objectsBy jurisdiction, in the shape tax quotes return.
merchant_amountinteger or nullWhen Pay.com sells and you sent your own figures with this order or invoice: what they came to. Kept beside Pay.com's figures and never charged. Otherwise null.
merchant_breakdownarray of objects or nullThe breakdown you sent, kept beside Pay.com's. Set with merchant_amount.
credit_notesarray of stringshosted_invoice_urlstring or nullnull until the invoice is rendered.
invoice_pdfstring or nullnull until the PDF is rendered.
issued_atstringsent_atstring or nullWhen Pay.com emailed it to the customer, or null if it hasn't.
createdstringtest_modebooleanErrors
401403404