Generate pro-forma sales invoice from sub-order

POST /api-v1/sub-orders/{subOrderId}/generate-pro-forma

Headers

Path parameters

Query parameters

Responses

POST /api-v1/sub-orders/{subOrderId}/generate-pro-forma
curl \
 -X POST http://10.10.10.132/api-v1/sub-orders/{subOrderId}/generate-pro-forma?invoicingDate=string \
 -H "TARGET-ORGANIZATION-ID: 42" \
 -H "WEAL-TOKEN: string"
Response examples (200)
[
  {
    "bvrGenerationAvailability": true,
    "client": "string",
    "clientAdvancedInvoicingNote": "string",
    "clientBillingEmail": "string",
    "clientECorrespondence": true,
    "clientEmail": "string",
    "clientId": 42,
    "comments": "string",
    "creatorContactId": 42,
    "currency": "string",
    "date": "2024-05-04T09:42:00+00:00",
    "description": "string",
    "flagsAmount": 42,
    "hasComments": true,
    "hasWarnings": true,
    "id": 42,
    "inWorkflow": true,
    "isInWorkflow": true,
    "netAmount": 42.0,
    "number": "string",
    "organizationId": 42,
    "ourContactName": "string",
    "qrGenerationAvailability": true,
    "receivable": 42.0,
    "reference": "string",
    "referenceAndDescriptionJoined": "string",
    "status": "OPEN",
    "systemValidated": true,
    "totalAmount": 42.0,
    "validated": true,
    "warnings": "string",
    "workflowPermissions": "string"
  }
]