action obono_add_beleg { label: "addBeleg" description: "Signs a receipt and stores it in the \"Datenerfassungsprotokoll\"." provider: obono method: PUT path: "/registrierkassen/{registrierkasseUuid}/belege/{belegUuid}" encoding: json input: { type: "object" properties: { "Externer-Beleg-Belegkreis": { type: "string" } "Externer-Beleg-Bezeichnung": { type: "string" } "Externer-Beleg-Referenz": { 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" } } } } belegUuid: { type: "string" } registrierkasseUuid: { type: "string" } } required: ["belegUuid", "registrierkasseUuid"] additionalProperties: false } output: { type: "object" additionalProperties: true } }