ANAF returns · Article 12
D318 - VAT refund from another EU state
Applies to Odoo 19 · 20
The D318 return (Cerere de rambursare a TVA, the claim for a refund of VAT paid in another EU member state) is the claim through which the company recovers VAT paid to a supplier in another EU member state: accommodation, fuel, road tolls, trade fair participation. The claim is filed through ANAF, which forwards it to the refunding state. Odoo builds it from purchase invoices recorded with a VAT tax marked for refund, and the returns server applies the claim's rules: one state per claim, that state's currency, the minimum threshold and the pro rata. Preparation and filing follow the common flow in How to file a return.
When to use
- You paid VAT to a supplier in another EU state and want to recover it from that state.
- The annual deadline for the previous year's claim is approaching.
- You want a claim for part of the year (at least 3 months), because the amount to recover is large.
Before you start
- There is a Romanian purchase tax for the VAT to recover, with the VAT Refund State (D318) field set to the refunding state (see step 1).
- The invoices from suppliers in that state are recorded with this tax and posted.
- The company has a bank account with IBAN and BIC code: the refund is requested to the company's account.
- The company's CAEN code (Romanian activity classification code) is filled in on the company.
Steps in Odoo
1. Configure the refund tax
Accounting › Configuration › Accounting › Taxes. Create a Romanian purchase tax (for example "DE VAT to recover"), with the supplier state's rate, and set VAT Refund State (D318) to the state. The tax account is a current receivable account, not a customer account: Odoo refuses a customer account on a purchase tax.
Lines with this tax are not included in D300, D394, D390 or in the VAT journals: their VAT is not Romanian deductible VAT.
2. Configure the suppliers' fiscal position
Suppliers from another EU state usually get the intra-community fiscal position, which applies reverse charge. For the suppliers you claim the refund from (hotels, petrol stations, trade fair organisers), create a fiscal position that replaces the Romanian purchase taxes with the refund tax and set it on these suppliers. Without it, the invoice and its credit notes get reverse charge and do not reach the claim.
3. Goods and services code on the product
On the product used on these invoices, Accounting tab, fill in ANAF Declaration Codes with the D318 code (1 fuel, 2 hire of means of transport, 4 road tolls, 6 accommodation, 8 trade fair admission, etc.) and, if the state requires it, ANAF D318 sub-code from that state's list (for example 1.1 for fuel in Germany). Lines without a code appear in the claim under code 10, "Other".
4. Create the return for the claim period
From ANAF Declarations › Schedule open or add the D318 return and choose the period. The period must be within the same year: at least 3 months if it starts before November, November-December if it starts in November, or December only.
5. Calculate, check and generate the file
Click Calculate on Server, check the invoices picked up and the amounts, then Generate XML, as in the common flow.
6. Mark the invoices as included in the claim
After filing, tick Exported in D318 on the included invoices (on the invoice, Other Info tab, next to the fiscal position, or from the vendor bills list, where the column can be shown). A ticked invoice is no longer included in a new claim.
What Odoo takes
| From Odoo | In the claim |
|---|---|
| Posted purchase invoices and receipts in the period, with the refund tax | The list of purchases, by supplier and invoice |
| The supplier: name, address, VAT number, country, phone | The details of the supplier in the refunding state |
| Base and VAT of the lines, converted at the invoice date | Amounts in the state's currency (EUR, CZK, DKK, HUF, PLN, SEK) |
| The D318 code and sub-code on the product | The nature of the goods and services |
| Credit notes | Reduce the invoice they correct |
| The company, the bank account and the signatory | The applicant, the account holder, IBAN and BIC |
Variants
VAT to recover from several states
One claim is made per state. If in the period you have VAT to recover from a single state, Odoo selects it by itself. For several states, the claim's state, language, pro rata and any representative are sent as claim parameters, on the document's Import tab, visible to the accounting administrator when the server allows it.
Corrective claim
On the filed claim click Corrective Declaration; the reference number of the original claim is taken over automatically.
Common mistakes
- The invoice got reverse charge. The supplier has the intra-community fiscal position. Set the refund fiscal position on the supplier and redo the invoice.
- Refund tax with the foreign state's country. Odoo does not accept another country's tax on a Romanian invoice. The tax stays Romanian; the state is set only in VAT Refund State (D318).
- Amount below the threshold. States reject claims below 400 EUR for a period shorter than one year and below 50 EUR for the whole year; the server applies the same threshold.
- Invoice included twice. Tick Exported in D318 after filing, so the invoice is not included in the next claim as well.
For the accountant: legal framework
- Refund of VAT paid in another member state to taxable persons established in Romania: Codul fiscal (the Romanian Fiscal Code), art. 302, and Directive 2008/9/EC.
- The claim is filed electronically with ANAF no later than 30 September of the year following the period. The period is at least 3 months and at most one calendar year; it can be shorter only if it is the remainder of the year.
- Minimum thresholds: 400 EUR for a period shorter than one year, 50 EUR for one year or for the remainder of the year.
- VAT to recover is not deductible VAT in Romania: it does not appear in D300, and it is recorded in a receivable account until the refund is collected.
The form versions: the D318 — versions page.