Get Invoices

Prev Next
Get
/v1/invoices

The “Get Invoices” method is used to read all Invoices of WACM. The purpose of “Get Invoices” is to allow the users to list all the Invoices of their accounts and filter them by using the supported query parameters.

Limitations include: A Sub-Account cannot read its own sub-invoices, only the parent account users have access to perform this action.

Security
HTTP
Type basic
Query parameters
page
integer
Example1235
size
integer
Example345
id
integer
Example34354
governanceAccountId
integer
Example3432
controlAccountId
integer
Example13338
subAccountId
integer
Example2343
controlInvoiceId
integer
Example2343
latest
boolean
Exampletrue
from
string (date)
Example2024-01-02
to
string (date)
Example2024-07-07
subInvoiceId
integer
Example3242354
wasabiAccountNumber
integer
Example435353
Responses
200

OK

string
Example{ "id": 123456, "subInvoiceId": 987654, "subAccountId": 3456, "subAccountName": "", "subAccountEmail": "", "channelAccountId": null, "channelAccountName": null, "channelAccountEmail": null, "controlAccountId": 6789, "controlAccountName": "", "controlAccountEmail": null, "governanceAccountId": null, "governanceAccountName": null, "controlInvoiceId": 23456, "periodStart": "2021-11-05", "periodEnd": "2021-12-02", "totalStorage": 5.39, "activeStorage": 0, "activeStorageUnitCost": 0, "activeStorageTotalCost": 0, "deletedStorage": 0, "deletedStorageUnitCost": 0, "deletedStorageTotalCost": 0, "apiCalls": 0, "apiCallsUnitCost": 0, "apiCallsTotalCost": 0, "ingress": 0, "ingressUnitCost": 0, "ingressTotalCost": 0, "egress": 0, "egressUnitCost": 0, "egressTotalCost": 0, "minimumActiveStorage": 0.9, "minimumActiveStorageUnitCost": 5.99, "minimumActiveStorageTotalCost": 5.39, "wasabiAccountNumber": 676040 }