Read a Beleg again (neu einlesen, OCR) whose reading failed or found nothing (still unread): through the reading port as at the delivery; the case is then gelesen or has its proposal. A value read wrong is corrected with beleg_data.correct instead. A new reading by a program keeps the holds of the earlier one; only a person releases them.
curl --request POST \ --url https://example.com/v1/commands/beleg.read_again \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "dry_run": false, "origin": { "display_name": "example", "id": "example", "kind": "example" }, "payload": { "beleg_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" }, "rationale": "example" }'Authorizations
Abschnitt betitelt „Authorizations“Parameters
Abschnitt betitelt „Parameters“Header Parameters
Abschnitt betitelt „Header Parameters“A repeated key returns the first result without running the Command again.
The Mandant a session acts on; an API-Schlüssel is bound to its own.
Request Body
Abschnitt betitelt „Request Body“object
Dry run: the checks of executing, then the handler in a transaction that is always rolled back; nothing is logged, sent or kept. The answer is then a BefehlPruefung (as command.check) with the handler’s result as output, not the result below.
Who or what a call comes from beyond its Actor, set by the caller (an automation, an integration): stored and hashed with the log entry, shown and filtered in the Verlauf.
object
The name a person reads in the Verlauf, 1 to 120 characters.
The caller’s own id of it, 1 to 200 characters.
What kind of caller, 1 to 40 of a-z, 0-9 and _ (for example automation, integration).
object
Why the Actor issues this; stored in the Command-Log.
Responses
Abschnitt betitelt „Responses“Result
object
The Belegdaten read; none when the reading failed again (the warning says why).
One record of Belegdaten.
object
The fields of one Belegdaten record; a field that is absent was not read.
object
object
A bank statement file or an API delivery of Bankumsätze.
Bescheinigungen der Versicherungen.
Zuwendungsbestätigung.
Handwerkerrechnungen and haushaltsnahe Dienstleistungen.
The documents of a Mietobjekt.
Rentenbezugsmitteilung and the other documents of a Rente.
The Gewinnermittlung and the Bescheide of a Betrieb.
A credit note: the correction of a received invoice or a self-billing Gutschrift of § 14 Abs. 2 Satz 5 UStG; held for the person, nothing proposed to book.
A Mahnung: no invoice under § 14 UStG, no new claim; nothing is proposed to book.
The receipt of a Bewirtung (a restaurant bill); proposed like an invoice.
object
What a printed dispatch day is about.
Goods sent on that day, delivered by the dispatch (§ 3 Abs. 6 UStG).
Expected or latest dispatch.
The document was sent, or a service.
Goods with installation or assembly, or on approval.
The date of a delivery note alone.
A Lohnsteuerbescheinigung: the amounts by their number on the printout (“3”, “4”, “22a”, …).
object
object
The itemised positions as printed, when the reader gives them.
One itemised position of a Beleg as printed (a restaurant bill: each dish and drink), read beside the lines per rate; it books nothing itself, the checks read it.
object
A person’s statement in a correction (beleg_data.correct): true when the position is a drink or anything but a dish, false when it is a dish. It decides over the recognition by name.
object
A service charge the restaurant adds, per rate (its amounts are part of zeilen too).
object
The line’s own period of the supply, where the Beleg states an amount of its own for it
(usage of the past month, the next month’s base fee). Several periods under one total are
not split: leave them out and ask (missing_supply_date).
object
The period the Beleg prints for the supply (first day and last day, on any page or annex): the reading sets the Leistungsdatum to the last day. Not a planned period, and not the month that is only the subject of the work.
object
The time of the supply as the Beleg names it when it names only the calendar month
(YYYY-MM, § 31 Abs. 4 UStDV); the reading sets the period to its first and last day, the
Leistungsdatum to the last one and supply_precision to month. --MM when the Beleg names
its year nowhere for this supply: then it is asked. Not the month a payment was received.
object
Whether the Beleg prints the month or the days of the supply. Absent beside a period of exactly one calendar month: not known which (an E-Rechnung, BT-73 and BT-74).
object
What the Beleg prints as the time of the supply: the calendar month (its last day is computed) or days.
Several sections on one Beleg that states one total for them (usage in arrears and the next month’s base fee): their periods, in order.
object
The units of the positions, each once: the codes of an E-Rechnung (BT-130), else as printed (Stunde, Tag, Woche, Monat, Jahr, kWh).
object
The line’s own period of the supply, where the Beleg states an amount of its own for it
(usage of the past month, the next month’s base fee). Several periods under one total are
not split: leave them out and ask (missing_supply_date).
object
Where each value of felder came from (aussteller, zeilen.0.netto, …): the oldest
record of the unbroken run that holds the same value. A value a person kept as it was read
keeps the reading as its origin; only a value the person changed or added is theirs.
object
The record a value of the Belegdaten first appeared in.
object
Person, port or struktur.
Person, port or struktur.
The record this one corrects.
The state of the Vorgang after the reading (unchanged neu when it failed again).
Example
{ "belegdaten": { "felder": { "advance_invoice": { "zustand": "gelesen" }, "amount_charged": { "zustand": "gelesen" }, "aussteller": { "zustand": "gelesen" }, "aussteller_anschrift": { "zustand": "gelesen" }, "aussteller_steuernummer": { "zustand": "gelesen" }, "belegart": { "wert": "rechnung", "zustand": "gelesen" }, "belegdatum": { "zustand": "gelesen" }, "brutto": { "zustand": "gelesen" }, "corrects_invoice_number": { "zustand": "gelesen" }, "dispatch": { "wert": "goods", "zustand": "gelesen" }, "dispatched_on": { "zustand": "gelesen" }, "empfaenger": { "zustand": "gelesen" }, "empfaenger_anschrift": { "zustand": "gelesen" }, "invoice_type_code": { "zustand": "gelesen" }, "issuer_answer": { "zustand": "gelesen" }, "issuer_country": { "zustand": "gelesen" }, "issuer_ust_idnr": { "zustand": "gelesen" }, "leistung": { "zustand": "gelesen" }, "leistungsdatum": { "zustand": "gelesen" }, "lohnsteuerbescheinigung": { "additionalProperty": { "zustand": "gelesen" } }, "occasion": { "zustand": "gelesen" }, "order_email": { "zustand": "gelesen" }, "participants": { "zustand": "gelesen" }, "positions": [ { "brutto": { "zustand": "gelesen" }, "steuersatz": { "zustand": "gelesen" }, "text": { "zustand": "gelesen" } } ], "prepaid_credit": { "zustand": "gelesen" }, "rechnungsnummer": { "zustand": "gelesen" }, "recipient_ust_idnr": { "zustand": "gelesen" }, "reverse_charge_note": { "zustand": "gelesen" }, "service_charge": [ { "brutto": { "zustand": "gelesen" }, "kategorie": { "zustand": "gelesen" }, "leistungsdatum": { "zustand": "gelesen" }, "netto": { "zustand": "gelesen" }, "steuer": { "zustand": "gelesen" }, "steuersatz": { "zustand": "gelesen" }, "supply_from": { "zustand": "gelesen" }, "supply_to": { "zustand": "gelesen" } } ], "skonto": { "wert": { "tage": null }, "zustand": "gelesen" }, "supply_date_as_invoice_date": { "zustand": "gelesen" }, "supply_from": { "zustand": "gelesen" }, "supply_period": { "zustand": "gelesen" }, "supply_precision": { "wert": "month", "zustand": "gelesen" }, "supply_text": { "zustand": "gelesen" }, "supply_to": { "zustand": "gelesen" }, "tax_total_euro": { "zustand": "gelesen" }, "tip": { "zustand": "gelesen" }, "tip_evidence": { "wert": "printed", "zustand": "gelesen" }, "waehrung": { "zustand": "gelesen" }, "whole_month": { "zustand": "gelesen" }, "zeilen": [ { "brutto": { "zustand": "gelesen" }, "kategorie": { "zustand": "gelesen" }, "leistungsdatum": { "zustand": "gelesen" }, "netto": { "zustand": "gelesen" }, "steuer": { "zustand": "gelesen" }, "steuersatz": { "zustand": "gelesen" }, "supply_from": { "zustand": "gelesen" }, "supply_to": { "zustand": "gelesen" } } ] } }}default
Abschnitt betitelt „default“Problem
object
What is wrong.
The Command the next step names, whatever the language of next_step.
What to do next.
Fields that complete the refused call when the refusal carries a proposal: merged into its payload, the same call goes through.
Example
{ "code": "validation"}