Skip to navigation

Invoices (v2)

Deprecated
View as Markdown

Returns a list of all the invoices for the company and billing market combination, for the specified date range.

You can find the companyUid and supplierId from the following Megaport endpoints:

  • companyUid is returned in the GET Product List /v2/products endpoint or the GET API Keys /v2/auth/apikeys endpoint.
  • supplierId is the “firstPartyId” returned in the GET Billing Markets /v2/market endpoint for the relevant supplier.

Path parameters

companyUidstringRequired
supplierIdstringRequired

Query parameters

fromDatestringOptional

The start date for which to return all invoices for the company / billing market combination. Enter the date in the format: yyyy-mm-dd. (Optional)

toDatestringOptional

The end date for which to return all invoices for the company / billing market combination. Enter the date in the format: yyyy-mm-dd. (Optional)

Response

Invoices (v2) / Invoices (v2)

dataobjectOptional
messagestringOptional
termsstringOptional