In order to use prepayments in Traede there are some settings that need to be set up before the feature is functional.
The first thing that needs to be set up is the correct payment information on the document of both the prepayment and invoice. We need to add some code to the footer of both documents. Start with the invoice document.
Invoice document
- Go to Settings and choose Documents
- Click on the Invoice document
- Scroll down to the footer of the document
(You will most likely already have a footer for invoices, if not, please reach out to support) - Select the footer in the dropdown to edit it
- Add the code below to the footer (We recommend adding the code to the top of the footer)
{{#prepayment}} Prepayment paid: {{ prepayment.amount }}
Left to be paid: {{ prepayment.left_to_be_paid }} {{/prepayment}}
- Press Save footer to save the code
Prepayment document
Now we need to add some code to the footer of the prepayment document.
- Go to Settings and choose Documents
- Click on the Order prepayment document
- Scroll down to the footer of the document
- Add a new footer by clicking New footer
- Type in a name of the footer ex. "Prepayment" and click Save (Beware, the name will be the header of the footer)
- Select the newly created footer in the dropdown
- Add the code below to the footer
Prepayment amount: {{ prepayment_amount }}
Please transfer payment to: {{ bank.bank_name }} / Bank code: {{ bank.bank_code }} / Account number: {{ bank.account_number }} / IBAN: {{ bank.iban }}/ Swift: {{ bank.swift }}
- Click Save footer to save the code
- We need to add the newly created footer to the document. So click add rule on the document
- Select the footer in the dropdown Show footer
- Click Save in the top right corner of the page