Hey! These docs are for version 1.0, which is no longer officially supported. Click here for the latest version, 2.0!

Retrieve all invoices based on customer id

GET https://api.upodi.io/v2/invoices?$expand=InvoiceLines&$filter=CustomerID eq guid'aaaef347-1f57-4b1c-9528-57763e307c63' HTTP/1.1
curl 
  -H "Content-Type: application/json" 
  -H "Authorization: Bearer <base64 key>" 
  https://api.upodi.io/v2/invoices?$expand=InvoiceLines&$filter=CustomerID eq guid'aaaef347-1f57-4b1c-9528-57763e307c63'