Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 16 additions & 8 deletions userguide/tutorials/invoice_templates.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -400,14 +400,22 @@ Branding fields (company info, style, logo) can be set directly using the https:

Refer to the following table for the keys:

| Key | Description |
|---|---|
| `COMPANY_INFO` | Organization-level (global default) company information |
| `LOGO_INFO` | Organization-level (global default) logo |
| `BRAND_INFO` | Organization-level (global default) style/brand information. Only accepts the `tableHeadingBgColor` field. |
| `INVOICE_TEMPLATE_COMPANY_INFO` | Invoice-template-level company information (overrides `COMPANY_INFO`) |
| `INVOICE_TEMPLATE_LOGO_INFO` | Invoice-template-level logo (overrides `LOGO_INFO`) |
| `INVOICE_TEMPLATE_BRAND_INFO` | Invoice-template-level style/brand information (overrides `BRAND_INFO`). Accepts all 4 fields: `textColor`, `tableBorderColor`, `tableHeadingBgColor`, `tableHeadingTextColor`. |
[cols="1,3", options="header"]
|===
| Key | Description

| `COMPANY_INFO`| Organization-level (global default) company information

| `LOGO_INFO`| Organization-level (global default) logo

| `BRAND_INFO`| Organization-level (global default) style/brand information. Only accepts the `tableHeadingBgColor` field.

| `INVOICE_TEMPLATE_COMPANY_INFO`| Invoice-template-level company information (overrides `COMPANY_INFO`)

| `INVOICE_TEMPLATE_LOGO_INFO`| Invoice-template-level logo (overrides `LOGO_INFO`)

| `INVOICE_TEMPLATE_BRAND_INFO`| Invoice-template-level style/brand information (overrides `BRAND_INFO`). Accepts all 4 fields: `textColor`, `tableBorderColor`, `tableHeadingBgColor`, `tableHeadingTextColor`.
|===


Each type of information is sent as a JSON payload. To override any of the three at the invoice-template level instead of organization-wide, use the corresponding `INVOICE_TEMPLATE_*` key instead.
Expand Down
Loading