GET All Sub-Invoices for a Sub-Account
    • 08 Mar 2024
    • PDF

    GET All Sub-Invoices for a Sub-Account

    • PDF

    Article Summary

    Return all sub-invoices associated with a specific sub-account. (See Billing, regarding billing policies associated with the Wasabi Account Control API.)

    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"
        }
    ]