Moldova
What Ocost reads on a Moldovan document and where it writes it in ocost.document.v1. A factură or factură fiscală is an invoice, as anywhere. Documents in Romanian and Russian are read the same way.
Identifiers
Ocost writes each number to the party's identifiers by scheme:
| Printed as | scheme | valid |
|---|---|---|
| IDNO, cod fiscal of a company | MD_IDNO | 13 digits and its check digit |
| IDNP, of a person | MD_IDNP | 13 digits and its check digit |
| cod TVA | MD_VAT | 7 digits. There is no check digit, so a right length is null. |
The check digit weighs the first twelve digits 7, 3 and 1 in turn. The last digit of their sum is the thirteenth.
A number that fails is kept with valid: false, and the check identifier fails with at its scheme. Ocost never finds a company by it. An IDNP is a person's, so Ocost never finds a company by it either.
An IBAN starting MD is checked by its check digits, in iban.
VAT
Ocost reads the TVA rates a document prints, such as 20 %, 8 % or 0 %. Each rate is one vat_breakdown group. The check vat holds when a group's VAT is its net times its rate.
An invoice you write in Ocost for a Moldovan business starts each line at 20 %.
The invoice check
tax_check holds what an incoming invoice lacks under the Codul fiscal. Ocost fills it when your business and the supplier are in Moldova. The supplier is Moldovan by its address, its IDNO or its cod TVA. It covers invoices to pay and receipts. For anything else it is null.
Item in missing | What Ocost asks for | law |
|---|---|---|
supplier_idno | The supplier's IDNO, its check digit right | art. 117¹ Codul fiscal |
supplier_vat_code | The supplier's cod TVA, where it charges VAT | art. 117¹ Codul fiscal |
number, issued_on | The invoice's number and date | art. 117¹ Codul fiscal |
vat_rate_unknown | A rate other than 20 %, 8 % or 0 % | art. 96 Codul fiscal |
case is standard. at_stake is true when the invoice charges VAT and your business deducts it.
E-invoices
Ocost reads an e-invoice in UBL or CII without a model. It reads no Moldovan XML format yet. Send the PDF or a scan, and read_with is reader.
Dates, amounts and the leu
Moldovan documents print 03.11.2026 and 1 200,00. Ocost writes 2026-11-03 and 1200. sources keeps the quote as printed. currency is MDL where the document prints MDL.
Ocost converts between the leu and any other currency at the National Bank of Moldova's official rate of the document's day. It never goes through the euro. A currency the bank doesn't quote waits for a rate. Every other pair takes the ECB's rate. Search filters by these converted amounts.
Your company
Ocost tells incoming from outgoing by your details in Settings › Company. A Moldovan company needs its IDNO and its address. Add the cod TVA once it is registered for VAT. Ocost asks no Moldovan register, so you enter them yourself. An IDNO with a wrong check digit, or a cod TVA of another length, is refused.
The legal forms are SRL, SA, ÎI, ÎS, SNC, SC and cooperativă.
Mail to belege@<name>.ocost.io reaches Ocost. The name is yours without its legal form, in Latin letters without diacritics: Exemplu Construct SRL gets exemplu-construct.
Example
An excerpt of an incoming factură fiscală:
{
"kind": "invoice",
"kind_detail": "invoice",
"number": "AA1234567",
"issue_date": "2026-11-03",
"currency": "MDL",
"seller": {
"name": "Exemplu Construct SRL",
"identifiers": [
{ "scheme": "MD_IDNO", "value": "1003600123459", "valid": true },
{ "scheme": "MD_VAT", "value": "0612345", "valid": null }
],
"vat_id": null
},
"totals": { "net": 10000, "tax": 2000, "gross": 12000, "payable": null, "prices_include_vat": false },
"vat_breakdown": [
{ "category": "S", "rate": 20, "taxable_amount": 10000, "tax_amount": 2000, "exemption_reason": null }
],
"checks": [
{ "name": "vat", "passed": true, "sums": true, "fields": ["totals.net", "totals.tax"], "at": "20" },
{ "name": "identifier", "passed": true, "sums": false, "fields": [], "at": "MD_IDNO" }
],
"tax_check": { "case": "standard", "missing": [] },
"read_with": "reader"
}