Automation

    CRM, ERP and invoicing integration: what to check before the project

    The right source of data, order changes, duplicates, retrying operations and the RO e-Factura / SAF-T obligations: the questions that make the difference in an integration.

    The Superior Solutions team6 min read

    Integrating the CRM with the ERP and the invoicing software means more than automatically copying a few fields. The goal is for each system to receive the right information at the right time, with clear rules for changes, errors and approvals. Feasibility depends on the APIs, permissions and versions of the products in use.

    Who owns the correct information?

    For each category of data, decide the system of record. The CRM can manage the commercial relationship, the ERP the stock, and the invoicing software the issued documents. This split is only an example: the real situation may differ. A two-way sync without priority rules can overwrite valid information with stale data.

    Define stable identifiers for clients, products and orders. A client's name or a product's description isn't enough to avoid confusion. Clarify code mapping, units of measure, currencies, addresses and mandatory fields.

    Map the changes too, not just the first order

    • What happens if an order is modified after approval?
    • How are partial deliveries, cancellations and returns represented?
    • Who decides whether a price difference can be accepted?
    • Which data is visible across companies or locations?
    • How are documents that must be corrected by a responsible person handled?

    The rules for fiscal documents must be validated by the competent people in the company. The integration implements the agreed rules; it doesn't decide the accounting or tax treatment on its own.

    How do we avoid duplicates when an operation is retried?

    A system may record an order while its confirmation never makes it back. A blind retry can create a duplicate. The project must provide for identifying the operation, checking its status and reconciling the result. If the system offers idempotency keys, we use them; if not, we assess the available mechanisms and their limits.

    We don't assume perfect, instant delivery of every message. We define acceptable delays, the number of retries and the moment a colleague is notified. An exceptions screen or report can matter more than an animation showing that the programs are connected.

    What if there is no API?

    We check exports, imports, permitted data access or the possibility of an extension. Automating the user interface can be an option in certain situations, but it is sensitive to change and needs maintenance. We don't confirm a full integration before testing the access and the supplier's conditions.

    What does a useful acceptance test look like?

    We use complete and incomplete orders, changes, duplicates, outages and system recovery. We compare results across applications and check who can see or modify the data. For migration, we separately define how old records are imported, so they don't accidentally trigger new operations.

    Integration with RO e-Factura and SAF-T

    In Romania, invoicing no longer ends in the invoicing software: every invoice must reach the national RO e-Factura system, and accounting data is reported through SAF-T (D406). The deadlines and penalties are concrete, so the integration has to handle them explicitly:

    • Submission deadline: since 1 January 2026, 5 working days from the invoice issue date (Emergency Ordinance 89/2025). The integration should submit right after issuing and flag any invoice approaching the deadline without confirmation from SPV (the ANAF online portal).
    • Penalties: missing the deadline is fined RON 1,000–2,500 for small taxpayers and individuals, RON 2,500–5,000 for medium ones and RON 5,000–10,000 for large ones; in B2B, an invoice not sent through the system incurs a fine of 15% of its value. A silent integration error is expensive.
    • B2C: since 1 January 2025, the obligation also covers invoices to consumers (Emergency Ordinance 69/2024), so the flow must include invoices from the online shop or the till.
    • Incoming invoices: downloading from SPV, matching against orders and suppliers in the ERP, detecting duplicates and handling rejected ones are part of the same project.
    • SAF-T (D406): since 1 January 2025, small taxpayers also submit the Standard Audit File for Tax. The data structure in the ERP and invoicing (product codes, accounts, partners) must be consistent so reporting comes out without manual corrections.

    Tax rules are validated by the company's accountant or tax adviser; the integration implements what was agreed and makes exceptions visible.

    Prepare the list of systems, the available documentation and anonymised examples. You can explore custom automation and integrations and software development.

    Frequently asked questions

    My invoicing software already sends to e-Factura. Do I still need an integration?

    It depends on what happens around it: do invoices received in SPV reach accounting on their own? Do CRM orders become invoices without retyping? Does someone see rejections the same day? If the answer to any of these is “no”, the integration covers exactly those gaps.

    What happens if ANAF rejects an automatically submitted invoice?

    The integration must pick up the response from SPV, mark the invoice as rejected, show the reason and put it on an exceptions list for correction and resubmission within the deadline. An integration that only “sends” is not complete.

    Does the sync have to be two-way?

    Only if there are clear priority rules for each type of data. Without them, a two-way sync can overwrite valid information with stale data. Often, one direction per data category is safer.

    How long does a CRM–ERP–invoicing integration take?

    It depends on the number of systems, the quality of the APIs and the exceptions to handle (order changes, returns, currencies). We scope a first version on the main flow and test it on real data before expanding.

    Sources

    1. StartupCafe, “e-Factura 2026: OUG trenuleț a modificat termenul de transmitere a facturilor” (in Romanian, 27 January 2026)
    2. ANAF – AJFP Vrancea, “Termenele legale de transmitere a facturii electronice în sistemul RO e-Factura” (in Romanian)
    3. JURIDICE.ro, “Se extinde utilizarea sistemului de facturare electronică și pentru tranzacțiile B2C” – Emergency Ordinance 69/2024 (in Romanian)
    4. CECCAR Business Magazine, “ANAF: începând din 1 ianuarie 2025, și contribuabilii mici vor transmite fișierul SAF-T (D406)” (in Romanian)

    How we can apply this in your company

    Explore what a project can include, what needs to be prepared and how we verify the result.

    Keep reading

    How can we help?