{
  "info": {
    "_postman_id": "b3c9f3f0-6f53-4c38-9a3e-0e1a2b3c4d5e",
    "name": "einvo API",
    "description": "UAE e-invoicing (Peppol PINT AE) API of einvo. Set the apiKey variable to an API key from the portal (Administration > API keys); use an ek_test_ sandbox key to try requests without sending anything. Guides: https://www.einvo.ae/developers/",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{apiKey}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.einvo.ae"
    },
    {
      "key": "apiKey",
      "value": "ek_test_replace_me"
    }
  ],
  "item": [
    {
      "name": "Invoicing",
      "item": [
        {
          "name": "Customers",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/customers",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "customers"
              ],
              "query": [],
              "variable": []
            },
            "description": "Customers"
          }
        },
        {
          "name": "Create customer",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/customers",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "customers"
              ],
              "query": [],
              "variable": []
            },
            "description": "Create customer",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"city\": \"\",\n  \"countryCode\": \"\",\n  \"defaultNote\": \"\",\n  \"email\": \"\",\n  \"emirate\": \"\",\n  \"endpointId\": \"\",\n  \"endpointScheme\": \"\",\n  \"legalIdAuthority\": \"\",\n  \"legalIdType\": \"\",\n  \"legalName\": \"\",\n  \"legalNameAr\": \"\",\n  \"passportCountry\": \"\",\n  \"paymentTermsDays\": 0,\n  \"peppolEnabled\": false,\n  \"priceListId\": \"00000000-0000-0000-0000-000000000000\",\n  \"street\": \"\",\n  \"taxId\": \"\",\n  \"taxIdScheme\": \"\",\n  \"tenantId\": \"00000000-0000-0000-0000-000000000000\",\n  \"tradeLicense\": \"\",\n  \"trn\": \"\",\n  \"vatGroupMember\": false,\n  \"whatsappNumber\": \"\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Update customer",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/customers/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "customers",
                ":id"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": ""
                }
              ]
            },
            "description": "Update customer",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"city\": \"\",\n  \"countryCode\": \"\",\n  \"defaultNote\": \"\",\n  \"email\": \"\",\n  \"emirate\": \"\",\n  \"endpointId\": \"\",\n  \"endpointScheme\": \"\",\n  \"legalIdAuthority\": \"\",\n  \"legalIdType\": \"\",\n  \"legalName\": \"\",\n  \"legalNameAr\": \"\",\n  \"passportCountry\": \"\",\n  \"paymentTermsDays\": 0,\n  \"peppolEnabled\": false,\n  \"priceListId\": \"00000000-0000-0000-0000-000000000000\",\n  \"street\": \"\",\n  \"taxId\": \"\",\n  \"taxIdScheme\": \"\",\n  \"tenantId\": \"00000000-0000-0000-0000-000000000000\",\n  \"tradeLicense\": \"\",\n  \"trn\": \"\",\n  \"vatGroupMember\": false,\n  \"whatsappNumber\": \"\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Statement of account of a customer (PDF, EN/AR)",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/customers/:id/statement?legalEntityId=&from=&to=",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "customers",
                ":id",
                "statement"
              ],
              "query": [
                {
                  "key": "legalEntityId",
                  "value": "",
                  "disabled": false,
                  "description": ""
                },
                {
                  "key": "from",
                  "value": "",
                  "disabled": false,
                  "description": ""
                },
                {
                  "key": "to",
                  "value": "",
                  "disabled": false,
                  "description": ""
                }
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": ""
                }
              ]
            },
            "description": "Statement of account of a customer (PDF, EN/AR)"
          }
        },
        {
          "name": "Email statement",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/customers/:id/statement/email?legalEntityId=&from=&to=",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "customers",
                ":id",
                "statement",
                "email"
              ],
              "query": [
                {
                  "key": "legalEntityId",
                  "value": "",
                  "disabled": false,
                  "description": ""
                },
                {
                  "key": "from",
                  "value": "",
                  "disabled": false,
                  "description": ""
                },
                {
                  "key": "to",
                  "value": "",
                  "disabled": false,
                  "description": ""
                }
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": ""
                }
              ]
            },
            "description": "Email statement",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"message\": \"\",\n  \"to\": \"\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Create invoice drafts from a CSV or Excel file (all or nothing)",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/import?legalEntityId=",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "import"
              ],
              "query": [
                {
                  "key": "legalEntityId",
                  "value": "",
                  "disabled": false,
                  "description": ""
                }
              ],
              "variable": []
            },
            "description": "Create invoice drafts from a CSV or Excel file (all or nothing)",
            "body": {
              "mode": "formdata",
              "formdata": [
                {
                  "key": "file",
                  "type": "file",
                  "src": ""
                }
              ]
            }
          }
        },
        {
          "name": "Invoices",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/invoices?",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "invoices"
              ],
              "query": [
                {
                  "key": "status",
                  "value": "",
                  "disabled": true,
                  "description": ""
                },
                {
                  "key": "page",
                  "value": "0",
                  "disabled": true,
                  "description": ""
                },
                {
                  "key": "size",
                  "value": "50",
                  "disabled": true,
                  "description": ""
                }
              ],
              "variable": []
            },
            "description": "Invoices"
          }
        },
        {
          "name": "Create an invoice draft",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/invoices?",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "invoices"
              ],
              "query": [
                {
                  "key": "kind",
                  "value": "INVOICE",
                  "disabled": true,
                  "description": ""
                }
              ],
              "variable": []
            },
            "description": "Create an invoice draft",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"advanceInvoiceIds\": [\n    \"00000000-0000-0000-0000-000000000000\"\n  ],\n  \"beneficiaryId\": \"\",\n  \"buyerReference\": \"\",\n  \"creditReasonCode\": \"\",\n  \"currency\": \"\",\n  \"customerId\": \"00000000-0000-0000-0000-000000000000\",\n  \"deliveryCity\": \"\",\n  \"deliveryCountry\": \"\",\n  \"deliveryStreet\": \"\",\n  \"deliverySubdivision\": \"\",\n  \"dueDate\": \"2026-11-19\",\n  \"exchangeRate\": 0,\n  \"incoterms\": \"\",\n  \"issueDate\": \"2026-11-19\",\n  \"legalEntityId\": \"00000000-0000-0000-0000-000000000000\",\n  \"lines\": [\n    {}\n  ],\n  \"note\": \"\",\n  \"paymentMeansCode\": \"\",\n  \"periodEnd\": \"2026-11-19\",\n  \"periodStart\": \"2026-11-19\",\n  \"principalId\": \"\",\n  \"transactionFlags\": \"\",\n  \"validUntil\": \"2026-11-19\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Issued invoices of a customer, to reference as advance payments in a final invoice",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/invoices/advance-candidates?customerId=",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "invoices",
                "advance-candidates"
              ],
              "query": [
                {
                  "key": "customerId",
                  "value": "",
                  "disabled": false,
                  "description": ""
                }
              ],
              "variable": []
            },
            "description": "Issued invoices of a customer, to reference as advance payments in a final invoice"
          }
        },
        {
          "name": "Invoice",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/invoices/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "invoices",
                ":id"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": ""
                }
              ]
            },
            "description": "Invoice"
          }
        },
        {
          "name": "Update invoice",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/invoices/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "invoices",
                ":id"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": ""
                }
              ]
            },
            "description": "Update invoice",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"advanceInvoiceIds\": [\n    \"00000000-0000-0000-0000-000000000000\"\n  ],\n  \"beneficiaryId\": \"\",\n  \"buyerReference\": \"\",\n  \"creditReasonCode\": \"\",\n  \"currency\": \"\",\n  \"customerId\": \"00000000-0000-0000-0000-000000000000\",\n  \"deliveryCity\": \"\",\n  \"deliveryCountry\": \"\",\n  \"deliveryStreet\": \"\",\n  \"deliverySubdivision\": \"\",\n  \"dueDate\": \"2026-11-19\",\n  \"exchangeRate\": 0,\n  \"incoterms\": \"\",\n  \"issueDate\": \"2026-11-19\",\n  \"legalEntityId\": \"00000000-0000-0000-0000-000000000000\",\n  \"lines\": [\n    {}\n  ],\n  \"note\": \"\",\n  \"paymentMeansCode\": \"\",\n  \"periodEnd\": \"2026-11-19\",\n  \"periodStart\": \"2026-11-19\",\n  \"principalId\": \"\",\n  \"transactionFlags\": \"\",\n  \"validUntil\": \"2026-11-19\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Delete invoice",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/invoices/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "invoices",
                ":id"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": ""
                }
              ]
            },
            "description": "Delete invoice"
          }
        },
        {
          "name": "Create a credit-note draft for an issued invoice",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/invoices/:id/credit-note",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "invoices",
                ":id",
                "credit-note"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": ""
                }
              ]
            },
            "description": "Create a credit-note draft for an issued invoice",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"reasonCode\": \"\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "E-mail an issued invoice (PDF + UBL attached) to the customer or another address",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/invoices/:id/email",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "invoices",
                ":id",
                "email"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": ""
                }
              ]
            },
            "description": "E-mail an issued invoice (PDF + UBL attached) to the customer or another address",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"cc\": [\n    \"\"\n  ],\n  \"message\": \"\",\n  \"to\": \"\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "E-mails sent for an invoice",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/invoices/:id/emails",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "invoices",
                ":id",
                "emails"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": ""
                }
              ]
            },
            "description": "E-mails sent for an invoice"
          }
        },
        {
          "name": "Issue a draft: number, PINT AE UBL, validation, Peppol delivery and FTA reporting",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/invoices/:id/issue?",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "invoices",
                ":id",
                "issue"
              ],
              "query": [
                {
                  "key": "sendEmail",
                  "value": "",
                  "disabled": true,
                  "description": ""
                }
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": ""
                }
              ]
            },
            "description": "Issue a draft: number, PINT AE UBL, validation, Peppol delivery and FTA reporting\n\nReturns the issued invoice. With a sandbox API key nothing is issued: the response is a SandboxIssue (provisional number, sandbox document id, validation findings) and the draft stays a draft."
          }
        },
        {
          "name": "Payments",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/invoices/:id/payments",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "invoices",
                ":id",
                "payments"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": ""
                }
              ]
            },
            "description": "Payments"
          }
        },
        {
          "name": "Record a (partial) payment received for an issued invoice",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/invoices/:id/payments",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "invoices",
                ":id",
                "payments"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": ""
                }
              ]
            },
            "description": "Record a (partial) payment received for an issued invoice",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"accountId\": \"00000000-0000-0000-0000-000000000000\",\n  \"amount\": 0,\n  \"method\": \"\",\n  \"note\": \"\",\n  \"paidOn\": \"2026-11-19\",\n  \"reference\": \"\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Bilingual PDF (issued: from the sent UBL; draft: preview with DRAFT watermark)",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/invoices/:id/pdf",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "invoices",
                ":id",
                "pdf"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": ""
                }
              ]
            },
            "description": "Bilingual PDF (issued: from the sent UBL; draft: preview with DRAFT watermark)"
          }
        },
        {
          "name": "E-mail a payment reminder now",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/invoices/:id/remind",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "invoices",
                ":id",
                "remind"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": ""
                }
              ]
            },
            "description": "E-mail a payment reminder now",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"message\": \"\",\n  \"to\": \"\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Reminders",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/invoices/:id/reminders",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "invoices",
                ":id",
                "reminders"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": ""
                }
              ]
            },
            "description": "Reminders"
          }
        },
        {
          "name": "Release a contract retention: new draft invoice for the amount released",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/invoices/:id/retention-release",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "invoices",
                ":id",
                "retention-release"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": ""
                }
              ]
            },
            "description": "Release a contract retention: new draft invoice for the amount released",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"amount\": 0,\n  \"description\": \"\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Delete payment",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/payments/:paymentId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "payments",
                ":paymentId"
              ],
              "query": [],
              "variable": [
                {
                  "key": "paymentId",
                  "value": "",
                  "description": ""
                }
              ]
            },
            "description": "Delete payment"
          }
        },
        {
          "name": "Compute totals of draft lines (same rounding as issuing)",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/preview",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "preview"
              ],
              "query": [],
              "variable": []
            },
            "description": "Compute totals of draft lines (same rounding as issuing)",
            "body": {
              "mode": "raw",
              "raw": "[\n  {\n    \"description\": \"\",\n    \"discount\": 0,\n    \"exemptionCode\": \"\",\n    \"exemptionText\": \"\",\n    \"gtin\": \"\",\n    \"hsCode\": \"\",\n    \"itemType\": \"\",\n    \"lotId\": \"00000000-0000-0000-0000-000000000000\",\n    \"name\": \"\",\n    \"natureCode\": \"\",\n    \"productId\": \"00000000-0000-0000-0000-000000000000\",\n    \"quantity\": 0,\n    \"taxCategory\": \"\",\n    \"taxRate\": 0,\n    \"unitCode\": \"\",\n    \"unitPrice\": 0,\n    \"warehouseId\": \"00000000-0000-0000-0000-000000000000\"\n  }\n]",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Products",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/products",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "products"
              ],
              "query": [],
              "variable": []
            },
            "description": "Products"
          }
        },
        {
          "name": "Create product",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/products",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "products"
              ],
              "query": [],
              "variable": []
            },
            "description": "Create product",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"active\": false,\n  \"code\": \"\",\n  \"costPrice\": 0,\n  \"description\": \"\",\n  \"exemptionCode\": \"\",\n  \"gtin\": \"\",\n  \"hsCode\": \"\",\n  \"itemType\": \"\",\n  \"minStock\": 0,\n  \"name\": \"\",\n  \"nameAr\": \"\",\n  \"natureCode\": \"\",\n  \"taxCategory\": \"\",\n  \"taxRate\": 0,\n  \"tenantId\": \"00000000-0000-0000-0000-000000000000\",\n  \"trackLots\": false,\n  \"trackStock\": false,\n  \"unitCode\": \"\",\n  \"unitPrice\": 0\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Update product",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/products/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "products",
                ":id"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": ""
                }
              ]
            },
            "description": "Update product",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"active\": false,\n  \"code\": \"\",\n  \"costPrice\": 0,\n  \"description\": \"\",\n  \"exemptionCode\": \"\",\n  \"gtin\": \"\",\n  \"hsCode\": \"\",\n  \"itemType\": \"\",\n  \"minStock\": 0,\n  \"name\": \"\",\n  \"nameAr\": \"\",\n  \"natureCode\": \"\",\n  \"taxCategory\": \"\",\n  \"taxRate\": 0,\n  \"tenantId\": \"00000000-0000-0000-0000-000000000000\",\n  \"trackLots\": false,\n  \"trackStock\": false,\n  \"unitCode\": \"\",\n  \"unitPrice\": 0\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Quotes",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/quotes?",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "quotes"
              ],
              "query": [
                {
                  "key": "page",
                  "value": "0",
                  "disabled": true,
                  "description": ""
                },
                {
                  "key": "size",
                  "value": "50",
                  "disabled": true,
                  "description": ""
                }
              ],
              "variable": []
            },
            "description": "Quotes"
          }
        },
        {
          "name": "Create a quotation draft",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/quotes",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "quotes"
              ],
              "query": [],
              "variable": []
            },
            "description": "Create a quotation draft",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"advanceInvoiceIds\": [\n    \"00000000-0000-0000-0000-000000000000\"\n  ],\n  \"beneficiaryId\": \"\",\n  \"buyerReference\": \"\",\n  \"creditReasonCode\": \"\",\n  \"currency\": \"\",\n  \"customerId\": \"00000000-0000-0000-0000-000000000000\",\n  \"deliveryCity\": \"\",\n  \"deliveryCountry\": \"\",\n  \"deliveryStreet\": \"\",\n  \"deliverySubdivision\": \"\",\n  \"dueDate\": \"2026-11-19\",\n  \"exchangeRate\": 0,\n  \"incoterms\": \"\",\n  \"issueDate\": \"2026-11-19\",\n  \"legalEntityId\": \"00000000-0000-0000-0000-000000000000\",\n  \"lines\": [\n    {}\n  ],\n  \"note\": \"\",\n  \"paymentMeansCode\": \"\",\n  \"periodEnd\": \"2026-11-19\",\n  \"periodStart\": \"2026-11-19\",\n  \"principalId\": \"\",\n  \"transactionFlags\": \"\",\n  \"validUntil\": \"2026-11-19\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Accept",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/quotes/:id/accept",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "quotes",
                ":id",
                "accept"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": ""
                }
              ]
            },
            "description": "Accept"
          }
        },
        {
          "name": "Create an invoice draft from the quote",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/quotes/:id/convert",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "quotes",
                ":id",
                "convert"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": ""
                }
              ]
            },
            "description": "Create an invoice draft from the quote"
          }
        },
        {
          "name": "Decline",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/quotes/:id/decline",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "quotes",
                ":id",
                "decline"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": ""
                }
              ]
            },
            "description": "Decline"
          }
        },
        {
          "name": "Number the quote and mark it sent; optionally e-mail the PDF",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/quotes/:id/send?",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "quotes",
                ":id",
                "send"
              ],
              "query": [
                {
                  "key": "email",
                  "value": "true",
                  "disabled": true,
                  "description": ""
                }
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": ""
                }
              ]
            },
            "description": "Number the quote and mark it sent; optionally e-mail the PDF",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"message\": \"\",\n  \"to\": \"\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Recurring",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/recurring",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "recurring"
              ],
              "query": [],
              "variable": []
            },
            "description": "Recurring"
          }
        },
        {
          "name": "Create recurring",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/recurring",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "recurring"
              ],
              "query": [],
              "variable": []
            },
            "description": "Create recurring",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"active\": false,\n  \"autoEmail\": false,\n  \"autoIssue\": false,\n  \"endDate\": \"2026-11-19\",\n  \"frequency\": \"\",\n  \"intervalCount\": 0,\n  \"nextRun\": \"2026-11-19\",\n  \"templateInvoiceId\": \"00000000-0000-0000-0000-000000000000\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Update recurring",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/recurring/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "recurring",
                ":id"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": ""
                }
              ]
            },
            "description": "Update recurring",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"active\": false,\n  \"autoEmail\": false,\n  \"autoIssue\": false,\n  \"endDate\": \"2026-11-19\",\n  \"frequency\": \"\",\n  \"intervalCount\": 0,\n  \"nextRun\": \"2026-11-19\",\n  \"templateInvoiceId\": \"00000000-0000-0000-0000-000000000000\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Delete recurring",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/recurring/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "recurring",
                ":id"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": ""
                }
              ]
            },
            "description": "Delete recurring"
          }
        },
        {
          "name": "Export",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/reports/export.xlsx?from=&to=",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "reports",
                "export.xlsx"
              ],
              "query": [
                {
                  "key": "from",
                  "value": "",
                  "disabled": false,
                  "description": ""
                },
                {
                  "key": "to",
                  "value": "",
                  "disabled": false,
                  "description": ""
                }
              ],
              "variable": []
            },
            "description": "Export"
          }
        },
        {
          "name": "Summary",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/reports/summary?from=&to=",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "reports",
                "summary"
              ],
              "query": [
                {
                  "key": "from",
                  "value": "",
                  "disabled": false,
                  "description": ""
                },
                {
                  "key": "to",
                  "value": "",
                  "disabled": false,
                  "description": ""
                }
              ],
              "variable": []
            },
            "description": "Summary"
          }
        },
        {
          "name": "Vat",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/reports/vat?from=&to=",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "reports",
                "vat"
              ],
              "query": [
                {
                  "key": "from",
                  "value": "",
                  "disabled": false,
                  "description": ""
                },
                {
                  "key": "to",
                  "value": "",
                  "disabled": false,
                  "description": ""
                }
              ],
              "variable": []
            },
            "description": "Vat"
          }
        },
        {
          "name": "VAT return (VAT 201) of a company for a tax period: every box, with the documents behind it",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/reports/vat201?legalEntityId=&from=&to=",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "reports",
                "vat201"
              ],
              "query": [
                {
                  "key": "legalEntityId",
                  "value": "",
                  "disabled": false,
                  "description": ""
                },
                {
                  "key": "from",
                  "value": "",
                  "disabled": false,
                  "description": ""
                },
                {
                  "key": "to",
                  "value": "",
                  "disabled": false,
                  "description": ""
                }
              ],
              "variable": []
            },
            "description": "VAT return (VAT 201) of a company for a tax period: every box, with the documents behind it"
          }
        },
        {
          "name": "Companies a VAT return can be prepared for",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/reports/vat201/companies",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "reports",
                "vat201",
                "companies"
              ],
              "query": [],
              "variable": []
            },
            "description": "Companies a VAT return can be prepared for"
          }
        },
        {
          "name": "Pdf",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/reports/vat201/export.pdf?legalEntityId=&from=&to=",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "reports",
                "vat201",
                "export.pdf"
              ],
              "query": [
                {
                  "key": "legalEntityId",
                  "value": "",
                  "disabled": false,
                  "description": ""
                },
                {
                  "key": "from",
                  "value": "",
                  "disabled": false,
                  "description": ""
                },
                {
                  "key": "to",
                  "value": "",
                  "disabled": false,
                  "description": ""
                }
              ],
              "variable": []
            },
            "description": "Pdf"
          }
        },
        {
          "name": "Xlsx",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/reports/vat201/export.xlsx?legalEntityId=&from=&to=",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "reports",
                "vat201",
                "export.xlsx"
              ],
              "query": [
                {
                  "key": "legalEntityId",
                  "value": "",
                  "disabled": false,
                  "description": ""
                },
                {
                  "key": "from",
                  "value": "",
                  "disabled": false,
                  "description": ""
                },
                {
                  "key": "to",
                  "value": "",
                  "disabled": false,
                  "description": ""
                }
              ],
              "variable": []
            },
            "description": "Xlsx"
          }
        },
        {
          "name": "Record that the return was filed on EmaraTax (date and FTA reference) and freeze it",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/reports/vat201/file?legalEntityId=&from=&to=",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "reports",
                "vat201",
                "file"
              ],
              "query": [
                {
                  "key": "legalEntityId",
                  "value": "",
                  "disabled": false,
                  "description": ""
                },
                {
                  "key": "from",
                  "value": "",
                  "disabled": false,
                  "description": ""
                },
                {
                  "key": "to",
                  "value": "",
                  "disabled": false,
                  "description": ""
                }
              ],
              "variable": []
            },
            "description": "Record that the return was filed on EmaraTax (date and FTA reference) and freeze it",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"filedDate\": \"2026-11-19\",\n  \"ftaReference\": \"\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Saved VAT returns of a company",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/reports/vat201/history?legalEntityId=",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "reports",
                "vat201",
                "history"
              ],
              "query": [
                {
                  "key": "legalEntityId",
                  "value": "",
                  "disabled": false,
                  "description": ""
                }
              ],
              "variable": []
            },
            "description": "Saved VAT returns of a company"
          }
        },
        {
          "name": "Save the boxes einvo cannot know (tourist refunds, imports, documents outside einvo)",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/reports/vat201/manual?legalEntityId=&from=&to=",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "reports",
                "vat201",
                "manual"
              ],
              "query": [
                {
                  "key": "legalEntityId",
                  "value": "",
                  "disabled": false,
                  "description": ""
                },
                {
                  "key": "from",
                  "value": "",
                  "disabled": false,
                  "description": ""
                },
                {
                  "key": "to",
                  "value": "",
                  "disabled": false,
                  "description": ""
                }
              ],
              "variable": []
            },
            "description": "Save the boxes einvo cannot know (tourist refunds, imports, documents outside einvo)",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"box10Amount\": 0,\n  \"box10Vat\": 0,\n  \"box2Amount\": 0,\n  \"box2Vat\": 0,\n  \"box3Amount\": 0,\n  \"box3Vat\": 0,\n  \"box6Amount\": 0,\n  \"box6Vat\": 0,\n  \"box7Amount\": 0,\n  \"box7Vat\": 0,\n  \"box9Amount\": 0,\n  \"box9Vat\": 0,\n  \"notes\": \"\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Reopen a filed return (back to draft)",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/reports/vat201/reopen?legalEntityId=&from=&to=",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "reports",
                "vat201",
                "reopen"
              ],
              "query": [
                {
                  "key": "legalEntityId",
                  "value": "",
                  "disabled": false,
                  "description": ""
                },
                {
                  "key": "from",
                  "value": "",
                  "disabled": false,
                  "description": ""
                },
                {
                  "key": "to",
                  "value": "",
                  "disabled": false,
                  "description": ""
                }
              ],
              "variable": []
            },
            "description": "Reopen a filed return (back to draft)"
          }
        },
        {
          "name": "Sellers",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/sellers",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "sellers"
              ],
              "query": [],
              "variable": []
            },
            "description": "Sellers"
          }
        }
      ]
    },
    {
      "name": "Price lists",
      "item": [
        {
          "name": "Customer prices",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/customers/:id/prices",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "customers",
                ":id",
                "prices"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": ""
                }
              ]
            },
            "description": "Customer prices"
          }
        },
        {
          "name": "Save customer prices",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/customers/:id/prices",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "customers",
                ":id",
                "prices"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": ""
                }
              ]
            },
            "description": "Save customer prices",
            "body": {
              "mode": "raw",
              "raw": "[\n  {\n    \"minQuantity\": 0,\n    \"productId\": \"00000000-0000-0000-0000-000000000000\",\n    \"unitPrice\": 0,\n    \"validFrom\": \"2026-11-19\",\n    \"validTo\": \"2026-11-19\"\n  }\n]",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Lists",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/price-lists",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "price-lists"
              ],
              "query": [],
              "variable": []
            },
            "description": "Lists"
          }
        },
        {
          "name": "Create",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/price-lists",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "price-lists"
              ],
              "query": [],
              "variable": []
            },
            "description": "Create",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"active\": false,\n  \"discountPercent\": 0,\n  \"items\": [\n    {}\n  ],\n  \"name\": \"\",\n  \"tenantId\": \"00000000-0000-0000-0000-000000000000\",\n  \"validFrom\": \"2026-11-19\",\n  \"validTo\": \"2026-11-19\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Update",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/price-lists/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "price-lists",
                ":id"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": ""
                }
              ]
            },
            "description": "Update",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"active\": false,\n  \"discountPercent\": 0,\n  \"items\": [\n    {}\n  ],\n  \"name\": \"\",\n  \"tenantId\": \"00000000-0000-0000-0000-000000000000\",\n  \"validFrom\": \"2026-11-19\",\n  \"validTo\": \"2026-11-19\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Delete",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/price-lists/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "price-lists",
                ":id"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": ""
                }
              ]
            },
            "description": "Delete"
          }
        },
        {
          "name": "Resolve",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/prices/resolve?productId=",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "prices",
                "resolve"
              ],
              "query": [
                {
                  "key": "customerId",
                  "value": "",
                  "disabled": true,
                  "description": ""
                },
                {
                  "key": "productId",
                  "value": "",
                  "disabled": false,
                  "description": ""
                },
                {
                  "key": "quantity",
                  "value": "",
                  "disabled": true,
                  "description": ""
                }
              ],
              "variable": []
            },
            "description": "Resolve"
          }
        }
      ]
    },
    {
      "name": "Purchase orders",
      "item": [
        {
          "name": "Mark supplier",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/customers/:id/supplier",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "customers",
                ":id",
                "supplier"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": ""
                }
              ]
            },
            "description": "Mark supplier",
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "List",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/purchase-orders?",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "purchase-orders"
              ],
              "query": [
                {
                  "key": "status",
                  "value": "",
                  "disabled": true,
                  "description": ""
                },
                {
                  "key": "page",
                  "value": "0",
                  "disabled": true,
                  "description": ""
                },
                {
                  "key": "size",
                  "value": "50",
                  "disabled": true,
                  "description": ""
                }
              ],
              "variable": []
            },
            "description": "List"
          }
        },
        {
          "name": "Create",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/purchase-orders",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "purchase-orders"
              ],
              "query": [],
              "variable": []
            },
            "description": "Create",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"currency\": \"\",\n  \"deliveryAddress\": \"\",\n  \"expectedDate\": \"2026-11-19\",\n  \"legalEntityId\": \"00000000-0000-0000-0000-000000000000\",\n  \"lines\": [\n    {}\n  ],\n  \"note\": \"\",\n  \"orderDate\": \"2026-11-19\",\n  \"supplierId\": \"00000000-0000-0000-0000-000000000000\",\n  \"supplierReference\": \"\",\n  \"warehouseId\": \"00000000-0000-0000-0000-000000000000\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Get",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/purchase-orders/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "purchase-orders",
                ":id"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": ""
                }
              ]
            },
            "description": "Get"
          }
        },
        {
          "name": "Update",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/purchase-orders/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "purchase-orders",
                ":id"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": ""
                }
              ]
            },
            "description": "Update",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"currency\": \"\",\n  \"deliveryAddress\": \"\",\n  \"expectedDate\": \"2026-11-19\",\n  \"legalEntityId\": \"00000000-0000-0000-0000-000000000000\",\n  \"lines\": [\n    {}\n  ],\n  \"note\": \"\",\n  \"orderDate\": \"2026-11-19\",\n  \"supplierId\": \"00000000-0000-0000-0000-000000000000\",\n  \"supplierReference\": \"\",\n  \"warehouseId\": \"00000000-0000-0000-0000-000000000000\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Delete",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/purchase-orders/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "purchase-orders",
                ":id"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": ""
                }
              ]
            },
            "description": "Delete"
          }
        },
        {
          "name": "Cancel",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/purchase-orders/:id/cancel",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "purchase-orders",
                ":id",
                "cancel"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": ""
                }
              ]
            },
            "description": "Cancel"
          }
        },
        {
          "name": "Candidates",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/purchase-orders/:id/candidates",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "purchase-orders",
                ":id",
                "candidates"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": ""
                }
              ]
            },
            "description": "Candidates"
          }
        },
        {
          "name": "Close",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/purchase-orders/:id/close",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "purchase-orders",
                ":id",
                "close"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": ""
                }
              ]
            },
            "description": "Close"
          }
        },
        {
          "name": "Match",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/purchase-orders/:id/invoices/:documentId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "purchase-orders",
                ":id",
                "invoices",
                ":documentId"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": ""
                },
                {
                  "key": "documentId",
                  "value": "",
                  "description": ""
                }
              ]
            },
            "description": "Match"
          }
        },
        {
          "name": "Unmatch",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/purchase-orders/:id/invoices/:documentId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "purchase-orders",
                ":id",
                "invoices",
                ":documentId"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": ""
                },
                {
                  "key": "documentId",
                  "value": "",
                  "description": ""
                }
              ]
            },
            "description": "Unmatch"
          }
        },
        {
          "name": "Pdf",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/purchase-orders/:id/pdf",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "purchase-orders",
                ":id",
                "pdf"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": ""
                }
              ]
            },
            "description": "Pdf"
          }
        },
        {
          "name": "Send",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/purchase-orders/:id/send",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "purchase-orders",
                ":id",
                "send"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": ""
                }
              ]
            },
            "description": "Send",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"email\": false,\n  \"message\": \"\",\n  \"to\": \"\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Suppliers",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/suppliers",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "suppliers"
              ],
              "query": [],
              "variable": []
            },
            "description": "Suppliers"
          }
        }
      ]
    },
    {
      "name": "Delivery notes",
      "item": [
        {
          "name": "List",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/delivery-notes?",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "delivery-notes"
              ],
              "query": [
                {
                  "key": "status",
                  "value": "",
                  "disabled": true,
                  "description": ""
                },
                {
                  "key": "page",
                  "value": "0",
                  "disabled": true,
                  "description": ""
                },
                {
                  "key": "size",
                  "value": "50",
                  "disabled": true,
                  "description": ""
                }
              ],
              "variable": []
            },
            "description": "List"
          }
        },
        {
          "name": "Create",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/delivery-notes",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "delivery-notes"
              ],
              "query": [],
              "variable": []
            },
            "description": "Create",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"carrier\": \"\",\n  \"customerId\": \"00000000-0000-0000-0000-000000000000\",\n  \"customerReference\": \"\",\n  \"deliveryAddress\": \"\",\n  \"deliveryDate\": \"2026-11-19\",\n  \"legalEntityId\": \"00000000-0000-0000-0000-000000000000\",\n  \"lines\": [\n    {}\n  ],\n  \"moveStock\": false,\n  \"note\": \"\",\n  \"warehouseId\": \"00000000-0000-0000-0000-000000000000\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "From",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/delivery-notes/from/:documentId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "delivery-notes",
                "from",
                ":documentId"
              ],
              "query": [],
              "variable": [
                {
                  "key": "documentId",
                  "value": "",
                  "description": ""
                }
              ]
            },
            "description": "From"
          }
        },
        {
          "name": "Get",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/delivery-notes/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "delivery-notes",
                ":id"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": ""
                }
              ]
            },
            "description": "Get"
          }
        },
        {
          "name": "Update",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/delivery-notes/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "delivery-notes",
                ":id"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": ""
                }
              ]
            },
            "description": "Update",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"carrier\": \"\",\n  \"customerId\": \"00000000-0000-0000-0000-000000000000\",\n  \"customerReference\": \"\",\n  \"deliveryAddress\": \"\",\n  \"deliveryDate\": \"2026-11-19\",\n  \"legalEntityId\": \"00000000-0000-0000-0000-000000000000\",\n  \"lines\": [\n    {}\n  ],\n  \"moveStock\": false,\n  \"note\": \"\",\n  \"warehouseId\": \"00000000-0000-0000-0000-000000000000\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Delete",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/delivery-notes/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "delivery-notes",
                ":id"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": ""
                }
              ]
            },
            "description": "Delete"
          }
        },
        {
          "name": "Cancel",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/delivery-notes/:id/cancel",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "delivery-notes",
                ":id",
                "cancel"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": ""
                }
              ]
            },
            "description": "Cancel"
          }
        },
        {
          "name": "Delivered",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/delivery-notes/:id/delivered",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "delivery-notes",
                ":id",
                "delivered"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": ""
                }
              ]
            },
            "description": "Delivered",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"deliveredOn\": \"2026-11-19\",\n  \"receivedBy\": \"\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Create invoice",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/delivery-notes/:id/invoice",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "delivery-notes",
                ":id",
                "invoice"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": ""
                }
              ]
            },
            "description": "Create invoice"
          }
        },
        {
          "name": "Link",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/delivery-notes/:id/invoice",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "delivery-notes",
                ":id",
                "invoice"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": ""
                }
              ]
            },
            "description": "Link",
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Issue",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/delivery-notes/:id/issue",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "delivery-notes",
                ":id",
                "issue"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": ""
                }
              ]
            },
            "description": "Issue"
          }
        },
        {
          "name": "Pdf",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/delivery-notes/:id/pdf",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "delivery-notes",
                ":id",
                "pdf"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": ""
                }
              ]
            },
            "description": "Pdf"
          }
        }
      ]
    },
    {
      "name": "Payment links",
      "item": [
        {
          "name": "Payment links of an invoice (newest first) with their gateway orders",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/invoices/:id/paylinks",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "invoices",
                ":id",
                "paylinks"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": ""
                }
              ]
            },
            "description": "Payment links of an invoice (newest first) with their gateway orders"
          }
        },
        {
          "name": "Create a payment link for what is outstanding (or a partial amount)",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/invoices/:id/paylinks",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "invoices",
                ":id",
                "paylinks"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": ""
                }
              ]
            },
            "description": "Create a payment link for what is outstanding (or a partial amount)",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"amount\": 0\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Close the open payment links of an invoice",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/invoices/:id/paylinks",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "invoices",
                ":id",
                "paylinks"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": ""
                }
              ]
            },
            "description": "Close the open payment links of an invoice"
          }
        },
        {
          "name": "Read the open payment orders from the gateway now",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/invoices/:id/paylinks/check",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "invoices",
                ":id",
                "paylinks",
                "check"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": ""
                }
              ]
            },
            "description": "Read the open payment orders from the gateway now"
          }
        }
      ]
    },
    {
      "name": "WhatsApp",
      "item": [
        {
          "name": "WhatsApp messages sent for an invoice, with their delivery status",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/invoices/:id/whatsapp",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "invoices",
                ":id",
                "whatsapp"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": ""
                }
              ]
            },
            "description": "WhatsApp messages sent for an invoice, with their delivery status"
          }
        },
        {
          "name": "Send the invoice PDF to the customer's WhatsApp number",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/invoices/:id/whatsapp",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "invoices",
                ":id",
                "whatsapp"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": ""
                }
              ]
            },
            "description": "Send the invoice PDF to the customer's WhatsApp number",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"language\": \"\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        }
      ]
    },
    {
      "name": "Mapping profiles",
      "item": [
        {
          "name": "List",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/mappings",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "mappings"
              ],
              "query": [],
              "variable": []
            },
            "description": "List"
          }
        },
        {
          "name": "Create",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/mappings",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "mappings"
              ],
              "query": [],
              "variable": []
            },
            "description": "Create",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"config\": {\n    \"customerMatch\": \"\",\n    \"dateFormat\": \"\",\n    \"decimalComma\": false,\n    \"defaults\": {},\n    \"delimiter\": \"\",\n    \"fields\": {},\n    \"groupBy\": \"\",\n    \"invoicePath\": \"\",\n    \"linePath\": \"\",\n    \"namespaces\": {},\n    \"vatCategoryMap\": {}\n  },\n  \"format\": \"\",\n  \"name\": \"\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Applies a mapping (config as JSON) to a sample file without creating anything",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/mappings/preview?",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "mappings",
                "preview"
              ],
              "query": [
                {
                  "key": "format",
                  "value": "CSV",
                  "disabled": true,
                  "description": ""
                },
                {
                  "key": "config",
                  "value": "",
                  "disabled": true,
                  "description": ""
                }
              ],
              "variable": []
            },
            "description": "Applies a mapping (config as JSON) to a sample file without creating anything",
            "body": {
              "mode": "formdata",
              "formdata": [
                {
                  "key": "file",
                  "type": "file",
                  "src": ""
                }
              ]
            }
          }
        },
        {
          "name": "Update",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/mappings/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "mappings",
                ":id"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": ""
                }
              ]
            },
            "description": "Update",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"config\": {\n    \"customerMatch\": \"\",\n    \"dateFormat\": \"\",\n    \"decimalComma\": false,\n    \"defaults\": {},\n    \"delimiter\": \"\",\n    \"fields\": {},\n    \"groupBy\": \"\",\n    \"invoicePath\": \"\",\n    \"linePath\": \"\",\n    \"namespaces\": {},\n    \"vatCategoryMap\": {}\n  },\n  \"format\": \"\",\n  \"name\": \"\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Delete",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/mappings/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "mappings",
                ":id"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": ""
                }
              ]
            },
            "description": "Delete"
          }
        },
        {
          "name": "Creates invoice drafts from a CSV / XML file with a saved mapping profile (all or nothing)",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/mappings/:id/import?legalEntityId=",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "mappings",
                ":id",
                "import"
              ],
              "query": [
                {
                  "key": "legalEntityId",
                  "value": "",
                  "disabled": false,
                  "description": ""
                }
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": ""
                }
              ]
            },
            "description": "Creates invoice drafts from a CSV / XML file with a saved mapping profile (all or nothing)",
            "body": {
              "mode": "formdata",
              "formdata": [
                {
                  "key": "file",
                  "type": "file",
                  "src": ""
                }
              ]
            }
          }
        }
      ]
    },
    {
      "name": "Peppol directory",
      "item": [
        {
          "name": "Checks",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/peppol-directory/checks",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "peppol-directory",
                "checks"
              ],
              "query": [],
              "variable": []
            },
            "description": "Checks"
          }
        },
        {
          "name": "Invitations",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/peppol-directory/invitations",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "peppol-directory",
                "invitations"
              ],
              "query": [],
              "variable": []
            },
            "description": "Invitations"
          }
        },
        {
          "name": "E-mails suppliers an invitation to register on e-invoicing",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/peppol-directory/invitations",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "peppol-directory",
                "invitations"
              ],
              "query": [],
              "variable": []
            },
            "description": "E-mails suppliers an invitation to register on e-invoicing",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"legalEntityId\": \"00000000-0000-0000-0000-000000000000\",\n  \"message\": \"\",\n  \"recipients\": [\n    {}\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Searches participants by name, Peppol ID (0235:...), TIN or TRN",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/peppol-directory/search?q=",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "peppol-directory",
                "search"
              ],
              "query": [
                {
                  "key": "q",
                  "value": "",
                  "disabled": false,
                  "description": ""
                },
                {
                  "key": "country",
                  "value": "",
                  "disabled": true,
                  "description": ""
                }
              ],
              "variable": []
            },
            "description": "Searches participants by name, Peppol ID (0235:...), TIN or TRN"
          }
        },
        {
          "name": "Checks customers on the SMP: registered for the PINT AE invoice? Optionally updates peppolEnabled",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/billing/peppol-directory/verify",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "billing",
                "peppol-directory",
                "verify"
              ],
              "query": [],
              "variable": []
            },
            "description": "Checks customers on the SMP: registered for the PINT AE invoice? Optionally updates peppolEnabled",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"customerIds\": [\n    \"00000000-0000-0000-0000-000000000000\"\n  ],\n  \"disableUnregistered\": false,\n  \"enableRegistered\": false\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        }
      ]
    },
    {
      "name": "Aps",
      "item": [
        {
          "name": "Invoices",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/cashbook/ap/invoices?",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "cashbook",
                "ap",
                "invoices"
              ],
              "query": [
                {
                  "key": "includeExported",
                  "value": "false",
                  "disabled": true,
                  "description": ""
                },
                {
                  "key": "from",
                  "value": "",
                  "disabled": true,
                  "description": ""
                },
                {
                  "key": "to",
                  "value": "",
                  "disabled": true,
                  "description": ""
                }
              ],
              "variable": []
            },
            "description": "Invoices"
          }
        },
        {
          "name": "Acknowledge",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/cashbook/ap/invoices/acknowledge",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "cashbook",
                "ap",
                "invoices",
                "acknowledge"
              ],
              "query": [],
              "variable": []
            },
            "description": "Acknowledge",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"documentIds\": [\n    \"00000000-0000-0000-0000-000000000000\"\n  ],\n  \"references\": {},\n  \"target\": \"\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        }
      ]
    },
    {
      "name": "Inbox",
      "item": [
        {
          "name": "Received, validated documents not yet acknowledged (oldest first)",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/inbox?",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "inbox"
              ],
              "query": [
                {
                  "key": "page",
                  "value": "0",
                  "disabled": true,
                  "description": ""
                },
                {
                  "key": "size",
                  "value": "50",
                  "disabled": true,
                  "description": ""
                }
              ],
              "variable": []
            },
            "description": "Received, validated documents not yet acknowledged (oldest first)"
          }
        },
        {
          "name": "Confirm the document was imported; idempotent",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/inbox/:id/ack",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "inbox",
                ":id",
                "ack"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": ""
                }
              ]
            },
            "description": "Confirm the document was imported; idempotent"
          }
        }
      ]
    },
    {
      "name": "Invoices",
      "item": [
        {
          "name": "List documents visible to the caller",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/invoices?",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "invoices"
              ],
              "query": [
                {
                  "key": "direction",
                  "value": "OUTBOUND",
                  "disabled": true,
                  "description": ""
                },
                {
                  "key": "status",
                  "value": "",
                  "disabled": true,
                  "description": ""
                },
                {
                  "key": "page",
                  "value": "0",
                  "disabled": true,
                  "description": ""
                },
                {
                  "key": "size",
                  "value": "50",
                  "disabled": true,
                  "description": ""
                }
              ],
              "variable": []
            },
            "description": "List documents visible to the caller"
          }
        },
        {
          "name": "Submit an invoice or credit note as simplified JSON; einvo generates the PINT AE UBL",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Idempotency-Key",
                "value": "",
                "disabled": true
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/invoices",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "invoices"
              ],
              "query": [],
              "variable": []
            },
            "description": "Submit an invoice or credit note as simplified JSON; einvo generates the PINT AE UBL",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"buyer\": {\n    \"city\": \"\",\n    \"countryCode\": \"\",\n    \"emirate\": \"\",\n    \"endpointId\": \"\",\n    \"endpointScheme\": \"\",\n    \"legalName\": \"\",\n    \"street\": \"\",\n    \"tradeLicense\": \"\",\n    \"trn\": \"\"\n  },\n  \"buyerReference\": \"\",\n  \"correctedInvoiceDate\": \"2026-11-19\",\n  \"correctedInvoiceNumber\": \"\",\n  \"creditReasonCode\": \"\",\n  \"currency\": \"\",\n  \"delivery\": {\n    \"city\": \"\",\n    \"countryCode\": \"\",\n    \"incoterms\": \"\",\n    \"street\": \"\",\n    \"subdivision\": \"\"\n  },\n  \"dueDate\": \"2026-11-19\",\n  \"iban\": \"\",\n  \"issueDate\": \"2026-11-19\",\n  \"kind\": \"\",\n  \"lines\": [\n    {}\n  ],\n  \"note\": \"\",\n  \"number\": \"\",\n  \"paymentMeansCode\": \"\",\n  \"sellerTin\": \"\",\n  \"transactionFlags\": \"\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Validate a document against PINT AE / UAE TDD rules without sending it",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/xml"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/invoices/validate",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "invoices",
                "validate"
              ],
              "query": [],
              "variable": []
            },
            "description": "Validate a document against PINT AE / UAE TDD rules without sending it",
            "body": {
              "mode": "raw",
              "raw": "<!-- PINT AE UBL invoice -->",
              "options": {
                "raw": {
                  "language": "xml"
                }
              }
            }
          }
        },
        {
          "name": "Get a document with its status and validation findings",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/invoices/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "invoices",
                ":id"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": ""
                }
              ]
            },
            "description": "Get a document with its status and validation findings"
          }
        },
        {
          "name": "Bilingual (EN/AR) PDF copy of an invoice or credit note, rendered from its UBL",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/invoices/:id/pdf",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "invoices",
                ":id",
                "pdf"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": ""
                }
              ]
            },
            "description": "Bilingual (EN/AR) PDF copy of an invoice or credit note, rendered from its UBL"
          }
        },
        {
          "name": "Download the UBL XML of a document",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/invoices/:id/ubl",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "invoices",
                ":id",
                "ubl"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": ""
                }
              ]
            },
            "description": "Download the UBL XML of a document"
          }
        }
      ]
    },
    {
      "name": "Session",
      "item": [
        {
          "name": "Me",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/me",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "me"
              ],
              "query": [],
              "variable": []
            },
            "description": "Me"
          }
        }
      ]
    },
    {
      "name": "Webhooks",
      "item": [
        {
          "name": "List",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/webhooks",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "webhooks"
              ],
              "query": [],
              "variable": []
            },
            "description": "List"
          }
        },
        {
          "name": "Create",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/webhooks",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "webhooks"
              ],
              "query": [],
              "variable": []
            },
            "description": "Create",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"description\": \"\",\n  \"events\": [\n    \"\"\n  ],\n  \"tenantId\": \"00000000-0000-0000-0000-000000000000\",\n  \"url\": \"\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Delete",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/webhooks/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "webhooks",
                ":id"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": ""
                }
              ]
            },
            "description": "Delete"
          }
        },
        {
          "name": "Events",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/webhooks/:id/events",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "webhooks",
                ":id",
                "events"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": ""
                }
              ]
            },
            "description": "Events"
          }
        },
        {
          "name": "Test",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/webhooks/:id/test",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "webhooks",
                ":id",
                "test"
              ],
              "query": [],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": ""
                }
              ]
            },
            "description": "Test"
          }
        }
      ]
    }
  ]
}
