[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"docs:concepts":3},{"versions":4,"version":26,"nav":28,"path":37,"kind":106,"page":107},[5,10,13,16,18,20,22,24],{"name":6,"label":7,"prefix":8,"channel":9},"0.7","0.7 (latest)","","latest",{"name":11,"label":12,"prefix":11,"channel":11},"next","next (unreleased)",{"name":14,"label":14,"prefix":14,"channel":15},"0.6","old",{"name":17,"label":17,"prefix":17,"channel":15},"0.5",{"name":19,"label":19,"prefix":19,"channel":15},"0.4",{"name":21,"label":21,"prefix":21,"channel":15},"0.3",{"name":23,"label":23,"prefix":23,"channel":15},"0.2",{"name":25,"label":25,"prefix":25,"channel":15},"0.1",{"name":6,"label":7,"prefix":8,"channel":9,"base":27},"\u002Fdocs",[29,33,36,39,42,45,48,51,54,57,60,63,66,69,72,75,78,81,84,87,91,94,97,100,103],{"slug":30,"title":31,"preview":32},"index","Home",false,{"slug":34,"title":35,"preview":32},"getting-started","Getting started",{"slug":37,"title":38,"preview":32},"concepts","E-invoicing basics",{"slug":40,"title":41,"preview":32},"examples","Examples",{"slug":43,"title":44,"preview":32},"building-invoices","Building invoices",{"slug":46,"title":47,"preview":32},"formats","Formats and profiles",{"slug":49,"title":50,"preview":32},"validation","Validation",{"slug":52,"title":53,"preview":32},"templates","Templates and design",{"slug":55,"title":56,"preview":32},"documents","Quotes and other documents",{"slug":58,"title":59,"preview":32},"reading","Reading incoming invoices",{"slug":61,"title":62,"preview":32},"laravel","Laravel integration",{"slug":64,"title":65,"preview":32},"configuration","Configuration",{"slug":67,"title":68,"preview":32},"commands","Artisan commands",{"slug":70,"title":71,"preview":32},"testing","Testing",{"slug":73,"title":74,"preview":32},"country-packs","Country packs",{"slug":76,"title":77,"parent":74,"preview":32},"country-at","Austria",{"slug":79,"title":80,"parent":74,"preview":32},"country-be","Belgium",{"slug":82,"title":83,"parent":74,"preview":32},"country-ch","Switzerland",{"slug":85,"title":86,"parent":74,"preview":32},"country-fr","France",{"slug":88,"title":89,"preview":90},"managed","Managed layer (preview)",true,{"slug":92,"title":93,"preview":32},"troubleshooting","Troubleshooting",{"slug":95,"title":96,"preview":32},"faq","FAQ",{"slug":98,"title":99,"preview":32},"compatibility","Versioning and compatibility",{"slug":101,"title":102,"preview":32},"field-reference","Field reference",{"slug":104,"title":105,"preview":32},"ai","AI assistants","page",{"title":38,"description":108,"html":109,"headings":110,"editUrl":138,"markdownUrl":139,"prev":140,"next":141},"This page explains the terms you meet in Quittio and in this documentation, in about five minutes.","\u003Ch1 id=\"e-invoicing-basics\">E-invoicing basics\u003C\u002Fh1>\n\u003Cp>This page explains the terms you meet in Quittio and in this documentation, in about five minutes. You do not need to know them to render a first invoice (\u003Ca href=\"\u002Fdocs\u002Fgetting-started\">Getting started\u003C\u002Fa>), but they explain why Quittio asks for certain data and what the formats and error codes mean.\u003C\u002Fp>\n\u003Ch2 id=\"what-an-e-invoice-is\">What an e-invoice is\u003Ca class=\"q-doc-anchor\" href=\"#what-an-e-invoice-is\" aria-label=\"Link to this section\">#\u003C\u002Fa>\u003C\u002Fh2>\n\u003Cp>An e-invoice is an invoice in a structured, machine-readable format: an XML file that accounting software can read without a person typing the values. A PDF that only shows the invoice is not an e-invoice, even when it is sent by e-mail.\u003C\u002Fp>\n\u003Cp>Many countries now require e-invoices between businesses. In Germany every domestic business must be able to receive them since 2025; sending them becomes mandatory step by step until 2028, with exceptions such as invoices up to 250 € (\u003Ca href=\"\u002Fdocs\u002Fcountry-packs#germany-quittiocountry-de\">German country pack\u003C\u002Fa>). Invoices to consumers are not affected.\u003C\u002Fp>\n\u003Cp>Quittio produces both parts from one set of data: the XML for the software and, where useful, a PDF for people.\u003C\u002Fp>\n\u003Ch2 id=\"en-16931-and-business-terms\">EN 16931 and business terms\u003Ca class=\"q-doc-anchor\" href=\"#en-16931-and-business-terms\" aria-label=\"Link to this section\">#\u003C\u002Fa>\u003C\u002Fh2>\n\u003Cp>\u003Cstrong>EN 16931\u003C\u002Fstrong> is the European standard that defines what an e-invoice contains: seller, buyer, lines, VAT, totals, payment and so on. Every national format in the EU is based on it.\u003C\u002Fp>\n\u003Cp>The standard gives every field a number:\u003C\u002Fp>\n\u003Ctable class=\"q-doc-table q-stack-table\">\n\u003Cthead>\n\u003Ctr>\n\u003Cth>Abbreviation\u003C\u002Fth>\n\u003Cth>Meaning\u003C\u002Fth>\n\u003Cth>Example\u003C\u002Fth>\n\u003C\u002Ftr>\n\u003C\u002Fthead>\n\u003Ctbody>\n\u003Ctr>\n\u003Ctd>BT-\u003Cem>n\u003C\u002Fem>\u003C\u002Ftd>\n\u003Ctd data-label=\"Meaning\">Business term: a single field\u003C\u002Ftd>\n\u003Ctd data-label=\"Example\">BT-1 invoice number, BT-27 seller name, BT-10 buyer reference\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>BG-\u003Cem>n\u003C\u002Fem>\u003C\u002Ftd>\n\u003Ctd data-label=\"Meaning\">Business group: a group of fields\u003C\u002Ftd>\n\u003Ctd data-label=\"Example\">BG-5 seller address, BG-25 invoice line\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftbody>\n\u003C\u002Ftable>\n\u003Cp>This documentation names these numbers in parentheses, e.g. &quot;buyer reference (BT-10)&quot;, because validation messages and the formats use them. You never type them in your code: the builder methods have plain names (\u003Ccode>buyerReference()\u003C\u002Fcode>). The \u003Ca href=\"\u002Fdocs\u002Ffield-reference\">Field reference\u003C\u002Fa> lists every field with its number.\u003C\u002Fp>\n\u003Ch2 id=\"syntaxes-cii-and-ubl\">Syntaxes: CII and UBL\u003Ca class=\"q-doc-anchor\" href=\"#syntaxes-cii-and-ubl\" aria-label=\"Link to this section\">#\u003C\u002Fa>\u003C\u002Fh2>\n\u003Cp>EN 16931 describes the content, not the file. Two XML \u003Cstrong>syntaxes\u003C\u002Fstrong> write it down:\u003C\u002Fp>\n\u003Ctable class=\"q-doc-table q-stack-table\">\n\u003Cthead>\n\u003Ctr>\n\u003Cth>Syntax\u003C\u002Fth>\n\u003Cth>Full name\u003C\u002Fth>\n\u003Cth>Used by\u003C\u002Fth>\n\u003C\u002Ftr>\n\u003C\u002Fthead>\n\u003Ctbody>\n\u003Ctr>\n\u003Ctd>CII\u003C\u002Ftd>\n\u003Ctd data-label=\"Full name\">UN\u002FCEFACT Cross Industry Invoice\u003C\u002Ftd>\n\u003Ctd data-label=\"Used by\">ZUGFeRD\u002FFactur-X, XRechnung\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>UBL\u003C\u002Ftd>\n\u003Ctd data-label=\"Full name\">OASIS Universal Business Language 2.1\u003C\u002Ftd>\n\u003Ctd data-label=\"Used by\">Peppol, XRechnung\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftbody>\n\u003C\u002Ftable>\n\u003Cp>Both carry the same information. Which one you need depends on the format the recipient expects.\u003C\u002Fp>\n\u003Ch2 id=\"formats\">Formats\u003Ca class=\"q-doc-anchor\" href=\"#formats\" aria-label=\"Link to this section\">#\u003C\u002Fa>\u003C\u002Fh2>\n\u003Cp>A \u003Cstrong>format\u003C\u002Fstrong> is what Quittio produces. The common ones:\u003C\u002Fp>\n\u003Ctable class=\"q-doc-table q-stack-table\">\n\u003Cthead>\n\u003Ctr>\n\u003Cth>Format\u003C\u002Fth>\n\u003Cth>What it is\u003C\u002Fth>\n\u003Cth>Typical recipient\u003C\u002Fth>\n\u003C\u002Ftr>\n\u003C\u002Fthead>\n\u003Ctbody>\n\u003Ctr>\n\u003Ctd>ZUGFeRD \u002F Factur-X\u003C\u002Ftd>\n\u003Ctd data-label=\"What it is\">A PDF (PDF\u002FA-3) with the CII XML embedded: people read the PDF, software reads the XML. ZUGFeRD (Germany) and Factur-X (France) are the same standard.\u003C\u002Ftd>\n\u003Ctd data-label=\"Typical recipient\">Businesses\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>XRechnung\u003C\u002Ftd>\n\u003Ctd data-label=\"What it is\">The German standard for public authorities: an XML file only, CII or UBL, with additional German rules\u003C\u002Ftd>\n\u003Ctd data-label=\"Typical recipient\">Public buyers in Germany\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Peppol BIS Billing\u003C\u002Ftd>\n\u003Ctd data-label=\"What it is\">UBL XML sent over the Peppol network, an international delivery network for e-invoices\u003C\u002Ftd>\n\u003Ctd data-label=\"Typical recipient\">Businesses and authorities connected to Peppol\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>CII, UBL\u003C\u002Ftd>\n\u003Ctd data-label=\"What it is\">Plain XML in either syntax\u003C\u002Ftd>\n\u003Ctd data-label=\"Typical recipient\">Recipients that ask for it\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>PDF\u003C\u002Ftd>\n\u003Ctd data-label=\"What it is\">A PDF without XML (PDF\u002FA-3 for archiving)\u003C\u002Ftd>\n\u003Ctd data-label=\"Typical recipient\">Consumers, small amount invoices, countries without an obligation\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftbody>\n\u003C\u002Ftable>\n\u003Cp>\u003Ca href=\"\u002Fdocs\u002Fformats\">Formats and profiles\u003C\u002Fa> lists every format with its keys (\u003Ccode>zugferd\u003C\u002Fcode>, \u003Ccode>xrechnung-cii\u003C\u002Fcode> …).\u003C\u002Fp>\n\u003Ch2 id=\"profiles\">Profiles\u003Ca class=\"q-doc-anchor\" href=\"#profiles\" aria-label=\"Link to this section\">#\u003C\u002Fa>\u003C\u002Fh2>\n\u003Cp>A \u003Cstrong>profile\u003C\u002Fstrong> decides how much of EN 16931 an XML file contains and which extra rules apply. ZUGFeRD\u002FFactur-X has the levels MINIMUM, BASIC WL, BASIC, EN 16931 and EXTENDED; XRechnung and Peppol are profiles with national or network rules on top of EN 16931.\u003C\u002Fp>\n\u003Ctable class=\"q-doc-table q-stack-table\">\n\u003Cthead>\n\u003Ctr>\n\u003Cth>Profile\u003C\u002Fth>\n\u003Cth>Use\u003C\u002Fth>\n\u003C\u002Ftr>\n\u003C\u002Fthead>\n\u003Ctbody>\n\u003Ctr>\n\u003Ctd>\u003Ccode>en16931\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd data-label=\"Use\">The standard itself; the default for business invoices\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>extended\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd data-label=\"Use\">More fields than EN 16931 (e.g. sub lines); Quittio switches to it automatically when you use them\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>xrechnung\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd data-label=\"Use\">XRechnung rules (public buyers in Germany)\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>peppol\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd data-label=\"Use\">Peppol BIS Billing 3.0\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>minimum\u003C\u002Fcode>, \u003Ccode>basic-wl\u003C\u002Fcode>, \u003Ccode>basic\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd data-label=\"Use\">Reduced levels without (all) lines; not valid e-invoices under EN 16931, only for recipients that ask for them\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftbody>\n\u003C\u002Ftable>\n\u003Cp>You rarely choose a profile yourself: each format has a default, and the \u003Ca href=\"\u002Fdocs\u002Fformats#automatic-choice\">automatic choice\u003C\u002Fa> picks format and profile from the invoice.\u003C\u002Fp>\n\u003Ch2 id=\"rules-and-validation\">Rules and validation\u003Ca class=\"q-doc-anchor\" href=\"#rules-and-validation\" aria-label=\"Link to this section\">#\u003C\u002Fa>\u003C\u002Fh2>\n\u003Cp>The standards come with \u003Cstrong>business rules\u003C\u002Fstrong>: conditions every invoice must meet, such as &quot;the sum of the line amounts equals the net total&quot; or &quot;a seller address is required&quot;. They have codes, and Quittio's error messages show them:\u003C\u002Fp>\n\u003Ctable class=\"q-doc-table q-stack-table\">\n\u003Cthead>\n\u003Ctr>\n\u003Cth>Code\u003C\u002Fth>\n\u003Cth>Source\u003C\u002Fth>\n\u003C\u002Ftr>\n\u003C\u002Fthead>\n\u003Ctbody>\n\u003Ctr>\n\u003Ctd>\u003Ccode>BR-…\u003C\u002Fcode>, \u003Ccode>BR-CO-…\u003C\u002Fcode>, \u003Ccode>BR-CL-…\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd data-label=\"Source\">EN 16931 (e.g. \u003Ccode>BR-CO-26\u003C\u002Fcode>: the seller needs a VAT identifier or another identifier)\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>BR-DE-…\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd data-label=\"Source\">XRechnung (Germany)\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>PEPPOL-…\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd data-label=\"Source\">Peppol BIS Billing\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>DE-USTG-…\u003C\u002Fcode>, \u003Ccode>DE-…\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd data-label=\"Source\">Quittio's German country pack: mandatory content of German invoices under the VAT Act (UStG)\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>QUITTIO-…\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd data-label=\"Source\">Quittio itself\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftbody>\n\u003C\u002Ftable>\n\u003Cp>Quittio checks an invoice before it renders it. An error stops the rendering with a \u003Ccode>ValidationException\u003C\u002Fcode> that names the rule, the field and a hint; warnings are reported but do not stop it. Optional external validators (the official KoSIT validator for XRechnung and EN 16931, veraPDF for PDF\u002FA) check the finished files. See \u003Ca href=\"\u002Fdocs\u002Fvalidation\">Validation\u003C\u002Fa> and, for common errors, \u003Ca href=\"\u002Fdocs\u002Ftroubleshooting\">Troubleshooting\u003C\u002Fa>.\u003C\u002Fp>\n\u003Ch2 id=\"which-format-do-i-need\">Which format do I need?\u003Ca class=\"q-doc-anchor\" href=\"#which-format-do-i-need\" aria-label=\"Link to this section\">#\u003C\u002Fa>\u003C\u002Fh2>\n\u003Cp>Usually none: without \u003Ccode>-&gt;format()\u003C\u002Fcode>, Quittio chooses for each invoice (\u003Ca href=\"\u002Fdocs\u002Fformats#automatic-choice\">Automatic choice\u003C\u002Fa>). For a German seller:\u003C\u002Fp>\n\u003Ctable class=\"q-doc-table q-stack-table\">\n\u003Cthead>\n\u003Ctr>\n\u003Cth>Your customer\u003C\u002Fth>\n\u003Cth>Format Quittio chooses\u003C\u002Fth>\n\u003Cth>Why\u003C\u002Fth>\n\u003C\u002Ftr>\n\u003C\u002Fthead>\n\u003Ctbody>\n\u003Ctr>\n\u003Ctd>A business in Germany\u003C\u002Ftd>\n\u003Ctd data-label=\"Format Quittio chooses\">ZUGFeRD (profile EN 16931)\u003C\u002Ftd>\n\u003Ctd data-label=\"Why\">E-invoice that is also a readable PDF\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>A public authority in Germany (buyer reference is a Leitweg-ID)\u003C\u002Ftd>\n\u003Ctd data-label=\"Format Quittio chooses\">XRechnung (CII)\u003C\u002Ftd>\n\u003Ctd data-label=\"Why\">Required by public buyers\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>A consumer\u003C\u002Ftd>\n\u003Ctd data-label=\"Format Quittio chooses\">PDF\u003C\u002Ftd>\n\u003Ctd data-label=\"Why\">No e-invoice obligation\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Any customer in Germany, invoice up to 250 € marked with \u003Ccode>-&gt;de()-&gt;smallAmount()\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd data-label=\"Format Quittio chooses\">PDF\u003C\u002Ftd>\n\u003Ctd data-label=\"Why\">Small amount invoices are exempt\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>A business in another EU country\u003C\u002Ftd>\n\u003Ctd data-label=\"Format Quittio chooses\">ZUGFeRD (profile EN 16931)\u003C\u002Ftd>\n\u003Ctd data-label=\"Why\">Readable PDF with standard XML\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>A business reachable via Peppol (with a Peppol lookup)\u003C\u002Ftd>\n\u003Ctd data-label=\"Format Quittio chooses\">Peppol BIS\u003C\u002Ftd>\n\u003Ctd data-label=\"Why\">Delivery over the Peppol network\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>A customer outside the EU\u003C\u002Ftd>\n\u003Ctd data-label=\"Format Quittio chooses\">PDF\u003C\u002Ftd>\n\u003Ctd data-label=\"Why\">No EU e-invoice rules\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftbody>\n\u003C\u002Ftable>\n\u003Cp>Ask for a format with \u003Ccode>-&gt;render('xrechnung-cii')\u003C\u002Fcode> or \u003Ccode>-&gt;format(…)\u003C\u002Fcode> when a customer requires a specific one.\u003C\u002Fp>\n\u003Ch2 id=\"how-quittio-works\">How Quittio works\u003Ca class=\"q-doc-anchor\" href=\"#how-quittio-works\" aria-label=\"Link to this section\">#\u003C\u002Fa>\u003C\u002Fh2>\n\u003Cdiv class=\"q-doc-code\">\u003Cdiv class=\"q-doc-code-bar\">\u003Cspan>text\u003C\u002Fspan>\u003Cbutton type=\"button\" class=\"q-doc-copy\" data-copy aria-label=\"Copy code\">\u003Csvg xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\">\u003Crect width=\"14\" height=\"14\" x=\"8\" y=\"8\" rx=\"2\"\u002F>\u003Cpath d=\"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2\"\u002F>\u003C\u002Fsvg>\u003Cspan>Copy\u003C\u002Fspan>\u003C\u002Fbutton>\u003C\u002Fdiv>\u003Cpre class=\"shiki github-dark-default\" style=\"background-color:#0d1117;color:#e6edf3\" tabindex=\"0\">\u003Ccode>\u003Cspan class=\"line\" style=\"padding-left:2ch;text-indent:-2ch\">\u003Cspan>config\u002Fquittio.php ──► Quittio::invoice() ──► …->line(…)->buyer(…) ──► render()\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\" style=\"padding-left:5ch;text-indent:-5ch\">\u003Cspan>   (your company)        (invoice builder)       (your invoice data)        │\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\" style=\"padding-left:79ch;text-indent:-79ch\">\u003Cspan>                                                                             ▼\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\" style=\"padding-left:15ch;text-indent:-15ch\">\u003Cspan>             calculation → format and profile → validation → XML and PDF → result\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\" style=\"padding-left:79ch;text-indent:-79ch\">\u003Cspan>                                                                             │\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\" style=\"padding-left:55ch;text-indent:-55ch\">\u003Cspan>                                                     $result->pdf(), ->xml(), ->save(), ->download()\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\u003C\u002Fdiv>\n\u003Col>\n\u003Cli>\u003Cstrong>Configuration:\u003C\u002Fstrong> your company (the seller), bank account and defaults are set once in \u003Ccode>config\u002Fquittio.php\u003C\u002Fcode> (\u003Ca href=\"\u002Fdocs\u002Fconfiguration\">Configuration\u003C\u002Fa>).\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Building:\u003C\u002Fstrong> \u003Ccode>Quittio::invoice()\u003C\u002Fcode> starts an invoice with that seller; you add the number, customer, lines and payment terms (\u003Ca href=\"\u002Fdocs\u002Fbuilding-invoices\">Building invoices\u003C\u002Fa>).\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Rendering:\u003C\u002Fstrong> \u003Ccode>render()\u003C\u002Fcode> calculates totals and VAT, chooses format and profile, validates, writes the XML and renders the PDF from a template (\u003Ca href=\"\u002Fdocs\u002Ftemplates\">Templates and design\u003C\u002Fa>). You never calculate totals yourself.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Result:\u003C\u002Fstrong> a \u003Ccode>RenderedInvoice\u003C\u002Fcode> with the PDF, the XML, a file name and the validation result, which you save, download or mail (\u003Ca href=\"\u002Fdocs\u002Flaravel\">Laravel integration\u003C\u002Fa>).\u003C\u002Fli>\n\u003C\u002Fol>\n\u003Cp>Everything country-specific, such as German VAT rates, legal texts, XRechnung and the DIN 5008 letter layout, comes from a \u003Cstrong>country pack\u003C\u002Fstrong> (\u003Ca href=\"\u002Fdocs\u002Fcountry-packs\">Country packs\u003C\u002Fa>); \u003Ccode>quittio\u002Fquittio\u003C\u002Fcode> includes the one for Germany. The optional \u003Cstrong>Managed layer\u003C\u002Fstrong> (not released yet) adds gapless numbering, an archive, cancellations and corrections as stored records (\u003Ca href=\"\u002Fdocs\u002Fmanaged\">Managed layer\u003C\u002Fa>).\u003C\u002Fp>\n\u003Ch2 id=\"german-terms\">German terms\u003Ca class=\"q-doc-anchor\" href=\"#german-terms\" aria-label=\"Link to this section\">#\u003C\u002Fa>\u003C\u002Fh2>\n\u003Cp>Quittio prints German invoices with German wording, and some German legal terms have no exact English equivalent. This documentation keeps the German term where it is the text on the invoice or the legal name, with an English explanation:\u003C\u002Fp>\n\u003Ctable class=\"q-doc-table q-stack-table\">\n\u003Cthead>\n\u003Ctr>\n\u003Cth>German\u003C\u002Fth>\n\u003Cth>English\u003C\u002Fth>\n\u003Cth>Note\u003C\u002Fth>\n\u003C\u002Ftr>\n\u003C\u002Fthead>\n\u003Ctbody>\n\u003Ctr>\n\u003Ctd>Rechnung\u003C\u002Ftd>\n\u003Ctd data-label=\"English\">Invoice\u003C\u002Ftd>\n\u003Ctd data-label=\"Note\">\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Gutschrift\u003C\u002Ftd>\n\u003Ctd data-label=\"English\">Self-billed invoice\u003C\u002Ftd>\n\u003Ctd data-label=\"Note\">Issued by the buyer for the seller's supply (type code 389), not a refund\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Rechnungskorrektur\u003C\u002Ftd>\n\u003Ctd data-label=\"English\">Invoice correction\u003C\u002Ftd>\n\u003Ctd data-label=\"Note\">Title of credit notes (type code 381) and of corrections issued with the German pack (corrected invoice, type code 384)\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Korrigierte Rechnung\u003C\u002Ftd>\n\u003Ctd data-label=\"English\">Corrected invoice\u003C\u002Ftd>\n\u003Ctd data-label=\"Note\">Title of type code 384 outside the German correction policy\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Stornorechnung\u003C\u002Ftd>\n\u003Ctd data-label=\"English\">Cancellation invoice\u003C\u002Ftd>\n\u003Ctd data-label=\"Note\">Cancels an issued invoice\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Anzahlungsrechnung, Abschlagsrechnung, Schlussrechnung\u003C\u002Ftd>\n\u003Ctd data-label=\"English\">Advance payment invoice, partial invoice, final invoice\u003C\u002Ftd>\n\u003Ctd data-label=\"Note\">\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Angebot, Auftragsbestätigung, Lieferschein\u003C\u002Ftd>\n\u003Ctd data-label=\"English\">Quote, order confirmation, delivery note\u003C\u002Ftd>\n\u003Ctd data-label=\"Note\">\u003Ca href=\"\u002Fdocs\u002Fdocuments\">Documents\u003C\u002Fa>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Zahlungserinnerung, Mahnung\u003C\u002Ftd>\n\u003Ctd data-label=\"English\">Payment reminder, reminder\u003C\u002Ftd>\n\u003Ctd data-label=\"Note\">&quot;1. Mahnung&quot; is the first reminder after the payment reminder\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Leistungsdatum, Leistungszeitraum\u003C\u002Ftd>\n\u003Ctd data-label=\"English\">Date of supply, period of supply\u003C\u002Ftd>\n\u003Ctd data-label=\"Note\">Mandatory on German invoices\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Skonto\u003C\u002Ftd>\n\u003Ctd data-label=\"English\">Cash discount\u003C\u002Ftd>\n\u003Ctd data-label=\"Note\">\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Übertrag\u003C\u002Ftd>\n\u003Ctd data-label=\"English\">Carried forward\u003C\u002Ftd>\n\u003Ctd data-label=\"Note\">Running total at a page break\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>USt-IdNr.\u003C\u002Ftd>\n\u003Ctd data-label=\"English\">VAT identification number\u003C\u002Ftd>\n\u003Ctd data-label=\"Note\">e.g. DE123456789\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Steuernummer (St.-Nr.)\u003C\u002Ftd>\n\u003Ctd data-label=\"English\">Tax number\u003C\u002Ftd>\n\u003Ctd data-label=\"Note\">Issued by the local tax office\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Kleinunternehmer\u003C\u002Ftd>\n\u003Ctd data-label=\"English\">Small business\u003C\u002Ftd>\n\u003Ctd data-label=\"Note\">Charges no VAT (section 19 UStG)\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Steuerschuldnerschaft des Leistungsempfängers\u003C\u002Ftd>\n\u003Ctd data-label=\"English\">Reverse charge\u003C\u002Ftd>\n\u003Ctd data-label=\"Note\">The buyer owes the VAT (section 13b UStG)\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Innergemeinschaftliche Lieferung\u003C\u002Ftd>\n\u003Ctd data-label=\"English\">Intra-community supply\u003C\u002Ftd>\n\u003Ctd data-label=\"Note\">Tax-exempt supply of goods to a business in another EU country\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Leitweg-ID\u003C\u002Ftd>\n\u003Ctd data-label=\"English\">Routing ID of a German public buyer\u003C\u002Ftd>\n\u003Ctd data-label=\"Note\">Goes into the buyer reference (BT-10) of an XRechnung\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>UStG\u003C\u002Ftd>\n\u003Ctd data-label=\"English\">German VAT Act (Umsatzsteuergesetz)\u003C\u002Ftd>\n\u003Ctd data-label=\"Note\">\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>GoBD\u003C\u002Ftd>\n\u003Ctd data-label=\"English\">German rules for digital bookkeeping and retention\u003C\u002Ftd>\n\u003Ctd data-label=\"Note\">\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>KoSIT\u003C\u002Ftd>\n\u003Ctd data-label=\"English\">Agency that publishes XRechnung and its validator\u003C\u002Ftd>\n\u003Ctd data-label=\"Note\">\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>DIN 5008\u003C\u002Ftd>\n\u003Ctd data-label=\"English\">German standard for business letters\u003C\u002Ftd>\n\u003Ctd data-label=\"Note\">Address field and fold marks of the PDF\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftbody>\n\u003C\u002Ftable>\n",[111,115,118,121,123,126,129,132,135],{"id":112,"text":113,"level":114},"what-an-e-invoice-is","What an e-invoice is",2,{"id":116,"text":117,"level":114},"en-16931-and-business-terms","EN 16931 and business terms",{"id":119,"text":120,"level":114},"syntaxes-cii-and-ubl","Syntaxes: CII and UBL",{"id":46,"text":122,"level":114},"Formats",{"id":124,"text":125,"level":114},"profiles","Profiles",{"id":127,"text":128,"level":114},"rules-and-validation","Rules and validation",{"id":130,"text":131,"level":114},"which-format-do-i-need","Which format do I need?",{"id":133,"text":134,"level":114},"how-quittio-works","How Quittio works",{"id":136,"text":137,"level":114},"german-terms","German terms","https:\u002F\u002Fgithub.com\u002FQuittio\u002Fquittio\u002Fedit\u002Fmaster\u002Fdocs\u002Fconcepts.md","\u002Fdocs\u002Fconcepts.md",{"slug":34,"title":35},{"slug":40,"title":41}]