GET invoices/:id

Get Sub-Account Invoice by Id

Returns the sub-account invoice record for a specified id.

URL (GET)

/api/v1/invoices/:id

Parameters

None.

Request Body

None

Response

{
    "success": true,
    "message": "Successfully read!",
    "data": {
                "id": 46111,
                "subInvoiceId": 1294418,
                "subAccountId": 1,
                "subAccountName": "Sub-Account Example",
                "subAccountEmail": "example@wasabi.com",
                "controlAccountId": 6196,
                "controlAccountName": "Control Account Example",
                "controlAccountEmail": "caexample@wasabi.com",
                "governanceAccountId": 26279,
                "governanceAccountName": "Governance Account Example",
                "controlInvoiceId": 1381734,
                "periodStart": "2022-03-09",
                "periodEnd": "2022-03-14",
                "totalStorage": 0.67,
                "activeStorage": 0.5283142,
                "activeStorageUnitCost": 0.00013,
                "activeStorageTotalCost": 0,
                "deletedStorage": 0,
                "deletedStorageUnitCost": 0.00013,
                "deletedStorageTotalCost": 0,
                "apiCalls": 0,
                "apiCallsUnitCost": 0,
                "apiCallsTotalCost": 0,
                "ingress": 0,
                "ingressUnitCost": 0,
                "ingressTotalCost": 0,
                "egress": 0,
                "egressUnitCost": 0.04,
                "egressTotalCost": 0,
                "minimumActiveStorage": 0.166667,
                "minimumActiveStorageUnitCost": 4.019992,
                "minimumActiveStorageTotalCost": 0.67,
                "wasabiAccountNumber": 200724
    }
 }