Invoice API

Get detailed invoice information for orders placed with ABC Supply. Receive invoice history, invoice details, invoice PDFs, and invoice webhooks.

The Get Invoice PDF by Invoice ID endpoint returns invoice PDF for a specific ABC Supply order. The PDF is the standard invoice issued by ABC and includes details from the original order, the account associated with the invoice, order details and pricing, invoice amount, and the remittance details for the invoice.

INVOICE API

Get Invoice PDF

GET /invoice/v1/invoices/pdf/{invoiceId}

Get invoice PDF by invoice ID

Authorization

For Individual Businesses, use OAuth 2.0 server or user token with the invoice.read scope.

Not yet available for Third-Party Aggregator use.

Request

URI Parameters

The unique identifier {invoiceId} for a specific invoice.

Example Request

Get Invoice PDF by Invoice ID request.

GET /api/invoice/v1/invoices/pdf/2002668589-001 
HTTP/1.1
Host: partners.abcsupply.com
Authorization: Bearer <TOKEN>
Expand

Response

Example Response

Get Invoice PDF by Invoice ID response payload. The payload will return with content-type of application/pdf; charset=UTF-8

HTTP Status Codes

Code

Status

Description

200

OK

The request and response were successfully sent.

400

Bad Request

Confirm the request body and parameters are formatted correctly.

403

Forbidden

The user account does not have access to view data based on provided request parameters.

404

Not Found

The data requested was not found. Please verify the request parameters are correct.

502

Bad Gateway

The server was unable to complete the request due to upstream errors. Try again shortly.