Flick.

Make your first request

Process an invoice on the Unified API. Call /document/process with your participant, routing schemas, and document payload.

  • Authenticate. Use a Bearer token and set the participant-id header.
  • Choose routing. Add reporting_schema and/or exchange_schema for where the document should go.
  • Send the document. Include parties, totals, and at least one invoice line in documents.
curl -X POST \
  "https://sandbox-api.flick.network/v1/document/process" \
  -H "Authorization: Bearer $FLICK_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -H "participant-id: $FLICK_PARTICIPANT_ID" \
  -d '{
  "reporting_schema": [
    {
      "origin": "AE",
      "scheme_id": "AE:FTA"
    }
  ],
  "exchange_schema": [
    {
      "origin": "AE",
      "network": "PEPPOL",
      "recipient_id": "0235:987654321"
    }
  ],
  "documents": [
    {
      "document_nature": "invoice",
      "document_type": "380",
      "document_code": "0100000",
      "document_identifier": "INV-2026-001",
      "issue_date": "2026-06-17",
      "issue_time": "12:00:00",
      "time_zone": "+04:00",
      "invoice_total": "1050.00",
      "tax_total": "50.00",
      "document_currency": "AED",
      "due_date": "2026-07-17",
      "issuing_party": {
        "party": {
          "company_name": "Seller LLC",
          "address": {
            "street_1": "Sheikh Zayed Rd",
            "city": "Dubai",
            "country": "AE"
          }
        },
        "identifiers": [
          { "scheme_id": "AE:VAT", "identifier": "100123456789012" }
        ]
      },
      "receiving_party": {
        "party": {
          "company_name": "Buyer LLC",
          "address": {
            "street_1": "Main St",
            "city": "Dubai",
            "country": "AE"
          }
        },
        "identifiers": [
          { "scheme_id": "AE:VAT", "identifier": "100987654321098" }
        ]
      },
      "invoice_line": [
        {
          "line_id": 1,
          "description": "Consulting Services",
          "quantity": 10,
          "unit_price": 100.00,
          "uom": "H87",
          "taxes": [{ "tax_type": "VAT", "tax_rate": 5 }]
        }
      ]
    }
  ]
}'