Skip to content

E-Invoice Template Fields

This JustOn Configurator package adds optional e-invoice text fields to the template. Use them if the payment information or the texts of an e-invoice must differ from the PDF – for example, if the PDF payment information contains a QR code table, which must not reach the e-invoice. If an e-invoice field is filled, JustOn Billing & Invoice Management uses it instead of the corresponding template field for the e-invoice, while the PDF keeps using the original field. Empty fields keep the previous behavior.

For a general introduction, see Separate Texts for E-Invoices. For the complete configuration, see Defining Separate E-Invoice Texts.

Info

System preconditions:

  • JustOn Billing & Invoice Management installed, version 2.124 or later
Deploying package

To deploy a configurator package:

  1. Log in your target Salesforce org.
  2. In the same browser session, open the JustOn Configurator.

    If the link does not work, copy the URL https://juston-configurator.herokuapp.com/.

  3. Click Salesforce OAuth2.

    This connects the JustOn Configurator with your current Salesforce session using your current credentials. Make sure that you are connected with the intended user and org.

    jo_configurator_session

  4. Open the relevant tab.

  5. Scroll down the list to find the relevant package.
  6. Click Deploy.

    This deploys the configuration as described to your org.

    Back in your Salesforce org, make sure to add the deployed components to permission sets as necessary.

Deployed Artifacts

Template fields
Field Label API Name Data Type Description
E-Invoice Payment Info Bank Transfer PaymentInfoBankTransferEInvoice__c Long Text Area (32768) Version of the information text for bank transfers, optionally used for e-invoices.
E-Invoice Payment Info Credit Card PaymentInfoCCEInvoice__c Long Text Area (32768) Version of the information text for credit card payments, optionally used for e-invoices.
E-Invoice Payment Info Credit Transfer PaymentInfoCTEInvoice__c Long Text Area (32768) Version of the information text for credit transfers, optionally used for e-invoices.
E-Invoice Payment Info Direct Debit PaymentInfoDDEInvoice__c Long Text Area (32768) Version of the information text for direct debit payments, optionally used for e-invoices.
E-Invoice Payment Info PayPal PaymentInfoPaypalEInvoice__c Long Text Area (32768) Version of the information text for PayPal payments, optionally used for e-invoices.
E-Invoice Payment Info Online Payment PaymentInfoOnlinePaymentEInvoice__c Long Text Area (32768) Version of the information text for online payments via payment service providers, optionally used for e-invoices.
E-Invoice Payment Info Future Payment PaymentInfoFuturePaymentEInvoice__c Long Text Area (32768) Version of the information text for automatic recurring online payments, optionally used for e-invoices.
E-Invoice Payment Info Paid PaymentInfoPaidEInvoice__c Long Text Area (32768) Version of the information text for a fully paid invoice, optionally used for e-invoices.
Placeholders are not resolved.
E-Invoice Text 1 Text1EInvoice__c Long Text Area (32768) Version of Text 1, optionally used for e-invoices for BT-22 Invoice Note.
E-Invoice Text 2 Text2EInvoice__c Long Text Area (32768) Version of Text 2, optionally used for e-invoices.
E-Invoice Text 3 Text3EInvoice__c Long Text Area (32768) Version of Text 3, optionally used for e-invoices.

All fields take plain text only and can include placeholders. They are not printed on the PDF.

Permission set
Name Description
JustOn: E-Invoice Template Fields Grants read and edit access to the optional e-invoice text fields on the template.

Post-Deployment Tasks

  1. Assign the permission set JustOn: E-Invoice Template Fields to every user who creates or finalizes invoices, including the users who run invoice runs, batch jobs, schedulers and flows.

    For users without access to the fields, JustOn Billing & Invoice Management silently uses the original template fields.

  2. Add the fields to the Template page layout.

  3. On the template, fill the e-invoice fields you need with plain text.

    For details, see Specifying E-Invoice Texts.

Info

The package covers the payment information and the texts 1–3. For other template texts like the discount message or the reverse charge text, you can create the corresponding e-invoice fields yourself, using the same naming pattern. For details, see Creating Additional E-Invoice Fields.

Troubleshooting

If an e-invoice still shows the PDF text, check for the following:

  • The user who finalized the invoice must have read access to the e-invoice fields (permission set JustOn: E-Invoice Template Fields).
  • The e-invoice field on the template must neither be empty nor set to n/a.
  • The invoice must have been finalized after the e-invoice field was filled. Existing invoices keep their texts. For draft invoices that already hold a copied text, clear the e-invoice field on the invoice and click Copy Text.
  • A template detail that defines its own Text 1, Text 2 or Text 3 takes precedence over the e-invoice text on the template.
  • For E-Invoice Payment Info Paid, the template field Payment Info Paid must be filled as well.