Skip to content
HALOWERK

Formatwerk

journal integrity

Splits each entry number into prefix and running number (e.g. "2026-000123" or 123) and checks every series: duplicate numbers, missing numbers (as ranges), listing order, date breaks (an entry dated earlier than its predecessor by more than date_tolerance_days), identical bookings under different numbers (same date, amount, accounts, document number and text), documents booked on several dates, dates outside the given period or after the reference date, zero amounts and postings with the.

POST https://format.halowerk.com/v1/journal-integrity

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
entriesarrayYesJournal entries.
period_fromstringNoStart of the period.
period_tostringNoEnd of the period.
reference_datestringNoReference date for future-date checks, default today (UTC).
date_tolerance_daysintegerNoAllowed backdating between consecutive entries.
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "entries"
  ],
  "properties": {
    "entries": {
      "type": "array",
      "minItems": 1,
      "maxItems": 200000,
      "description": "Journal entries.",
      "items": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "number",
          "date",
          "amount"
        ],
        "properties": {
          "number": {
            "type": [
              "string",
              "integer"
            ],
            "description": "Entry number, optionally with prefix."
          },
          "date": {
            "type": "string",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "description": "Booking or document date."
          },
          "amount": {
            "type": [
              "number",
              "string"
            ],
            "description": "Amount."
          },
          "debit_account": {
            "type": [
              "string",
              "integer"
            ],
            "description": "Debit account."
          },
          "credit_account": {
            "type": [
              "string",
              "integer"
            ],
            "description": "Credit account."
          },
          "document_number": {
            "type": "string",
            "maxLength": 64,
            "description": "Document number."
          },
          "text": {
            "type": "string",
            "maxLength": 200,
            "description": "Posting text."
          }
        }
      }
    },
    "period_from": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "description": "Start of the period."
    },
    "period_to": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "description": "End of the period."
    },
    "reference_date": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "description": "Reference date for future-date checks, default today (UTC)."
    },
    "date_tolerance_days": {
      "type": "integer",
      "minimum": 0,
      "maximum": 366,
      "default": 0,
      "description": "Allowed backdating between consecutive entries."
    }
  }
}

Open original schema

Published input example

{
  "entries": [
    {
      "number": 1,
      "date": "2026-10-01",
      "amount": "100.00",
      "debit_account": "1200",
      "credit_account": "8400"
    },
    {
      "number": 3,
      "date": "2026-10-02",
      "amount": "50.00",
      "debit_account": "4930",
      "credit_account": "1200"
    }
  ]
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.

More endpoints in this hub

All endpoints in this hub โ†’