Invoices (v2)
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/apikeys endpoint.supplierIdis the “firstPartyId” returned in the GET Billing Markets/v2/marketendpoint for the relevant supplier.
Path parameters
companyUid
supplierId
Query parameters
fromDate
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)
toDate
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)
data
message
terms