Get an invoice with its line items attached, including expanded price and billable information.
You can obtain this key from the Atlas dashboard. It must be of type secret
The Atlas invoice ID associated with the invoice line item
1"atlas-internal-invoice-id-123"
The invoice with its line items that have been retrieved.
The Atlas invoice ID
1"atlas-internal-invoice-id-123"
The date and time the invoice was created
"2021-01-01T00:00:00.000Z"
The due date of the invoice
"2021-01-31T00:00:00.000Z"
The external ID of the invoice (e.g. the invoice ID in your payment gateway)
1"external-invoice-id-123"
The issue date of the invoice
"2021-01-01T00:00:00.000Z"
The pending date of the invoice
"2021-01-01T00:00:00.000Z"
The status of the invoice
test, draft, pending, readyToSync, syncing, readyToCollect, pendingPayment, readyToSend, sending, issued, paymentActionRequired, paymentFailed, paid, void, overdue, deletedFromPaymentGateway, uncollectible "issued"
The date and time the invoice was last updated
"2021-01-01T00:00:00.000Z"
The vanity ID of the invoice
123456
The vanity ID of the invoice as a string
"123456"
The Atlas customer ID
1"atlas-internal-customer-id-123"
The Atlas merchant ID
1"atlas-internal-merchant-id-123"
The Atlas subscription ID
1"atlas-internal-subscription-id-123"
Whether to automatically sync this invoice to the associated payment gateway
true
Whether to automatically send this invoice from the associated payment gateway to the customers email address
true
Whether to automatically charge this invoice to the associated payment gateway
false
The selected payment gateway for this invoice
Stripe, QuickBooks "Stripe"
The line items associated with the invoice