Skip to navigation

Invoices (v3)

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.

Note: A 401 error is returned if the user does not have Finance permissions in the specified company. For more information, see Managing User Roles.

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 (v3) / Invoices (v3)

dataobjectOptional
messagestringOptional
termsstringOptional