GET All Sub-Invoices for a Sub-Account
- 03 Jun 2024
- 1 Minute to read
- Print
- PDF
GET All Sub-Invoices for a Sub-Account
- Updated on 03 Jun 2024
- 1 Minute to read
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Return all sub-invoices associated with a specific sub-account. (See Billing, regarding billing policies associated with the Wasabi Account Control API.)
URL (GET)
GET /v1/accounts/<AcctNum>/invoices
Sub-invoices across all sub-accounts are rolled up into a single invoice that is charged to the Control Account.
Sample
Request: GET /v1/accounts/7363/invoices
Response-JSON:
[
{
"SubInvoiceNum": 6596,
"InvoiceNum": 9189,
"AcctNum": 7363,
"ParentAcctNum": 7041,
"AcctPlanNum": 7977,
"CreateTime": "2019-12-15T05:46:26Z",
"PeriodStart": "2019-11-14T00:00:00Z",
"PeriodEnd": "2019-12-14T00:00:00Z",
"Total": 3.99,
"Currency": "usd",
"Status": "sub-invoice"
};
{
"SubInvoiceNum": 6596,
"InvoiceNum": 9190,
"AcctNum": 7363,
"ParentAcctNum": 7041,
"AcctPlanNum": 7977,
"CreateTime": "2019-12-15T06:46:26Z",
"PeriodStart": "2019-11-14T00:00:00Z",
"PeriodEnd": "2019-12-14T00:00:00Z",
"Total": 3.99,
"Currency": "usd",
"Status": "sub-invoice"
}
]