Skip to content

API reference

Quittio\Core\Rendering

quittio/core#

Quittio\Core\Rendering

  • PendingDocumentFluent render call for documents: Quittio::document($quote)->locale('de')->render().
  • PendingInvoiceFluent render call: Quittio::make($data)->profile()->format()->locale()->render().
  • PreparedInvoiceCalculated and validated invoice data plus the decisions a render run would take (format, profile, country pack, locale), without rendering anything. The XML of every format (also the one "pdf" embeds with b2cEmbedXml) is generated for the validation only. Used by the Managed layer to freeze an invoice before its documents are rendered; the validation always runs, whatever the validation mode.
  • RenderedDocumentRendered quote, delivery note, reminder or other document (PDF and HTML, never XML).
  • RenderedInvoiceResult of a render run. With several formats, every format is reachable via {@see self::as()}; all share the same calculation.
  • RenderOptionsPer call options of a render run; unset values fall back to the configuration.

The open core packages are MIT licensed. The legal wording of the country packs must be confirmed by a tax adviser.