List receipt templates
Any signed in user. Returns every receipt template for a branch, ordered by name. A branch_id may name another branch only for an admin; other callers stay on their own.
GET
/api/v1/printing/receipt-templatesAuthorization
AuthorizationBearer token (JWT) · headerrequiredJWT from POST /api/v1/auth/login sent as Authorization Bearer.
Query parameters
branch_idstringThe branch to read. Defaults to the caller's own branch.
Responses
200
The branch's receipt templates
itemsobject[]requiredShow propertiesHide properties
Array of
objectidstringrequiredbranch_idstring | nullrequirednamestringrequiredpaperstringrequiredheader_textstringrequiredfooter_textstringrequiredshow_logointegerrequiredmin -9007199254740991 · max 9007199254740991
show_vatintegerrequiredmin -9007199254740991 · max 9007199254740991
show_batchintegerrequiredmin -9007199254740991 · max 9007199254740991
is_defaultintegerrequiredmin -9007199254740991 · max 9007199254740991
is_activeintegerrequiredmin -9007199254740991 · max 9007199254740991
is_deletedintegerrequiredmin -9007199254740991 · max 9007199254740991
created_atstringrequiredupdated_atstringrequired401
Not authenticated
detailstringrequired403
Branch is outside your ownership
detailstringrequired