Invoices (v3)
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:
-
companyUidis returned in the GET Product List/v2/productsendpoint or the GET API Keys/v2/auth/apikeysendpoint. -
supplierIdis the “firstPartyId” returned in the GET Billing Markets/v2/marketendpoint 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
Query parameters
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)
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)