Prepayment Invoices
This function is built on Business Central Standard functionality.
To create and approve a Prepayment Invoice, ExFlow creates a copy of the invoice that will be posted from Purchase Order.
Prepayment Setup
To be able to create a Prepayment Purchase Invoice the standard setup is required in General Posting Setup. VAT will be calculated from setup from G/L Account added in setup.
To check setup for prepayment, use "Preview Prepmt. Invoice Posting" on the prepayment order.
Prepayment in ExFlow Setup
Add a Prepmt. Inv. Nos. for Prepayment Invoice to separate Prepayment Invoices to make it clearer. Or add same No. Serie as Invoice Nos. in Purchases & Payables Setup.


Also, there are settings for Prepayment under General that can be useful.
| Purchases & Payables Setup | |
|---|---|
| Check Prepmt. when Posting: | Prevents posting receipts or invoice a Purchase Order that has an unpaid prepayment amount. |
| Prepmt. Auto Update Frequency: | Specifies how often the job must run that automatically updates the status of orders that are pending prepayment. |

Prepayment Purchase Order
Setting on the Purchase Order is needed.
Add Prepayment Percentage on the Order Card and use Compress if needed.
Untick Compress Prepayment to specify all lines on the Prepayment Invoice.

Prepayment Purchase Invoice
Posting of prepayment Invoices will still be made from Prepayment Order in Business Central Standard in the background. ExFlow Prepayment Invoice is only a mirror of a posting to be.
Therefore, no changes are allowed except for a few fields that will update Prepayment Invoice when posting:
Document date, Posting Date, Due Date, Vendor Invoice No., Block Document, OCR, Payment Terms, Payment Method and On Hold. And Note of Goods if SweBase is installed.
There can only be one Prepayment invoice, per order, out for approval.
To be able to create second Prepayment the first Prepayment Invoice needs to be posted and Purchase Order Prepayment Percentage increased to match the amount on the second Prepayment Invoice.
If any updates are needed it must be updated from the order card.
Change document type back to Invoice and all Prepayment Invoicing Lines will be deleted. Update the order and change to Prepayment Invoice to receive new updated lines to Import Journal.
Any changes on the prepayment line will give the message "Changes on the prepayment invoice can only be done on the order. Then, to update invoice line change document type to Invoice and then back to Prepayment Invoice".
For Approval: First Approver, Approval Rule, and manual added approvers are allowed.
For automatically added approval flow use same settings as for Invoices.
To be able to create final invoice, all prepayment invoices need to be posted.