POST /api/sales/orders/{id}/invoices HTTP/1.1 Host: api.zydon.com.br Authorization: Bearer JWT Content-Type: multipart/form-data Accept: */* Content-Length: 31 { "xml": "binary", "pdf": "binary" }
Order invoice created successfully
{ "invoice_key": "text", "xml_resource_id": "123e4567-e89b-12d3-a456-426614174000", "danfe_resource_id": "123e4567-e89b-12d3-a456-426614174000" }