GET /v1/invoices/{invoiceId}
GET
/v1/invoices/{invoiceId}Authorization
x-api-keyAPI key · headerrequiredor
AuthorizationBearer token · headerrequiredPath parameters
invoiceIdstringrequiredmin length 1
Query parameters
environmentstringAllowed:
sandboxproductionmerchantAccountIdstringmin length 1
expandstringmin length 1
Responses
200
Success
dataobjectrequiredShow propertiesHide properties
invoiceobjectrequiredShow propertiesHide properties
invoiceIdstringrequiredmin length 1
customerIdstringrequiredmin length 1
billingAccountIdstringrequiredmin length 1
statusstringrequiredAllowed:
draftopenpaidpartially_paidpast_duevoiduncollectiblecurrencystringrequiredmin length 1
subtotalnumberrequireddiscountTotalnumberrequiredtaxTotalnumberrequiredtotalnumberrequiredamountPaidnumberrequiredamountRemainingnumberrequiredmetadataobjectrequiredsubscriptionIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullcreditNoteTotalnumber | nullShow propertiesHide properties
Any of:
number
numbernull
nullcustomerBalanceAppliedTotalnumber | nullShow propertiesHide properties
Any of:
number
numbernull
nullperiodStartAtstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullperiodEndAtstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullissuedAtstring | nullShow propertiesHide properties
Any of:
string
stringnull
nulldueAtstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullfinalizedAtstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullvoidedAtstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullcreatedAtstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullupdatedAtstring | nullShow propertiesHide properties
Any of:
string
stringnull
nulllinesobject[]requiredShow propertiesHide properties
Array of
objectinvoiceLineIdstringrequiredmin length 1
invoiceIdstringrequiredmin length 1
lineTypestringrequiredAllowed:
fixedusagecreditadjustmenttaxdescriptionstringrequiredmin length 1
quantitynumberrequiredunitAmountnumberrequiredsubtotalnumberrequiredpriceSnapshotobjectrequiredmetadataobjectrequiredsortOrdernumber | nullShow propertiesHide properties
Any of:
number
numbernull
nullpriceIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullmeterIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullperiodStartAtstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullperiodEndAtstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullcustomerDetailany | nullShow propertiesHide properties
Any of:
any
anynull
nullbillingAccountDetailany | nullShow propertiesHide properties
Any of:
any
anynull
nullrequestIdstringrequiredmin length 1