FORGE

Invoice Templates

Use this page to manage tenant-scoped invoice rendering templates.

What You Can Configure

  • Template metadata: name, description, active/default flags.

  • Invoice type: currently `ServiceCallInvoice`.

  • Layout contract (`layoutJson`): sections and optional fields.

  • Style contract (`styleJson`): typography/color defaults for rendering.

Default Behavior

  • The system maintains a default `ServiceCallInvoice` template per business unit.

  • Marking a template as **Default** replaces the previous default for that invoice type.

  • Service invoice PDF generation reads local `print_snapshot` data and applies template options from this page.

Current Optional Fields

  • `serviceCallResolution` controls whether Service Call Resolution Notes are printed.

Supported Fonts (`styleJson.fontFamily`)

  • Invoice PDFs are generated in a Linux container, so use one of these values for reliable output:

  • `Arial`

  • `Helvetica`

  • `Times New Roman`

  • `Courier New`

  • Other font names are not guaranteed unless explicitly installed in the container image.

Notes

  • Drag-and-drop layout editing is not yet enabled.

  • You can edit layout/style JSON now, and future visual designer tooling will build on this contract.