Get Invoices

Prev Next
Get
/v1/invoices

Read invoices within the permissions of the user.

Security
HTTP
Type basic

HTTP Basic Authentication using your WACM username and API key.

For detailed authentication instructions, see the Authentication Guide.

Query parameters
page
integer

Page number

size
integer

Number of items per page

id
integer

Filter by Invoice ID

governanceAccountId
integer

Filter by Governance Account ID

controlAccountId
integer

Filter by Control Account ID

subAccountId
integer

Filter by Sub-Account ID

controlInvoiceId
integer

Filter by Control Invoice ID

latest
boolean

Retrieve only the latest invoice

from
string (date)

Start date (YYYY-MM-DD)

to
string (date)

End date (YYYY-MM-DD)

subInvoiceId
integer

Filter by Sub-Invoice ID

wasabiAccountNumber
integer

Filter by Wasabi account number

Responses
200

Successfully retrieved invoices

{
  "success": "True",
  "data": {
    "items": [
      {
        "id": "98765",
        "subAccountId": "54321",
        "subAccountName": "Sample Sub-Account",
        "wasabiAccountNumber": "100123456",
        "controlAccountId": "13337",
        "controlAccountName": "Sample Control Account",
        "governanceAccountId": "3214",
        "governanceAccountName": "Sample Governance",
        "invoiceDate": "2024-01-01",
        "dueDate": "2024-01-31",
        "totalAmount": "150.00",
        "storageCost": "100.00",
        "egressCost": "30.00",
        "apiCallsCost": "20.00",
        "currency": "USD",
        "status": "Paid"
      }
    ],
    "page": "1",
    "size": "20",
    "total": "1"
  }
}
Expand All
object
success
boolean
data
object
items
Array of object (InvoiceResponse)
object
id
integer
subAccountId
integer
subAccountName
string
wasabiAccountNumber
integer
controlAccountId
integer
controlAccountName
string
governanceAccountId
integer
governanceAccountName
string
invoiceDate
string (date)
dueDate
string (date)
totalAmount
number
storageCost
number
egressCost
number
apiCallsCost
number
currency
string
status
string
page
integer
size
integer
total
integer