L Linet Developers
Home / Templates
Templates

Templates: how documents print, and what is sent with them

Three kinds of template shape what a customer receives: the print template decides how a document looks on paper and in its PDF; the mail and SMS templates decide the message it is sent with. Mail and SMS share one reference (the same placeholders and API); each entry opens it on its own channel. Both are read and written through API v2.

Print, mail and SMS
Print templatesPreview

Designing how documents print

The linet.print/1 template: layers, blocks, fields and bindings, and reading and writing it through API v2.

Open
Mail templatesPreview

The mail a document is sent with

Subject and body for documents and service calls: which template is used, the placeholders, what survives in a mail body, and the API to read, write and preview them.

Open
SMS templatesPreview

The SMS a document or service call is sent with

The text message: which template is used, the placeholders an SMS can carry, and the API to read, write and preview them.

Open