{
  "id": 20443549,
  "title": "Using the ANAF API to monitor Romanian suppliers' VAT and inactive status",
  "url": "https://urgent.news/2026/11/17/using-the-anaf-api-to-monitor-romanian-suppliers-vat-and-inactive",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-11-17T14:38:50.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/nocturntools/using-the-anaf-api-to-monitor-romanian-suppliers-vat-and-inactive-status-4pdd"
  },
  "original_language": "en",
  "account": "Romanian tax regulations have a provision that impacts suppliers listed in ANAF's inactive taxpayer registry. Purchasing from such suppliers disqualifies the expense and VAT deduction. However, if a supplier's VAT registration was canceled under specific grounds outlined in Article 316(11) of the Fiscal Code, the VAT deduction is lost on the day following the cancellation, not the expense. When a supplier reactivates or re-registers, the deduction can be restored.\n\nThe timing of this rule can be challenging to monitor. A supplier may be deemed active when onboarding but become inactive within three months. While most companies typically verify supplier status once during onboarding, it is advisable to seek professional tax advice for detailed guidance.\n\nANAF provides a public API to check up to 100 company identification numbers (CUIs) against a specific date. The API returns a JSON response containing details such as VAT registration status, inactive status, and deregistration date. The API's response is used to compare current supplier status with historical snapshots. If more than 20% of checks fail in a run, the previous snapshot is retained and no changes are reported.\n\nTo implement this monitoring system, one can create a script that calls the ANAF API, compares snapshots, and reports changes. The script handles edge cases such as failed checks and time-outs, and only reports confirmed changes. The script outputs a JSON object containing supplier details and changes, including the date of change and the nature of the change.\n\nThe author has packaged this functionality into a hosted version called Romania Supplier Monitor, available on the Apify platform. The service is free during the launch period, after which a charge of $2 per 1,000 companies checked will apply. Users can schedule the monitor weekly and integrate it with email, Slack, or webhook notifications. The hosted version provides a secure, private storage solution for the data, with all information stored within the user's Apify account.",
  "summary": "Romanian tax law has a rule that bites quietly. If you buy from a supplier while it is listed in ANAF's register of inactive taxpayers , you can't deduct the expense or the VAT on that purchase (Fiscal Code, art. 11(7); there are exceptions for forced execution and certain insolvency cases). If the supplier only had its VAT registration cancelled on one of the grounds in art. 316(11), it's a…",
  "key_points": [
    "Romanian tax law disqualifies expenses and VAT deductions for inactive suppliers in ANAF registry",
    "VAT deduction lost the day after cancellation under Article 316(11) of Fiscal Code",
    "ANAF API monitors up to 100 CUIs, compares snapshots, reports changes in JSON output"
  ],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}