Zum Inhalt
HALOWERK

Handelswerk

po invoice match

Compares a purchase order against a delivery note and an invoice, line by line. Lines are paired by article number where both sides carry one, and otherwise by text similarity — a text pairing is marked as such with its similarity score, because quietly matching on similar wording is exactly how a wrong invoice gets approved.

POST https://handel.halowerk.com/v1/po-invoice-match

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
purchase_orderarrayJaOrdered lines.
delivery_notearrayNeinDelivered lines. Optional — without it only a two-way match runs.
invoicearrayJaInvoiced lines.
quantity_tolerance_pctnumberNeinAllowed quantity deviation in percent.
price_tolerance_pctnumberNeinAllowed unit-price deviation in percent.
text_match_thresholdnumberNeinMinimum text similarity to pair lines without an article number.
currencystringNein
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "required": [
    "purchase_order",
    "invoice"
  ],
  "additionalProperties": false,
  "properties": {
    "purchase_order": {
      "type": "array",
      "minItems": 1,
      "maxItems": 300,
      "description": "Ordered lines.",
      "items": {
        "type": "object",
        "required": [
          "quantity"
        ],
        "additionalProperties": false,
        "properties": {
          "sku": {
            "type": "string",
            "maxLength": 100
          },
          "description": {
            "type": "string",
            "maxLength": 300
          },
          "quantity": {
            "type": "number"
          },
          "unit_price": {
            "type": "number"
          }
        }
      }
    },
    "delivery_note": {
      "type": "array",
      "maxItems": 300,
      "description": "Delivered lines. Optional — without it only a two-way match runs.",
      "items": {
        "type": "object",
        "required": [
          "quantity"
        ],
        "additionalProperties": false,
        "properties": {
          "sku": {
            "type": "string",
            "maxLength": 100
          },
          "description": {
            "type": "string",
            "maxLength": 300
          },
          "quantity": {
            "type": "number"
          }
        }
      }
    },
    "invoice": {
      "type": "array",
      "minItems": 1,
      "maxItems": 300,
      "description": "Invoiced lines.",
      "items": {
        "type": "object",
        "required": [
          "quantity"
        ],
        "additionalProperties": false,
        "properties": {
          "sku": {
            "type": "string",
            "maxLength": 100
          },
          "description": {
            "type": "string",
            "maxLength": 300
          },
          "quantity": {
            "type": "number"
          },
          "unit_price": {
            "type": "number"
          }
        }
      }
    },
    "quantity_tolerance_pct": {
      "type": "number",
      "minimum": 0,
      "maximum": 50,
      "default": 0,
      "description": "Allowed quantity deviation in percent."
    },
    "price_tolerance_pct": {
      "type": "number",
      "minimum": 0,
      "maximum": 50,
      "default": 0,
      "description": "Allowed unit-price deviation in percent."
    },
    "text_match_threshold": {
      "type": "number",
      "minimum": 0.1,
      "maximum": 1,
      "default": 0.5,
      "description": "Minimum text similarity to pair lines without an article number."
    },
    "currency": {
      "type": "string",
      "minLength": 3,
      "maxLength": 3,
      "default": "EUR"
    }
  }
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "purchase_order": [
    {
      "sku": "EXAMPLE-001",
      "quantity": 2,
      "unit_price": 10
    }
  ],
  "invoice": [
    {
      "sku": "EXAMPLE-001",
      "quantity": 2,
      "unit_price": 10
    }
  ],
  "currency": "EUR"
}

Ergebnis & Dokumentation

Veröffentlichtes Ergebnisschema anzeigen
{
  "$ref": "https://handel.halowerk.com/v1/po-invoice-match/schema#/outputSchema"
}

Veröffentlichtes Ergebnisbeispiel öffnen

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →