Filename Templates
Below, you will find a list of the fields of the Filename Templates information block:
Field | Description |
---|---|
Invoice File | Filename template for invoices |
Attached xDR File | Filename template for xDR files generated with invoices |
Rates Export File | Filename template for exported rates (regular export) |
Rates Notification (all) | Filename template for Rates Notification in "all" mode |
Rates Notification (changed) | Filename template for Rates Notification in "changed" mode |
Rates Notification (unique) | Filename template for Rates Notification in "only changed" mode |
Reports to Email File | Filename template for reports data within Reports to Email |
Template definition​
- Template string can contain variable in
{{variable_name}}
format. - Template should not include extension – it is added automatically based on the file type.
- Any spaces in the templates will be replaced with underscores during generation.
- Non-existing variables or variables with empty values (e.g. if there is not Tech Prefix defined for an Account and
{{tech_prefix}}
variable is used) will be replaced with empty strings.
Available variables​
Invoice filename​
Variable name | Description |
---|---|
{{no}} | Invoice number |
Attached xDR filename​
Variable name | Description |
---|---|
{{no}} | Invoice number |
Rates Export filename​
Variable name | Description |
---|---|
{{rate_tables_name}} | Rate Table name |
{{date}} | Export date |
{{time}} | Export time |
Rates Notification filename​
Variable name | Description |
---|---|
{{rate_tables_name}} | Rate Table name |
{{clients_name}} | Client name (notification recipient) |
{{companies_name}} | Company name (that owns Client) |
{{tech_prefix}} | Tech Prefix of the Client Account |
{{time_profiles_name}} | Time Profile of the exported Rates |
{{date_utc}} | Notification date in UTC |
{{time_utc}} | Notification time in UTC |
{{date_client_tz}} | Notification date in the Client's timezone |
{{time_client_tz}} | Notification time in the Client's timezone |
{{date_system_tz}} | Notification date in the system's timezone |
{{time_system_tz}} | Notification time in the system's timezone |
Reports to Email filename​
Variable name | Description |
---|---|
{{reports_module}} | Report module name (e.g. summary ) |
{{reports_queries_name}} | Report query name |
{{date_utc}} | Report date in UTC |
note
All dates are given in YYYY-MM-DD
format, all times are given in HHMMSS
format.