{"question":"We run a small company in Germany and want an AI agent to pre-account incoming invoices and post entries in our accounting software. What do the GoBD say about entries generated by software, changing entries afterwards, and the documentation the tax office can ask to see?","slug":"what-does-germanys-gobd-require-when-software-or-an-ai-agent-posts-bookkeeping-entries","url":"https://www.rightshold.com/answers/what-does-germanys-gobd-require-when-software-or-an-ai-agent-posts-bookkeeping-entries","short_answer":"The GoBD are the Federal Ministry of Finance's principles for keeping books and records electronically (BMF letter of November 28, 2019, amended March 11, 2024 and July 14, 2025). They don't mention AI, but they apply to all hardware and software used to record, generate, receive or process tax-relevant data, whether owned or run in a cloud, and the taxpayer alone is responsible even when bookkeeping is handed to a third party. For an agent, three rules matter most. An entry may not be changed so that its original content can no longer be determined, so changes and deletions must be logged (Rz. 58-59 and 107-111). For program-generated entries, changes to the generating and control data, including the software's settings and parameters, must also be recorded (Rz. 111). And each system needs a procedure documentation (Verfahrensdokumentation) that a knowledgeable third party can check in reasonable time and that matches the program versions actually used (Rz. 151-154). The GoBD list exporting entries, editing them outside the system without a log and reimporting them, and keeping pre-entries open until the annual accounts, as examples of what isn't allowed (Rz. 109).","checklist":["Have the agent post through the accounting system's normal entry process, and lock (festschreiben) its entries promptly. Pre-entries and batches kept open until the annual accounts are a GoBD example of what isn't allowed.","Never let the agent, or anyone, export entries, edit them in another program without a log and reimport them. The GoBD name that as a prohibited practice.","Log every change to the agent's prompts, account-assignment rules and the software's settings, with the date and who made it. The GoBD require changes to the generating and control data behind program-generated entries to be recorded.","Make sure every entry the agent posts is tied to a document (Beleg), and that the capture date is kept where it differs from the posting date.","Add the agent to your procedure documentation (Verfahrensdokumentation): what it does, which program and model versions you use, who approves its entries, and how its output is protected. Version the documentation and keep a change history.","Record cashless transactions promptly. The GoBD treat capture within ten days as unobjectionable.","For e-invoices you receive, keep the structured part (for example the XML). Since the July 14, 2025 change, the PDF part of a hybrid invoice only has to be kept if it has extra tax-relevant content such as booking notes.","Don't store records in a plain file system without extra measures; the GoBD say that alone usually doesn't meet the unalterability requirement."],"sections":[{"heading":"What the GoBD cover and who answers for an AI agent's entries","points":["The GoBD (Grundsätze zur ordnungsmäßigen Führung und Aufbewahrung von Büchern, Aufzeichnungen und Unterlagen in elektronischer Form sowie zum Datenzugriff) were published by the BMF on November 28, 2019, changed on March 11, 2024, and changed again on July 14, 2025 mainly because of mandatory domestic B2B e-invoicing from January 1, 2025. The 2025 version applies from July 14, 2025 (new Rz. 185). The paragraph numbers (Rz.) below are from the 2019 letter as amended.","Rz. 20 defines the data processing system as all hardware and software used for business purposes to record, generate, receive, take over, process, store or transmit tax-relevant data and documents, including the main system, upstream and side systems, and the interfaces between them. It doesn't matter whether the software is owned or run in a cloud. An AI agent that drafts or posts entries is, on our reading, an upstream system or part of the main system under this definition.","Rz. 21 says the taxpayer alone is responsible for the orderliness of electronic books and records, including the procedures used, and that this also applies when bookkeeping tasks are partly or fully outsourced to third parties such as a tax adviser or a data center. Using an AI vendor doesn't change that."]},{"heading":"What the GoBD say about changing entries and program-generated bookings","points":["Rz. 58 and 107 repeat section 146(4) of the Fiscal Code (AO) and section 239(3) of the Commercial Code (HGB): an entry or record may not be changed in a way that makes its original content impossible to determine, and changes that leave it unclear whether they were made originally or later aren't allowed either. Rz. 59 says changes and deletions to electronic entries must therefore be logged. Rz. 108 says the system must ensure that information, once entered into processing (document, original record, entry), can't be suppressed or overwritten, deleted, changed or falsified without being marked.","Rz. 111 says later changes must leave both the original content and the fact of the change visible. For program-generated or program-controlled records, such as automated or recurring entries, changes to the underlying generating and control data must also be recorded, in particular changes to settings and the parameterization of the software. For an AI agent, the closest equivalents are its rules, prompts, account mappings and model or version settings; our reading is that changes to those belong in the log.","Rz. 109 gives two prohibited examples: exporting original records from a till or inventory system to an office program, editing them there without a log and reimporting them; and keeping pre-entries and batch entries open until the annual accounts or later so any input can be changed without a log. Rz. 110 says unalterability can be ensured by hardware, software (backups, locks, Festschreibung, deletion flags, automatic logging, history, versioning) or organizational measures such as access rights, and that storing data in a file system usually isn't enough on its own. Rz. 112 says using functions or manipulation programs that defeat these rules makes the electronic books not orderly. Rz. 88 asks for input, transfer and processing controls whose execution is logged."]},{"heading":"What a GoBD procedure documentation should say about an AI bookkeeping agent","points":["Rz. 151 requires a clearly structured procedure documentation for each data processing system, showing the content, structure, flow and results of the procedure completely and coherently, understandable to a knowledgeable third party in reasonable time. Rz. 152 says it describes the intended process, for documents from capture through indexing, processing and storage to retrieval, machine evaluation, protection against loss and falsification, and reproduction. Rz. 153 says it usually has a general description, user documentation, technical system documentation and operations documentation.","Rz. 154 says that for the whole retention period it must be shown that the documented procedure matches the one used in practice, especially the program versions used. Changes to the documentation must be traceable, which versioning with a change history satisfies. Rz. 155 says a missing or inadequate procedure documentation is not a material formal defect that can lead to the books being rejected as long as it doesn't impair traceability and verifiability. For an agent, that means writing down what it does, which versions ran when, who checks its entries and how its changes are logged.","On timing, Rz. 46-47 require prompt recording and say capturing cashless transactions within ten days is unobjectionable, and Rz. 87 allows posting to the main system's journal by the end of the following month when an upstream system already holds the original records. On e-invoices, the July 14, 2025 letter amends Rz. 119: for e-invoices under section 14(1) UStG it is enough to keep the structured part, and the human-readable part of a hybrid invoice (such as the PDF of a ZUGFeRD invoice) only needs keeping if it has additional or different tax-relevant information, such as booking notes."]}],"checks":[],"ask_rightshold":{"start":"https://www.rightshold.com/start?ref=seo","mcp_endpoint":"https://www.rightshold.com/mcp","ask":"We changed our invoice pre-accounting agent's account-assignment rule and updated our Verfahrensdokumentation. Record the change, the agent and documentation versions and who approved it, with a hash of the new rule file, so there's a dated entry outside our accounting system.","mcp_call":{"tool":"record_action","arguments":{"action_type":"books.agent_config_change","outcome":"success","occurred_at":"2026-11-23T15:00:00Z","client_event_id":"preaccounting-agent:rule-change-2026-11-23","summary":"Invoice pre-accounting agent v2.3: account-assignment rule for supplier ref S-0192 changed from account 4980 to 4930; prompt template v14; effective for invoices captured from 2026-11-24; approved by role FIN-1; Verfahrensdokumentation section 4.2 updated to version 7","action_sha256":"<sha256 of the exported rule file>"}},"also":["Needs your API key (or accept_terms:true once to open a free account; the key comes back once). It returns a ledger-committed receipt of what you submitted and when, kept outside both the agent and your accounting system.","It doesn't replace the change log in your accounting software or your Verfahrensdokumentation, and it proves the entry was recorded, not that the change was made as described. Keep names, tax numbers and bank details out of summary; the hash ties the receipt to the exact rule file."],"scope":"Rightshold isn't an accounting system or an archive for GoBD records, doesn't connect to your accounting software, and doesn't check whether your bookkeeping meets the GoBD. Paragraph numbers and content are from the BMF letter of November 28, 2019 as amended on March 11, 2024 and July 14, 2025, read in German on November 23, 2026; the English wording and the application to AI agents are ours, since the GoBD don't mention AI. Not tax or legal advice; ask a Steuerberater about your setup."},"sources":[{"title":"BMF: GoBD, BMF letter of November 28, 2019 as amended March 11, 2024 (AO-Handbuch 2026, Anhang 33)","url":"https://ao.bundesfinanzministerium.de/ao/2026/Anhaenge/BMF-Schreiben-und-gleichlautende-Laendererlasse/Anhang-33/anhang-33.html"},{"title":"BMF: GoBD, 2nd amendment of July 14, 2025 (e-invoices, Rz. 119, Rz. 185)","url":"https://www.bundesfinanzministerium.de/Content/DE/Downloads/BMF_Schreiben/Weitere_Steuerthemen/Abgabenordnung/2025-07-14-GoBD-2-aenderung.pdf"}],"related":[{"title":"Prove small business books weren't edited after the fact","url":"https://www.rightshold.com/answers/how-to-prove-small-business-books-werent-edited-after-the-fact"},{"title":"Catch backdated entries posted into a closed month","url":"https://www.rightshold.com/answers/how-to-catch-backdated-entries-posted-into-a-closed-month-after-month-end-close"},{"title":"Make an AI agent's audit log append-only","url":"https://www.rightshold.com/answers/how-to-make-an-ai-agents-audit-log-append-only-so-even-an-admin-cant-silently-delete-entries"},{"title":"What sales suppression zapper software is and how to prove POS records weren't altered","url":"https://www.rightshold.com/answers/what-is-sales-suppression-zapper-software-and-how-do-you-prove-your-pos-sales-records-werent-altered"}],"computed_from":"Curated guidance; license verdicts computed from Rightshold's license profiles at render time. Not legal advice.","updated":"2026-11-23"}