--- title: "Email templates" slug: "modèles-d-emails" updated: 2026-10-29T08:41:49Z published: 2026-10-29T08:41:49Z canonical: "help.frisbii.com/modèles-d-emails" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.frisbii.com/llms.txt > Use this file to discover all available pages before exploring further. # Email templates ## How the payment link works There are two scenarios: ### With a single payment If you generate only one payment per invoice, there is a 1:1 relationship between the invoice and the payment. The link shown on the invoice, in the invoice PDF and in the email template is the same as the one on the payment. ### With a payment schedule If you use payment schedules, the use case is more complex. The **Customer Payment URL** field on the invoice is filled in as follows: After the schedule has been generated, the invoice has several pending payments. 1. Initially, the payment link comes from the payment whose payment date is closest to the invoice date. 2. As soon as that payment is no longer pending, the system pushes the payment link of the next payment (based on its date). 3. If there are more than two payments, the link is updated in the same way up to the last payment. Now let's see how you can send this payment link to your customers. --- ## Find the new email templates Linda goes back to her sandbox to check the email templates and, sure enough, finds a new folder: **PSP**. Here are the steps she followed. ### Steps 1. Open **Setup** using the gear icon at the top right. 2. Type *template* to find **Classic Email Templates**. 3. Open the **PSP** folder. ![](https://cdn.document360.io/b84e1b5d-2ba6-4465-8c62-fb45a2f31314/Images/Documentation/image-OCVC7CBP.png?sv=2026-02-06&spr=https&st=2026-12-02T18%3A20%3A42Z&se=2026-12-02T19%3A20%3A42Z&sr=b&sp=r&sig=C%2FbIg80la1491OI1Tx%2BC5FpZLNx%2BTdytBZ5ZeLinIeU%3D) Five templates are available for you to use! --- ## Add the payment link to your custom templates **Warning:** To add invoice merge fields to an email template, you need to rename the Invoice object. Salesforce also has a native object with this name, and only the merge fields of that Salesforce object are available in the classic email template interface. For more information, see [Rename a Frisbii object](/frisbii-app/docs/en/administration-renommer-un-objet-frisbii). **Important:** Once renamed, you cannot change the object name back to **Invoice**, because a Salesforce object with the same name already exists. If you try to reset the object name, you get an error message. Linda anticipates the team's question of whether the link can be added to a custom template. After renaming the Invoice object, she proceeds as follows: ![](https://cdn.document360.io/b84e1b5d-2ba6-4465-8c62-fb45a2f31314/Images/Documentation/image-GY8JDHBU.png?sv=2026-02-06&spr=https&st=2026-12-02T18%3A20%3A42Z&se=2026-12-02T19%3A20%3A42Z&sr=b&sp=r&sig=HgC%2FpJEVaVW%2FmtNfXB4UX0QONM0%2F%2FkdVf30KYLtO2bs%3D) ### Steps 1. Open **Setup** using the gear icon at the top right. 2. Type *template* to find **Classic Email Templates**. 3. Open the template you want to edit. 4. Use the merge fields available in the interface: ![](https://cdn.document360.io/b84e1b5d-2ba6-4465-8c62-fb45a2f31314/Images/Documentation/image(407).png?sv=2026-02-06&spr=https&st=2026-12-02T18%3A20%3A42Z&se=2026-12-02T19%3A20%3A42Z&sr=b&sp=r&sig=ZSzWhZ4orIZkH5omU01vx%2Fk57OIAf5lLI2FWWu9GC40%3D) - Select a **field type**: *the name you chose for the Invoice object* (here, Frisbii Invoice) Fields. - Select a **field**: Customer Payment URL. - Copy the suggested value `{!sofactoapp__Factures_Client__c.sofactoapi__clientPaymentPspURL__c}` into your message body. That's how you add the payment link to your emails.