[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"docs:api\u002FQuittio\u002FLaravel":3},{"versions":4,"version":26,"nav":28,"path":106,"kind":107,"page":108},[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","api\u002FQuittio\u002FLaravel","api",{"title":109,"description":110,"html":111,"headings":112},"Quittio\\Laravel","The public classes in Quittio\\Laravel.","\u003Cp class=\"q-api-crumbs\">\u003Ca href=\"\u002Fdocs\u002Fapi\">API reference\u003C\u002Fa>\u003C\u002Fp>\n\u003Ch1>Quittio\\Laravel\u003C\u002Fh1>\n\u003Ch2 id=\"package-laravel\">quittio\u002Flaravel\u003Ca class=\"q-doc-anchor\" href=\"#package-laravel\" aria-label=\"Link to this section\">#\u003C\u002Fa>\u003C\u002Fh2>\n\u003Ch3 class=\"q-api-namespace\">\u003Ca href=\"\u002Fdocs\u002Fapi\u002FQuittio\u002FLaravel\">Quittio\\Laravel\u003C\u002Fa>\u003C\u002Fh3>\u003Cul class=\"q-api-list\">\n\u003Cli>\u003Ca href=\"\u002Fdocs\u002Fapi\u002FQuittio\u002FLaravel\u002FQuittioManager\">\u003Ccode>QuittioManager\u003C\u002Fcode>\u003C\u002Fa>\u003Cspan>Root of the Quittio facade: builds the core from the Laravel configuration, adds events, Blade templates, storage and extension points.\u003C\u002Fspan>\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"\u002Fdocs\u002Fapi\u002FQuittio\u002FLaravel\u002FQuittioServiceProvider\">\u003Ccode>QuittioServiceProvider\u003C\u002Fcode>\u003C\u002Fa>\u003Cspan>Registers the Quittio manager, configuration, views, translations, commands and the local preview route.\u003C\u002Fspan>\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"\u002Fdocs\u002Fapi\u002FQuittio\u002FLaravel\u002FSeller\">\u003Ccode>Seller\u003C\u002Fcode>\u003C\u002Fa>\u003Cspan>Seller from config\u002Fquittio.php (when the Managed layer is not in use).\u003C\u002Fspan>\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch3 class=\"q-api-namespace\">\u003Ca href=\"\u002Fdocs\u002Fapi\u002FQuittio\u002FLaravel\u002FBuilder\">Quittio\\Laravel\\Builder\u003C\u002Fa>\u003C\u002Fh3>\u003Cul class=\"q-api-list\">\n\u003Cli>\u003Ca href=\"\u002Fdocs\u002Fapi\u002FQuittio\u002FLaravel\u002FBuilder\u002FConfigInvoiceDefaults\">\u003Ccode>ConfigInvoiceDefaults\u003C\u002Fcode>\u003C\u002Fa>\u003Cspan>The seller, its first bank account and the small business flag of config\u002Fquittio.php.\u003C\u002Fspan>\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"\u002Fdocs\u002Fapi\u002FQuittio\u002FLaravel\u002FBuilder\u002FRenderableDocumentBuilder\">\u003Ccode>RenderableDocumentBuilder\u003C\u002Fcode>\u003C\u002Fa>\u003Cspan>The document builder of Quittio::quote(), deliveryNote(), paymentReminder() …: renders itself at the end of the chain.\u003C\u002Fspan>\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"\u002Fdocs\u002Fapi\u002FQuittio\u002FLaravel\u002FBuilder\u002FRenderableInvoiceBuilder\">\u003Ccode>RenderableInvoiceBuilder\u003C\u002Fcode>\u003C\u002Fa>\u003Cspan>The invoice builder of Quittio::invoice(): renders (or checks) itself at the end of the chain.\u003C\u002Fspan>\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch3 class=\"q-api-namespace\">\u003Ca href=\"\u002Fdocs\u002Fapi\u002FQuittio\u002FLaravel\u002FContracts\">Quittio\\Laravel\\Contracts\u003C\u002Fa>\u003C\u002Fh3>\u003Cul class=\"q-api-list\">\n\u003Cli>\u003Ca href=\"\u002Fdocs\u002Fapi\u002FQuittio\u002FLaravel\u002FContracts\u002FInvoiceDefaults\">\u003Ccode>InvoiceDefaults\u003C\u002Fcode>\u003C\u002Fa> \u003Cspan class=\"q-api-badge\">interface\u003C\u002Fspan>\u003Cspan>Sets the seller and its defaults (bank account, small business flag …) on the builders of Quittio::invoice() and of the document methods (Quittio::quote() …). The default binding takes them from config\u002Fquittio.php (ConfigInvoiceDefaults, Seller::apply()); quittio\u002Fmanaged binds the current issuer.\u003C\u002Fspan>\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"\u002Fdocs\u002Fapi\u002FQuittio\u002FLaravel\u002FContracts\u002FManagedInstaller\">\u003Ccode>ManagedInstaller\u003C\u002Fcode>\u003C\u002Fa> \u003Cspan class=\"q-api-badge\">interface\u003C\u002Fspan>\u003Cspan>Implemented by quittio\u002Fmanaged: runs &quot;quittio:install --managed&quot; (migrations, first issuer).\u003C\u002Fspan>\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"\u002Fdocs\u002Fapi\u002FQuittio\u002FLaravel\u002FContracts\u002FManagedInvoiceRenderer\">\u003Ccode>ManagedInvoiceRenderer\u003C\u002Fcode>\u003C\u002Fa> \u003Cspan class=\"q-api-badge\">interface\u003C\u002Fspan>\u003Cspan>Implemented by quittio\u002Fmanaged: renders a stored invoice again (&quot;quittio:render {invoice}&quot;).\u003C\u002Fspan>\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch3 class=\"q-api-namespace\">\u003Ca href=\"\u002Fdocs\u002Fapi\u002FQuittio\u002FLaravel\u002FEvents\">Quittio\\Laravel\\Events\u003C\u002Fa>\u003C\u002Fh3>\u003Cul class=\"q-api-list\">\n\u003Cli>\u003Ca href=\"\u002Fdocs\u002Fapi\u002FQuittio\u002FLaravel\u002FEvents\u002FDocumentRendered\">\u003Ccode>DocumentRendered\u003C\u002Fcode>\u003C\u002Fa>\u003Cspan>Dispatched after a document (quote, reminder, …) was rendered.\u003C\u002Fspan>\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"\u002Fdocs\u002Fapi\u002FQuittio\u002FLaravel\u002FEvents\u002FDocumentRendering\">\u003Ccode>DocumentRendering\u003C\u002Fcode>\u003C\u002Fa>\u003Cspan>Dispatched before a quote, order confirmation, delivery note, proforma invoice, payment reminder or account statement is calculated and rendered.\u003C\u002Fspan>\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"\u002Fdocs\u002Fapi\u002FQuittio\u002FLaravel\u002FEvents\u002FInvoiceRendered\">\u003Ccode>InvoiceRendered\u003C\u002Fcode>\u003C\u002Fa>\u003Cspan>Dispatched after all requested formats were produced.\u003C\u002Fspan>\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"\u002Fdocs\u002Fapi\u002FQuittio\u002FLaravel\u002FEvents\u002FInvoiceRendering\">\u003Ccode>InvoiceRendering\u003C\u002Fcode>\u003C\u002Fa>\u003Cspan>Dispatched before an invoice is calculated, validated and rendered.\u003C\u002Fspan>\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"\u002Fdocs\u002Fapi\u002FQuittio\u002FLaravel\u002FEvents\u002FInvoiceValidated\">\u003Ccode>InvoiceValidated\u003C\u002Fcode>\u003C\u002Fa>\u003Cspan>Dispatched after a render run whose validation did not block it, before InvoiceRendered. $result is the validation of the main (first) format: in mode &quot;error&quot; it has no errors (warnings may be present unless validation.block_on_warnings), in mode &quot;warn&quot; it may contain errors, so check $result-&gt;isValid(). Not dispatched in mode &quot;off&quot; (nothing was validated) and not when validation blocked the run (see InvoiceValidationFailed).\u003C\u002Fspan>\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"\u002Fdocs\u002Fapi\u002FQuittio\u002FLaravel\u002FEvents\u002FInvoiceValidationFailed\">\u003Ccode>InvoiceValidationFailed\u003C\u002Fcode>\u003C\u002Fa>\u003Cspan>Dispatched when validation blocked rendering.\u003C\u002Fspan>\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"\u002Fdocs\u002Fapi\u002FQuittio\u002FLaravel\u002FEvents\u002FMandatoryFieldMissing\">\u003Ccode>MandatoryFieldMissing\u003C\u002Fcode>\u003C\u002Fa>\u003Cspan>Dispatched when a template omitted mandatory values.\u003C\u002Fspan>\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"\u002Fdocs\u002Fapi\u002FQuittio\u002FLaravel\u002FEvents\u002FQueuedDocumentFailed\">\u003Ccode>QueuedDocumentFailed\u003C\u002Fcode>\u003C\u002Fa>\u003Cspan>Dispatched when a queued RenderDocument job failed for good: after its last attempt, or at once for errors that another attempt cannot fix. $job-&gt;data() returns the document.\u003C\u002Fspan>\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"\u002Fdocs\u002Fapi\u002FQuittio\u002FLaravel\u002FEvents\u002FQueuedDocumentStored\">\u003Ccode>QueuedDocumentStored\u003C\u002Fcode>\u003C\u002Fa>\u003Cspan>Dispatched by a queued RenderDocument job after it stored the document. DocumentRendered precedes it.\u003C\u002Fspan>\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"\u002Fdocs\u002Fapi\u002FQuittio\u002FLaravel\u002FEvents\u002FQueuedInvoiceFailed\">\u003Ccode>QueuedInvoiceFailed\u003C\u002Fcode>\u003C\u002Fa>\u003Cspan>Dispatched when a queued RenderInvoice job failed for good: after its last attempt, or at once for errors that another attempt cannot fix (validation, invalid data, configuration). $job-&gt;data() returns the invoice.\u003C\u002Fspan>\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"\u002Fdocs\u002Fapi\u002FQuittio\u002FLaravel\u002FEvents\u002FQueuedInvoiceStored\">\u003Ccode>QueuedInvoiceStored\u003C\u002Fcode>\u003C\u002Fa>\u003Cspan>Dispatched by a queued RenderInvoice job after it stored the main output, e.g. to link the stored file to an order. InvoiceRendered precedes it.\u003C\u002Fspan>\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch3 class=\"q-api-namespace\">\u003Ca href=\"\u002Fdocs\u002Fapi\u002FQuittio\u002FLaravel\u002FFacades\">Quittio\\Laravel\\Facades\u003C\u002Fa>\u003C\u002Fh3>\u003Cul class=\"q-api-list\">\n\u003Cli>\u003Ca href=\"\u002Fdocs\u002Fapi\u002FQuittio\u002FLaravel\u002FFacades\u002FQuittio\">\u003Ccode>Quittio\u003C\u002Fcode>\u003C\u002Fa>\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch3 class=\"q-api-namespace\">\u003Ca href=\"\u002Fdocs\u002Fapi\u002FQuittio\u002FLaravel\u002FJobs\">Quittio\\Laravel\\Jobs\u003C\u002Fa>\u003C\u002Fh3>\u003Cul class=\"q-api-list\">\n\u003Cli>\u003Ca href=\"\u002Fdocs\u002Fapi\u002FQuittio\u002FLaravel\u002FJobs\u002FRenderDocument\">\u003Ccode>RenderDocument\u003C\u002Fcode>\u003C\u002Fa>\u003Cspan>Renders a quote, delivery note, reminder or other document in the queue and stores it on a disk. The document travels as versioned JSON snapshot (DocumentData::toSnapshot(), brought up to date by quittio.snapshots.document_upcasters), the render options as versioned JSON. Errors that another attempt cannot fix fail the job at once; others are retried.\u003C\u002Fspan>\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"\u002Fdocs\u002Fapi\u002FQuittio\u002FLaravel\u002FJobs\u002FRenderInvoice\">\u003Ccode>RenderInvoice\u003C\u002Fcode>\u003C\u002Fa>\u003Cspan>Renders an invoice in the queue and stores the main output on a disk.\u003C\u002Fspan>\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch3 class=\"q-api-namespace\">\u003Ca href=\"\u002Fdocs\u002Fapi\u002FQuittio\u002FLaravel\u002FRendering\">Quittio\\Laravel\\Rendering\u003C\u002Fa>\u003C\u002Fh3>\u003Cul class=\"q-api-list\">\n\u003Cli>\u003Ca href=\"\u002Fdocs\u002Fapi\u002FQuittio\u002FLaravel\u002FRendering\u002FDeliversFile\">\u003Ccode>DeliversFile\u003C\u002Fcode>\u003C\u002Fa> \u003Cspan class=\"q-api-badge\">trait\u003C\u002Fspan>\u003Cspan>Download, inline display, mail attachment and storage for rendered files.\u003C\u002Fspan>\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"\u002Fdocs\u002Fapi\u002FQuittio\u002FLaravel\u002FRendering\u002FPendingDocument\">\u003Ccode>PendingDocument\u003C\u002Fcode>\u003C\u002Fa>\u003Cspan>Fluent render call for documents: Quittio::document($quote)-&gt;locale('de')-&gt;render().\u003C\u002Fspan>\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"\u002Fdocs\u002Fapi\u002FQuittio\u002FLaravel\u002FRendering\u002FPendingInvoice\">\u003Ccode>PendingInvoice\u003C\u002Fcode>\u003C\u002Fa>\u003Cspan>Fluent render call: Quittio::make($order)-&gt;profile('en16931')-&gt;format('zugferd')-&gt;locale('de')-&gt;render().\u003C\u002Fspan>\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"\u002Fdocs\u002Fapi\u002FQuittio\u002FLaravel\u002FRendering\u002FQueuedDocument\">\u003Ccode>QueuedDocument\u003C\u002Fcode>\u003C\u002Fa>\u003Cspan>Pending queued render of a document; dispatching happens on save().\u003C\u002Fspan>\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"\u002Fdocs\u002Fapi\u002FQuittio\u002FLaravel\u002FRendering\u002FQueuedInvoice\">\u003Ccode>QueuedInvoice\u003C\u002Fcode>\u003C\u002Fa>\u003Cspan>Pending queued render; dispatching happens on save().\u003C\u002Fspan>\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"\u002Fdocs\u002Fapi\u002FQuittio\u002FLaravel\u002FRendering\u002FRenderedDocument\">\u003Ccode>RenderedDocument\u003C\u002Fcode>\u003C\u002Fa>\u003Cspan>Rendered quote, delivery note, reminder or statement for Laravel.\u003C\u002Fspan>\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"\u002Fdocs\u002Fapi\u002FQuittio\u002FLaravel\u002FRendering\u002FRenderedInvoice\">\u003Ccode>RenderedInvoice\u003C\u002Fcode>\u003C\u002Fa>\u003Cspan>Rendered invoice for Laravel: usable as mail attachment and as HTTP response, storable on any filesystem disk.\u003C\u002Fspan>\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch3 class=\"q-api-namespace\">\u003Ca href=\"\u002Fdocs\u002Fapi\u002FQuittio\u002FLaravel\u002FSupport\">Quittio\\Laravel\\Support\u003C\u002Fa>\u003C\u002Fh3>\u003Cul class=\"q-api-list\">\n\u003Cli>\u003Ca href=\"\u002Fdocs\u002Fapi\u002FQuittio\u002FLaravel\u002FSupport\u002FSettings\">\u003Ccode>Settings\u003C\u002Fcode>\u003C\u002Fa>\u003Cspan>Typed read access to a configuration array (&quot;quittio&quot; by default) with dot notation.\u003C\u002Fspan>\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch3 class=\"q-api-namespace\">\u003Ca href=\"\u002Fdocs\u002Fapi\u002FQuittio\u002FLaravel\u002FTemplates\">Quittio\\Laravel\\Templates\u003C\u002Fa>\u003C\u002Fh3>\u003Cul class=\"q-api-list\">\n\u003Cli>\u003Ca href=\"\u002Fdocs\u002Fapi\u002FQuittio\u002FLaravel\u002FTemplates\u002FBladeTemplateEngine\">\u003Ccode>BladeTemplateEngine\u003C\u002Fcode>\u003C\u002Fa>\u003Cspan>Renders Blade views with the invoice view model as $invoice. The name &quot;default&quot; maps to the configured template. Template names may come from invoice data, so only these views can be selected: the configured template (quittio.pdf.template), the shipped views under &quot;quittio::templates.&quot; (no partials) and the views of quittio.pdf.templates (&quot;invoices.*&quot; or &quot;namespace::*&quot; allows every view below a prefix). Names that are no Blade view fall back to the plain PHP templates, which resolve names inside their template directories only (never file paths).\u003C\u002Fspan>\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch3 class=\"q-api-namespace\">\u003Ca href=\"\u002Fdocs\u002Fapi\u002FQuittio\u002FLaravel\u002FTesting\">Quittio\\Laravel\\Testing\u003C\u002Fa>\u003C\u002Fh3>\u003Cul class=\"q-api-list\">\n\u003Cli>\u003Ca href=\"\u002Fdocs\u002Fapi\u002FQuittio\u002FLaravel\u002FTesting\u002FEInvoiceAssertions\">\u003Ccode>EInvoiceAssertions\u003C\u002Fcode>\u003C\u002Fa>\u003Cspan>The assertions of {@see InteractsWithQuittio} outside a test case class, e.g. in Pest helper functions: (new EInvoiceAssertions)-&gt;assertValidEInvoice($pdf, 'xrechnung').\u003C\u002Fspan>\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"\u002Fdocs\u002Fapi\u002FQuittio\u002FLaravel\u002FTesting\u002FInteractsWithQuittio\">\u003Ccode>InteractsWithQuittio\u003C\u002Fcode>\u003C\u002Fa> \u003Cspan class=\"q-api-badge\">trait\u003C\u002Fspan>\u003Cspan>Assertions for feature tests.\u003C\u002Fspan>\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"\u002Fdocs\u002Fapi\u002FQuittio\u002FLaravel\u002FTesting\u002FQuittioFake\">\u003Ccode>QuittioFake\u003C\u002Fcode>\u003C\u002Fa>\u003Cspan>Calculates invoices and chooses formats and profiles like a real run (requested formats, defaults.format, the automatic choice, profile keys and objects, defaults.profile), but skips validation, XML, template and PDF. Records every render call and every queued render, and dispatches the events of a real run (InvoiceRendering, InvoiceValidated with an empty result unless validation is off, InvoiceRendered).\u003C\u002Fspan>\u003C\u002Fli>\n\u003C\u002Ful>",[113],{"id":114,"text":115,"level":116},"package-laravel","quittio\u002Flaravel",2]