Pro Forma Invoices
Certain business use cases require merchants or suppliers to issue statements that specify the value of a sale transaction without being an actual payment request. To this end, JustOn allows for creating pro forma invoices.
Understanding Pro Forma Invoices
A pro forma invoice is a statement that specifies the value of a sale transaction. It is not an actual invoice, which states a payment request. Therefore, the pro forma invoice is exempt from any accounting or payment-related processing.
Pro forma invoices are commonly used for information purposes:
- as preliminary invoices with a quotation, giving a commitment from the supplier to sell goods at specified prices and terms
- to give an example of the charged prices, for example, to obtain the buyer's final approval for a purchase
- for customs purposes, since customs authorities may require trade values for an export declaration
Pro Forma Invoices in JustOn
Basically, the creation of a pro forma invoice is controlled using the ON field
ON_Type on the source object. If this field is set to
Proforma, JustOn generates a pro forma invoice.
As pro forma invoices do usually not constitute a legally binding payment request, they are, by default, exempt from dunnings. If your business, however, requires issuing reminders for pro forma invoices, you can still enable this feature.
When you use pro forma invoicing, be aware that JustOn does not consider order discounts with the pro forma invoices, but only when generating the final invoices.
The following sections describe how to work with pro forma invoices, outlining their life cycle.
Pro Forma Invoice Creation
JustOn generates a pro forma invoice if the field
ON_Type on the source object is set to
Once you have set the field
ON_Type on the source object to
Proforma to trigger the pro forma invoice creation, do not modify this field subsequently to make sure that the pro forma invoicing features operate correctly.
After creating the pro forma invoices, JustOn sets the custom field
ON_ProformaInvoice on the source objects to the pro forma invoices.
Creating a pro forma invoice
Pro Forma Invoice Finalization
When finalizing the pro forma invoice, JustOn creates a balance of the type
Invoice). This balance type is excluded from the account balance (rollup summary) and the statement of account creation.
Pro Forma Invoice Closure
Before you create the final invoice, you must close the pro forma invoice. There are two ways to do so:
- Using the Close button on an individual invoice
- Using a custom flow to be triggered from a source record
Close button or custom process?
The procedure to close the invoices depends on your business use cases and the corresponding data structure in your org.
If you create invoices from a parent record in a parent-child relation, you most likely use a custom flow to be triggered from the relevant parent record. The process clears the custom fields
ON_LastInvoiceRun on the parent source record, which allows for creating the final invoice from the same record.
If your invoice run involves multiple source records (for example, using multiple filters or via single source object configurations), the Close button on an individual invoice is the more appropriate approach. It clears the custom fields
ON_LastInvoiceRun on all source records that are related to the current invoice to allow generating the final invoice. This saves the need for manually clearing these fields on the source records.
Using the Close button on an individual invoice clears the custom fields
ON_LastInvoiceRun on all related source records to allow generating the final invoice.
If appropriate, you can use a custom flow to be triggered from a source record. Applying the specific Apex class that JustOn provides for this purpose, your flow
- sets pro forma invoices to the status
- clears the custom fields
ON_LastInvoiceRunon the source record that triggers the process
- unregisters any assigned payment balances and sets the balance field
RelatedInvoiceto the pro forma invoice
Closing the pro forma invoice via flow
Usually, JustOn assigns unregistered pro forma payment balances to the corresponding final invoices. Clearing the field
RelatedInvoice of the unregistered pro forma payment balance will allow to assign the balance to any matching invoice.
Final Invoice Creation
After you have closed the pro forma invoice, you create the final invoice the same way and based on the same source records as the pro forma invoice.
- registers the balances (if any) that were unregistered from the pro forma invoice by the closing process to the final invoice
- sets the field
RelatedInvoiceon the final invoice to the corresponding pro forma invoice
Creating the final invoice, linked to the pro forma invoice
Your business may require to set up installments for final invoices. If you do so, JustOn sets the invoice type
Final with Installment. Removing an installment from a final invoice sets the invoice type