Invoice
Aggregate model for an invoice
Top-level invoice model
Hide child attributes
Hide child attributes
void, unpaid, overdue, paid_partially, paid, scheduled - InvoiceTransaction
- InvoiceTransaction
Hide child attributes
Hide child attributes
external Hide child attributes
Hide child attributes
Payment methods for invoice reconciliation (includes Slash-trackable methods plus external-only options like 'other')
Hide child attributes
Hide child attributes
- PaymentMethodAchDebit
- PaymentMethodCardPayment
- PaymentMethodCryptoDeposit
- PaymentMethodInboundAchTransfer
- PaymentMethodInboundInternationalWire
- PaymentMethodInboundRtp
- PaymentMethodInboundWireTransfer
Hide child attributes
Hide child attributes
IANA timezone identifier used for interpreting invoice dates
"America/New_York"
Hide child attributes
Hide child attributes
1Hide child attributes
Hide child attributes
Optional provenance stamp indicating this line item was populated from a catalog item. Cleared if the user manually edits the name or price after selection.
A user-defined invoice identifier. Allows uppercase letters (A-Z), numbers (0-9), dashes (-), and underscores (_).
1 - 50^[A-Z0-9-_]+$Hide child attributes
Hide child attributes
Hide child attributes
Hide child attributes
ISO 3166-1 Alpha-2 Country Code (e.g., US, FR, UK, DE, ...).
210x >= 11 - 500- Model
- Model
- SlashWalletAccount
Hide child attributes
Hide child attributes
Represent a Subaccount ID in the format of "subaccount_102jifoij01"
^subaccount_[a-z0-9]*default, primary {
"invoice": {
"id": "<string>",
"collectedAmountCents": 123,
"invoiceDetailsId": "<string>",
"accountId": "<string>",
"invoiceTransactions": [
{
"transactionType": "external",
"transaction": {
"paymentMethod": {
"method": "ach_debit",
"config": {
"passFeeToPayer": true
}
},
"paidAt": "<string>"
}
}
],
"legalEntityContactId": "<string>",
"legalEntityCustomerId": "<string>",
"invoicePaymentMethods": [
{
"method": "ach_debit",
"config": {
"passFeeToPayer": true
}
}
],
"closedAt": "2023-11-07T05:31:56Z",
"invoiceSeriesId": "<string>",
"scheduledSendDate": "2023-11-07T05:31:56Z"
},
"invoiceDetails": {
"id": "<string>",
"issuedAt": "2023-11-07T05:31:56Z",
"dueAt": "2023-11-07T05:31:56Z",
"invoiceTz": "America/New_York",
"currency": "<string>",
"lineItemsAndTotals": {
"lineItems": [
{
"name": "<string>",
"quantity": 123,
"priceCents": 123,
"catalogItemId": "<string>"
}
],
"subtotalCents": 123,
"totalAmountCents": 123,
"discount": {
"type": "percentage",
"percent": 123
},
"tax": {
"type": "percentage",
"percent": 123
}
},
"invoiceNumber": "<string>",
"documentId": "<string>",
"billedTo": {
"name": "<string>",
"email": "<string>",
"ccEmails": [
"<string>"
]
},
"version": 2,
"memo": "<string>"
},
"invoiceAccount": {
"id": "<string>",
"name": "<string>",
"slashAccountGroupId": "<string>",
"accountNumber": "<string>",
"routingNumber": "<string>",
"closedAt": "<string>"
}
}