Skip to main content

Download Sale Order Invoice

Once a sale order is generated an invoice gets created.

Request

You can download the invoice PDF by making a GET request to sale-orders resource with the sale order id and the api key.

curl -i https://services.rxrise.com/api/v1/sale-orders/1/invoice?apiKey=YOUR_API_KEY

Response

The endpoint returns a PDF buffer file.

Error list

These are the errors returned by this endpoint:

CodeMessageReason
403ForbiddenYou Don't Have Permission
404Not FoundSale Order Not Found
500Internal Server ErrorService Not Available