Documentatie‎ > ‎

Content placeholders for sales invoices and reminders

Content placeholders for sales invoices and reminders

Content placeholders are special keywords in a content template, which can be used to include more details for a recipient. The keywords are replaced with their values when Yuki generates emails or documents from a template. To use a placeholder write its keyword inside square braces in a template. For example, [InvoiceDate] will be replaced with 20-08-2010 date.

Placeholders for sales invoices

  • InvoiceDate - an invoice date;
  • Number - an invoice number;
  • Subject - a subject of an invoice document;
  • TotalAmount - a total amount of an invoice;
  • Contact - full name of a invoice's contact;
  • ContactBankAccount - a default bank account of an invoice's contact;
  • PaymentDaysSetting - standard terms of payment in days;
  • DueDate - the due date of an invoice document;
  • IssuerCompany - a company, which has issued an invoice;
  • IssuerCompanyCity - a city of invoice's company;
  • IssuerCompanyBankAccount - a bank account of an invoice issuer;
  • InvoiceProject - a description of a project, that is linked with an invoice.

Placeholders for reminders

Reminder for a single sales invoice

  • Heading - for example: Dear John;
  • PrintDate - a current date in a long format, e.g. 18 January 2010;
  • InvoiceSubject - a subject of an invoice document;
  • InvoiceDate - an invoice date in short format, e.g. 05-01-2010;
  • InvoiceDueDate - a due date of an invoice in short format, e.g. 05-01-2010;
  • InvoiceNumber - an invoice number;
  • InvoiceAmount - a total amount of an invoice;
  • InvoicePaidAmount - an amount paid;
  • InvoiceOpenAmount - an amount to be paid;
  • InvoiceCompany - a company, which has issued an invoice;
  • InvoiceCompanyCity - a city of invoice's company;
  • InvoiceProject - a description of a project, that is linked with an invoice.
This type of reminders also supports placeholders for a sales invoice, which are described in the previous section.

Additional placeholders:
  • ContactFirstName - first name of a invoice's contact;
  • ContactLastName - last name of a invoice's contact;
  • ContactFullName - full name of a invoice's contact;
  • TodayLong - current date in long format, e.g. Thursday 17 June 2010;
  • TodayShort - current date in short format, e.g. 17-06-2010;
  • DocumentDate - a date of an invoice reminder document;
  • DocumentAmount - a total amount for an invoice reminder;
  • DocumentDebt - a total debt amount for an invoice reminder.
Following keywords are used for backward compatibility:
  • CompanyFullName - a company, which has issued an invoice.

See also

Comments