Templates
Design branded, bilingual document and print templates — invoices, POs, payslips, statements — with logos, QR, and barcodes.
Updated May 2, 2026
Templates controls how your business documents look — invoices, quotes, POs, payslips, statements, work orders — branded, bilingual (AR/EN), and compliant.
Scope note: this is back-office document/print design — a first-class XO feature. It is not storefront/app theming, which is out of scope (see Out of scope in
xo-modules.md). Documents are business artifacts; storefront UI is a separate presentation layer.
Design a document template
- Go to XO Core → Templates → Documents.
- Pick the document type (e.g. tax invoice).
- Set branding — logo, colors, fonts, and footer.
- Arrange fields and sections; XO handles bilingual labels and RTL.
- Embed QR / barcodes where required (e.g. ZATCA QR on invoices).
- Save; create multiple layouts per document if needed.
📷 Screenshot: the invoice template designer with bilingual labels and QR placement.
Email templates
Design email templates for sending documents and notifications (works with Messaging).
Best practices
- Keep one clean, compliant invoice layout — ensure ZATCA fields/QR are present.
- Use bilingual labels for KSA so documents read correctly in AR and EN.
- Create per-brand layouts if you operate multiple brands.
Troubleshooting
- QR/field missing on print. It’s not placed on the layout, or the source data is incomplete.
- RTL looks off. Confirm the template language and that AR labels are set.