Zum Inhalt
HALOWERK

Unternehmensnachweise

invoice line arithmetic / check

Company evidence operation: invoice line arithmetic. Supply the identifiers specified in the input schema; consult the linked service metadata for coverage and limitations.

POST https://company-evidence.halowerk.com/service/invoice-line-arithmetic/check

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
rounding_modeSiehe SchemaJa
linesarrayJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "rounding_mode": {
      "enum": [
        "half_away_from_zero",
        "half_even",
        "toward_zero"
      ]
    },
    "lines": {
      "type": "array",
      "minItems": 1,
      "maxItems": 100,
      "items": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "quantity": {
            "type": "string",
            "pattern": "^-?(?:0|[1-9][0-9]{0,8})(?:.[0-9]{1,6})?$"
          },
          "unit_net_minor": {
            "type": "string",
            "pattern": "^-?(?:0|[1-9][0-9]{0,14})$"
          },
          "claimed_line_net_minor": {
            "type": "string",
            "pattern": "^-?(?:0|[1-9][0-9]{0,23})$"
          }
        },
        "required": [
          "quantity",
          "unit_net_minor",
          "claimed_line_net_minor"
        ]
      }
    }
  },
  "required": [
    "rounding_mode",
    "lines"
  ]
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "rounding_mode": "half_away_from_zero",
  "lines": [
    {
      "quantity": "1.005",
      "unit_net_minor": "100",
      "claimed_line_net_minor": "101"
    }
  ]
}

Ergebnis & Dokumentation

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 →