Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

F TD2000 DOCUMENTS 01 / ubl invoice price base quantity net line reconstruction

Reconstruct invoice line net amounts from decimal quantity, price base, line charges and allowances.

POST https://detect.halowerk.com/v1/F-TD2000-DOCUMENTS-01/ubl-invoice-price-base-quantity-net-line-reconstruction

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
artifactobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "artifact"
  ],
  "properties": {
    "artifact": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "invoiceLines"
      ],
      "properties": {
        "invoiceLines": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "data",
            "claim"
          ],
          "properties": {
            "data": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "lines"
              ],
              "properties": {
                "lines": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "id",
                      "quantity",
                      "price",
                      "base_quantity",
                      "charges",
                      "allowances"
                    ],
                    "properties": {
                      "id": {
                        "type": "string",
                        "maxLength": 64
                      },
                      "quantity": {
                        "type": "string",
                        "pattern": "^\\d{1,9}(?:\\.\\d{1,6})?$"
                      },
                      "price": {
                        "type": "string",
                        "pattern": "^\\d{1,9}(?:\\.\\d{1,6})?$"
                      },
                      "base_quantity": {
                        "type": "string",
                        "pattern": "^\\d{1,9}(?:\\.\\d{1,6})?$"
                      },
                      "charges": {
                        "type": "array",
                        "items": {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 1000000000
                        },
                        "minItems": 0,
                        "maxItems": 16
                      },
                      "allowances": {
                        "type": "array",
                        "items": {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 1000000000
                        },
                        "minItems": 0,
                        "maxItems": 16
                      }
                    }
                  },
                  "minItems": 1,
                  "maxItems": 32
                }
              }
            },
            "claim": {
              "anyOf": [
                {
                  "type": "null"
                },
                {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "line_extension_minor",
                    "lines"
                  ],
                  "properties": {
                    "line_extension_minor": {
                      "type": "integer"
                    },
                    "lines": {
                      "type": "array",
                      "maxItems": 4096,
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "gross_minor",
                          "id",
                          "net_minor"
                        ],
                        "properties": {
                          "gross_minor": {
                            "type": "integer"
                          },
                          "id": {
                            "type": "string",
                            "maxLength": 20000
                          },
                          "net_minor": {
                            "type": "integer"
                          }
                        }
                      }
                    }
                  }
                }
              ]
            }
          }
        }
      }
    }
  }
}

Originalschema öffnen

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 →