Skip to main content
Version: 3.26

Filename Templates

Below, you will find a list of the fields of the Filename Templates information block:

Filename Templates window

FieldDescription
Invoice FileFilename template for invoices
Attached xDR FileFilename template for xDR files generated with invoices
Rates Export FileFilename 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 FileFilename template for reports data within Reports to Email

Template definition​

  1. Template string can contain variable in {{variable_name}} format.
  2. Template should not include extension – it is added automatically based on the file type.
  3. Any spaces in the templates will be replaced with underscores during generation.
  4. 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 nameDescription
{{no}}Invoice number

Attached xDR filename​

Variable nameDescription
{{no}}Invoice number

Rates Export filename​

Variable nameDescription
{{rate_tables_name}}Rate Table name
{{date}}Export date
{{time}}Export time

Rates Notification filename​

Variable nameDescription
{{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 nameDescription
{{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.