GET
/api/partner/v1/billing/invoicesList invoices
Your invoices for our fees.
Without ownerId: your integration's own invoices (the fees of every owner you pay for). With ownerId: the invoices of an owner who pays its own fees (409 when that owner is on your invoices). Charged automatically each billing period to the payment method on file, with a receipt by email; with none, the payer is emailed a bill. Newest first, up to 200.
Authorization
X-Api-Key headerSend your partner key on every request. An owner key acts for its one owner; an integration token also needs the owner's id in the X-Owner-Id header.
Query parameters
ownerIdstringqueryResponse
200 · application/jsonsuccessbooleanrequireddataBillingInvoice[]invoiceIdstring <uuid>periodFromUtcstring <date-time>periodToUtcstring <date-time>amountnumbercurrencystringstatusstringAllowed values:
OpenProcessingPaidFailedVoidautoDebitedbooleanCharged automatically to the payment method on file.
paidAtUtcstring <date-time>invoiceUrlstringStripe's hosted invoice page
failedReasonstringlineCountintegererrorstringnullableStatus codes
200The invoices.
401Missing, unknown or revoked API key.
404The resource does not exist under this owner.
409This owner's fees are on your integration's invoices.
412Your integration has no billing account yet; contact MyEZToll.
