API DocumentationManufacturer document controller

Generate invoice document

GET
/api/manufacturer/v1/document/{orderId}/invoice-document

Generates a PDF document using an invoice template for the specified order

Authorization

Phasio API Bearer Token
AuthorizationBearer <token>

In: header

Path Parameters

orderId*integer

ID of the order

Query Parameters

templateId*integer

ID of the invoice template

Response Body

application/pdf

application/json

application/json

application/json

curl -X GET "https://example.com/api/manufacturer/v1/document/1/invoice-document?templateId=42"
Empty
{  "error": "ORDER_NOT_FOUND",  "message": "Order not found"}
{  "error": "ORDER_NOT_FOUND",  "message": "Order not found"}
{  "error": "ORDER_NOT_FOUND",  "message": "Order not found"}