GET invoices
- 09 Sep 2024
- 1 Minute to read
- Print
- PDF
GET invoices
- Updated on 09 Sep 2024
- 1 Minute to read
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Get Sub-Account Invoices
Returns all the sub-account invoices associated with the Governance Account or Control Account.
URL (GET)
/api/v1/invoices
Parameters
Key Name | Description | Required |
---|---|---|
page | List page number | |
size | List page size | |
from (yyyy/mm/dd) | Date range from year, month, day | |
to (yyyy/mm/dd) | Date range to year, month, day | |
governanceAccountId | Filter by governance account Id | |
controlAccountId | Filter by control account Id | |
channelAccountId | Filter by channel account Id | |
subAccountId | Filter by sub Account Id | |
subInvoiceId | Filter by sub Invoice Id | |
periodEnd (yyyy/mm/dd) | ||
controlInvoiceId | Filter by control invoice Id | |
wasabiAccountNumber | Filter by account wasabi account number | |
id | Filter by account Id | |
latest (true) |
Request Body
None
Response
{
"success": true,
"message": "Successfully read!",
"data": {
"items": [
{
"id": 1,
"subInvoiceId": 6405,
"subAccountId": 1,
"subAccountName": "Sub-Account Example",
"subAccountEmail": "example@wasabi.com",
"controlAccountId": 3732,
"controlAccountName": "Control Account Example",
"controlAccountEmail": "caexample@wasabi.com",
"channelAccountId": 12345,
"governanceAccountId": 25843,
"governanceAccountName": "Governance Account Example",
"controlInvoiceId": 286946,
"periodStart": "2020-08-03",
"periodEnd": "2020-08-04",
"totalStorage": 0.2,
"activeStorage": 0,
"activeStorageUnitCost": 0.00019499,
"activeStorageTotalCost": 0,
"deletedStorage": 0,
"deletedStorageUnitCost": 0.00019499,
"deletedStorageTotalCost": 0,
"apiCalls": 0,
"apiCallsUnitCost": 0,
"apiCallsTotalCost": 0,
"ingress": 0,
"ingressUnitCost": 0,
"ingressTotalCost": 0,
"egress": 0,
"egressUnitCost": 0,
"egressTotalCost": 0,
"minimumActiveStorage": 0.0333333,
"minimumActiveStorageUnitCost": 5.99,
"minimumActiveStorageTotalCost": 0.2,
"wasabiAccountNumber": 182760
},
{
"id": 2,
"subInvoiceId": 7720,
"subAccountId": 1,
"subAccountName": "Sub-Account Example 2",
"subAccountEmail": "example2@wasabi.com",
"controlAccountId": 3732,
"controlAccountName": "Control Account Example",
"controlAccountEmail": "caexample@wasabi.com",
"channelAccountId": 12345,
"governanceAccountId": 25843,
"governanceAccountName": "Account Governance Example",
"controlInvoiceId": 332439,
"periodStart": "2020-08-04",
"periodEnd": "2020-09-03",
"totalStorage": 5.99,
"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.999985,
"minimumActiveStorageUnitCost": 5.99,
"minimumActiveStorageTotalCost": 5.99,
"wasabiAccountNumber": 182760
},