action obono_get_belege_beleg_uuid { label: "get_belege_belegUuid" description: "Retrieves a particular `Beleg` from the \"Datenerfassungsprotokoll\"." provider: obono method: GET path: "/belege/{belegUuid}" encoding: json input: { type: "object" properties: { belegUuid: { type: "string" } } required: ["belegUuid"] additionalProperties: false } output: { type: "object" properties: { "Beleg-Codes": { type: "array" items: { type: "string" } } "Beleg-Typen": { type: "array" items: { type: "string" enum: ["Belegkreisinitialisierung", "Kassenbericht", "Monatsabschluss", "Startbeleg", "Storno", "Systembeleg", "Training"] } } Belegdaten: { type: "object" description: "The complete `Beleg` that has been signed by the \"Signaturerstellungseinheit\" and stored in the \"Datenerfassungsprotokoll\"." properties: { "Beleg-Datum-Uhrzeit": { type: "string" } Belegnummer: { type: "string" } "Betrag-Brutto": { type: "integer" } "Betrag-Netto": { type: "integer" } "Betrag-Satz-Besonders-Brutto": { type: "integer" description: "The total amount in cents" } "Betrag-Satz-Besonders-Netto": { type: "integer" description: "The total amount in cents" } "Betrag-Satz-Ermaessigt-1-Brutto": { type: "integer" description: "The total amount in cents" } "Betrag-Satz-Ermaessigt-1-Netto": { type: "integer" description: "The total amount in cents" } "Betrag-Satz-Ermaessigt-2-Brutto": { type: "integer" description: "The total amount in cents" } "Betrag-Satz-Ermaessigt-2-Netto": { type: "integer" description: "The total amount in cents" } "Betrag-Satz-Normal-Brutto": { type: "integer" description: "The total amount in cents" } "Betrag-Satz-Normal-Netto": { type: "integer" description: "The total amount in cents" } "Betrag-Satz-Null-Brutto": { type: "integer" description: "The total amount in cents" } "Betrag-Satz-Null-Netto": { type: "integer" description: "The total amount in cents" } "Externer-Beleg-Belegkreis": { type: "string" } "Externer-Beleg-Bezeichnung": { type: "string" } "Externer-Beleg-Referenz": { type: "string" } "Kassen-ID": { type: "string" } Kunde: { type: "string" } Notizen: { type: "array" items: { type: "string" } } Posten: { type: "array" items: { type: "object" required: ["Bezeichnung", "Satz", "Menge", "NettoBetrag", "BruttoBetrag"] properties: { Bezeichnung: { type: "string" } BruttoBetrag: { type: "integer" description: "The amount in cents" } "Externer-Beleg-Belegkreis": { type: "string" } "Externer-Beleg-Bezeichnung": { type: "string" } "Externer-Beleg-Referenz": { type: "string" } Menge: { type: "integer" } NettoBetrag: { type: "integer" description: "The amount in cents" } Satz: { type: "string" enum: ["NORMAL", "ERMAESSIGT1", "ERMAESSIGT2", "BESONDERS", "NULL"] } } } } Rabatte: { type: "array" items: { type: "object" required: ["Bezeichnung", "Betrag-Netto", "Betrag-Brutto"] properties: { "Betrag-Brutto": { type: "integer" description: "The amount in cents" } "Betrag-Netto": { type: "integer" description: "The amount in cents" } Bezeichnung: { type: "string" } Satz: { type: "string" enum: ["NORMAL", "ERMAESSIGT1", "ERMAESSIGT2", "BESONDERS", "NULL"] } } } } Storno: { type: "boolean" description: "Storno?" } "Storno-Beleg-UUID": { type: "string" format: "uuid" description: "The `Beleg-UUID` property of the `Beleg` to be cancelled" } "Storno-Text": { type: "string" } Training: { type: "boolean" description: "Training?" } "Unternehmen-Adresse1": { type: "string" } "Unternehmen-Adresse2": { type: "string" } "Unternehmen-Fusszeile": { type: "string" } "Unternehmen-ID": { type: "string" } "Unternehmen-ID-Typ": { type: "string" enum: ["steuernummer", "uid", "gln"] } "Unternehmen-Kopfzeile": { type: "string" } "Unternehmen-Name": { type: "string" } "Unternehmen-Ort": { type: "string" } "Unternehmen-PLZ": { type: "string" } Zahlungen: { type: "array" items: { type: "object" required: ["Bezeichnung", "Betrag"] properties: { Betrag: { type: "integer" description: "The amount in cents" } Bezeichnung: { type: "string" } Referenz: { type: "string" } } } } "Zertifikat-Seriennummer": { type: "string" } } } JWS: { type: "string" format: "jws" description: "The signed `Beleg` as a JWS signature token." } QR: { type: "string" description: "The portion of the `JWS` token to be used for generating QR codes." } "QR-Link": { type: "string" format: "url" description: "A hyperlink that retrieves the `QR` data." } "Registrierkasse-UUID": { type: "string" format: "uuid" description: "The `_uuid` of the `Registrierkasse` that has issued this `Beleg`." } "Signaturerstellungseinheit-UUID": { type: "string" format: "uuid" description: "The `_uuid` of the `Signaturerstellungseinheit` that has signed this `Beleg`." } _href: { type: "string" format: "url" description: "URL of the particular `Beleg` instance." } _uuid: { type: "string" description: "Unique ID of the particular `Beleg` instance." } } } }