# VAT by customer prepayment
You can create VAT entries and a VAT invoice when you post a customer prepayment. The result depends on the prepayment and VAT posting setup.
## Setup
1. To enable the unrealized VAT in the window General Ledger Setup.
1. Setup the unrealized VAT type and choose the account, which will be taken of the operation of unrealized VAT VAT posting setup.
1. To configure the customer posting groups: set account, which is taken of the operation of the prepayment.
1. For each account in the chart of accounts, assign:
  General type of accounting
  VAT business group
  VAT product posting group
1. Set up the VAT posting in VAT Posting setup page.
## Receive prepayment
When you post a customer prepayment with the required VAT setup, Business Central creates unrealized VAT entries. Automatic creation of the prepayment invoice also requires Create Prepayment Invoice and the relevant number series in Sales & Receivables Setup.
Post prepayment in the General journal (see prepayments-vendor-and-customers).
## Return prepayment
Use Return Prepayment for an open payment entry marked as a prepayment. The remaining amount in local currency must equal the original amount, so the prepayment can't be partially applied.
1. Open Customer Ledger Entries, select the prepayment payment entry, and choose Return Prepayment.
1. Fill in the fields:
 Field|Description
 --|--
 Posting Date|Specifies the posting date of the entries that you want to include in the report or batch job.
 Document No.|Specifies the number of the related document.
 New posting Date|Specifies the new posting date.
 New Document No.|Specifies the new document number for the prepayment.
 Posting Description|Specifies the description that is added to the resulting posting.
 Correction|Specifies the operation is corrective.
1. Select OK. Business Central posts the entries that reset the prepayment as a payment.
## Related information
russia-local-functionality
Find free e-learning modules for Business Central here<https://learn.microsoft.com/training/dynamics365/business-central>

Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/localfunctionality/russia/vat-by-customer-prepayments, MicrosoftDocs/dynamics365smb-docs at 46907ac (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact. https://jonas-paprotka.de/docs/localfunctionality/russia/vat-by-customer-prepayments/
