Skip to content

Foreign and foreign-currency invoices: how an AI Worker handles VAT and exchange rates

DYNAMINDS Labs team · · 7 min

AI Workers

In brief

An AI Worker handles foreign and foreign-currency invoices like this: it reads the invoice from the invoices@ mailbox, recognizes the type of transaction (intra-EU acquisition of goods, import of services, domestic purchase in a foreign currency), identifies the date that determines the exchange rate, and proposes the account, cost center and VAT treatment with a reason. It does not settle unusual cases on its own and does not post. The accountant approves the entry and any VAT deduction in an unusual case.

Why foreign invoices are harder

Invoices from Polish suppliers arrive through KSeF (Poland's national e-invoicing system) as a structured file with fields. Invoices from foreign suppliers usually do not: they arrive by email as PDFs, in various languages and layouts, sometimes without Polish VAT but with a "reverse charge" or "VAT exempt" note. Before even choosing an account, the accountant has to establish three things:

  • what type of transaction it is, because that decides whether VAT is due and who accounts for it,
  • when the tax point arose, because that date determines the conversion rate,
  • whether the supplier is who it claims to be, meaning whether its VAT number is active.

Any mistake in these steps carries over into the JPK_V7 file (Poland's standard audit file for VAT) and into costs. What data systems must provide for JPK is covered in JPK_VAT and JPK_CIT.

Transaction types the AI Worker recognizes

The Cost accountant from DYNAMINDS Labs reads the invoice and proposes the transaction type based on its content, the supplier's country, the kind of goods or service and the supplier's history in the ERP. The most common cases at a mid-sized company:

Transaction typeHow to recognize itWho accounts for VATWhat to watch
intra-EU acquisition of goods (WNT, Article 9 of the Polish VAT Act)goods from another EU country, invoice without VAT, VAT numbers of both partiesthe buyer, output and input VAT in Polandthe tax point is generally when the invoice is issued, no later than the 15th day of the month following the month of delivery (Article 20(5))
import of services (Articles 28b and 17(1)(4) of the Polish VAT Act)a service from a foreign company, for example a license, hosting or advisory work, invoice without Polish VATthe buyer, under the reverse chargethe date the service is performed, billing periods for continuous services
import of goods from outside the EUgoods from a non-EU country, the supplier's invoice and a customs documentVAT follows from the customs documentsthe supplier's invoice alone is not enough to account for VAT
domestic purchase in a foreign currencya Polish supplier, invoice with Polish VAT, amounts in EUR or USDthe supplier, as with a normal invoiceVAT on the invoice is shown in PLN, the cost is converted under accounting rules

The AI Worker proposes one of these types and shows what it is based on. When the signals conflict, for example a service with on-site installation or goods shipped from a warehouse in Poland by a foreign company, it marks the invoice as unusual and leaves it to the accountant.

Rate and date: a worked example

Article 31a(1) of the Polish VAT Act converts foreign-currency amounts using the National Bank of Poland (NBP) average rate from the last working day before the tax point. The Act also allows the latest European Central Bank rate instead (Article 31a(1), second sentence) or the income tax conversion rules, which must then be used for at least 12 consecutive months (Article 31a(2a) and (2b)). The AI Worker does not choose the method: it applies the one the company has recorded in its rules card.

An illustrative example, with a rate made up for the calculation:

invoice:    software vendor from Germany, license for November
amount:     EUR 1,200.00 net, no VAT, note "reverse charge"
type:       import of services (service from an EU company, buyer in Poland)
tax point:  end of the billing period, Nov 30, 2026
rate:       NBP average from the last working day before that date, assumed PLN 4.30
tax base:   PLN 5,160.00; 23% VAT to self-assess: PLN 1,186.80
deduction:  yes, per rules card (cost related to taxable sales)
account/CC: IT services, IT cost center, rule from rules card

For the books, the amount is converted under Article 30 of the Polish Accounting Act and the company's accounting policy, and income tax has its own conversion rule. These rates can differ, and the accounting team books exchange differences on payment. The AI Worker shows the date and rate for VAT and leaves the other conversions to the accounting system and to people.

Supplier checks: VAT number and bank account

Description and coding are not the only checks on a foreign invoice. Two more belong in the process, even if another person or another AI Worker does them.

The first is the supplier's VAT number. For an intra-EU acquisition of goods it matters for correct accounting, and the European Commission provides the VIES system for checking VAT numbers from EU countries. It is worth keeping the result of the check, with a date, in the supplier master. When the supplier master has no VAT number, or it differs from the number on the invoice, the Cost accountant marks the invoice as unusual.

The second is the bank account. A change of a foreign supplier's bank account in the body of an email or on a new invoice is one of the typical signs of attempted fraud. A person clarifies every such change by phone, on a number known beforehand, not one given in the same email. Polish rules for checking bank accounts are covered in The VAT white list and the supplier's account, and checking suppliers in public registers in Supplier verification.

What stays with the accountant

The AI Worker prepares the invoice for approval with a proposed transaction type, tax point date, rate, account, cost center and VAT treatment. Three decisions belong to a person:

  • approving the entry and posting it, as with any cost invoice,
  • deducting VAT in an unusual case, for example a service related to property abroad or a purchase partly for purposes unrelated to taxable sales,
  • changing the cost center or project outside the rules, for example when a foreign invoice concerns several departments.

The rules card for foreign invoices is usually short: a list of regular suppliers with their transaction type, the chosen rate method and rules for licenses and subscriptions. How to write such a card and maintain it when the chart of accounts changes is covered in Automated invoice coding, and the overall split of work on cost invoices in AI invoice coding in accounts payable. DYNAMINDS Labs starts with a free diagnosis, and a pilot usually takes 4 weeks on the company's invoices from recent months.

Questions and answers

Does the AI Worker read invoices in foreign languages?

Yes. It reads invoices in English, German and other common languages the same way as Polish ones: supplier, VAT number, line items, amounts and currency. With rare languages or a poor-quality scan, it marks fields as uncertain more often and asks the accountant to check.

Where does the AI Worker get the NBP rate from?

From the exchange rate table in the ERP, into which the accounting system downloads NBP average rates. The AI Worker picks the date that follows from the transaction type and the rules card, and the proposal shows the date, table number and rate so the accountant can check them. If the company uses the ECB rate, the AI Worker applies it consistently according to the rules card.

What about advance invoices in a foreign currency?

With advance payments, the tax point may fall on a different day than for the final invoice, so the rate can differ too. The AI Worker links the final invoice with that supplier's advance invoices and shows the rate used on each. The accountant approves the settlement of advances and differences, because this is often an unusual case.

Does this make sense with a dozen or so foreign invoices a month?

Usually not on its own. Foreign invoices are handled together with domestic cost invoices, in one describing and coding process. Then a dozen foreign invoices are part of a larger flow, and their rules card is a few extra rules.

Start with one task. Describe it, and DYNAMINDS Labs will prepare a free diagnosis.

Meet DYNAMINDS Labs

Read more: AI Workers

All in AI Workers →