{"uid":"cap_q6UXHyUCKUjbLy4dUd8tb","slug":"saf-t-d406-validator-for-anaf-romania-c6002d3e","name":"SAF-T D406 Validator for ANAF (Romania)","description":"Check a Romanian SAF-T D406 file (monthly, annual assets, stock) before filing with ANAF: the official ANAF validator (DUKIntegrator) plus the consistency checks it skips - balanced entries, opening + movements = closing per account, partner balances, invoice totals, VAT = base x rate, VAT codes for the period, exchange rates, CUI/IBAN check digits, asset and stock roll-forwards. Each finding has a fix (RO/EN). XML as the request body, up to 100 MB. Charged only if a D406 was checked.","url":"https://einvoice.alexhub.uk/v1/saft/validate?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"properties":{}},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.5","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.5/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.5","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.5","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_BHyuiX3zJt_ILJXQOgugH","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.5","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates a Romanian SAF-T D406 XML file against ANAF's official DUKIntegrator rules plus extended consistency checks before filing.","exampleAgentPrompt":"Can you validate my Romanian SAF-T D406 XML file before I submit it to ANAF? It's the monthly declaration — please check it with both the official ANAF rules and the extended consistency checks like balanced entries, VAT base-times-rate, and CUI/IBAN digit validation, and give me fixes in English for anything wrong.","exampleUseCases":[{"title":"Monthly D406 pre-filing check","prompt":"I need to submit my monthly SAF-T D406 to ANAF next week — can you validate this XML file now and tell me everything that's wrong, including whether the accounts balance and whether VAT equals base times rate, with English fix suggestions?"},{"title":"Annual asset declaration validation","prompt":"Here's my annual SAF-T D406 assets declaration XML — please run the full validation including asset roll-forwards and check that opening balances plus movements equal closing balances for every account before I file it with ANAF."},{"title":"Stock SAF-T consistency check","prompt":"Can you check my D406 stock SAF-T XML for errors? I especially want to make sure the stock roll-forwards are correct, partner balances match, and all CUI and IBAN check digits are valid — give me fixes in Romanian and English for anything that fails."}],"resultDescription":"A structured report of all validation findings, each with a severity, description, and suggested fix in both Romanian and English. Covers ANAF DUKIntegrator rule violations plus extended checks: balanced accounting entries, opening + movements = closing per account, partner balances, invoice totals, VAT = base × rate, VAT code validity for the period, exchange rates, CUI/IBAN check digit errors, and asset and stock roll-forward discrepancies.","failureModes":["XML file exceeds 100 MB limit — request rejected","Malformed or non-SAF-T XML body — parse error returned","Network timeout for very large files near the size limit","Invalid or missing required XML elements — error reported in findings","Charge only applies if a D406 was actually validated; non-D406 XML may not be billed but returns an error"],"whenToPreferThis":"Choose this endpoint when you need to pre-validate a Romanian SAF-T D406 XML (monthly, annual assets, or stock) before submitting to ANAF, especially when you want both the official DUKIntegrator checks AND deeper consistency checks (balanced entries, VAT arithmetic, roll-forwards, CUI/IBAN digits) that ANAF's own tool skips. Prefer it over manually running DUKIntegrator when you need bilingual fix guidance or automated pipeline integration.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T18:32:41.394Z","isFirstParty":false,"canonicalSlug":"saf-t-d406-validator-for-anaf-romania-c6002d3e"}