Passer au contenu principal
SAP Business OneSaaS Tools

KSA ZATCA Phase 2 E-Invoicing

A build-to-order SAP Business One add-on for ZATCA Phase 2:

compliant UBL 2.1 XML, cryptographic stamping, hash chaining, QR codes and FATOORA clearance or reporting from your own invoices.

Sur commande

Qu'est-ce que KSA ZATCA Phase 2 E-Invoicing ?

A build-to-order SAP Business One add-on for ZATCA Phase 2: compliant UBL 2.1 XML, cryptographic stamping, hash chaining, QR codes and FATOORA clearance or reporting from your own invoices. Built to order by ECOSIRE for SAP Business One (build-to-order) — indicative price from $1499.00 USD; request a quote for a scoped proposal.

KSA ZATCA Phase 2 E-Invoicing — A build-to-order SAP Business One add-on for ZATCA Phase 2: compliant UBL 2

What we build

  • UBL 2.1 XML generation in the standard and simplified profiles from A/R Invoices (OINV), A/R Credit Memos (ORIN) and A/R Down Payment Invoices (ODPI), with profile selection driven by buyer classification on the Business Partner
  • Certificate onboarding workflow: CSR generation, one-time-password exchange, compliance certificate request, mandated compliance checks, and production certificate request, with keys stored per company database inside your environment
  • SHA-256 invoice hashing, previous invoice hash chaining and incremental counter maintenance in a locked user-defined table, safe under concurrent document creation by multiple users
  • Cryptographic stamping and XAdES signing of simplified invoices, with signature, hash, counter and UUID written back to user-defined fields on the marketing document
  • Synchronous clearance submission for standard invoices, with the cleared XML retained as the legal document and printing blocked until clearance succeeds
  • Asynchronous reporting of simplified invoices inside the twenty-four hour window, individually or in scheduled batches sized to your transaction volume
  • Base64 TLV QR code generation carrying the mandated tags, rendered onto the printed document
  • Bilingual Arabic and English Crystal Reports invoice layout containing seller and buyer VAT numbers, invoice type code, supply dates, line-level VAT rate and category, and the QR code
  • Pre-flight validation of buyer VAT number, additional buyer identification, full address block (building number, street, district, city, postal code), tax category and exemption reason codes, surfaced as SAP messages on the open document
  • Optional approval procedure and user-defined validation that prevents a non-compliant document from being added, rather than discovering the problem after clearance is attempted
  • A user-defined object submission cockpit listing every document with its clearance or reporting status, the full request and response payloads including cleared-with-warnings detail, and a resubmission action
  • Signed XML and cleared response archived per document, attached through the standard SAP attachments mechanism and written to a retention folder, with sandbox, simulation and production environment switching

À propos de ce produit

Saudi e-invoicing stopped being a print-layout exercise the moment Phase 2 started. Under the Integration Phase, a standard tax invoice issued to a business customer has to be cleared by the tax authority before it can legally be handed to the buyer, and a simplified invoice issued to a consumer has to be reported within twenty-four hours. Each document must carry a UUID, an invoice hash, the hash of the previous document in the chain, a sequential counter, a cryptographic stamp produced with a certificate issued against your own taxpayer credentials, and a base64 TLV QR code containing the mandated tags. The chain has to be unbroken, per device or per solution unit, for the life of the system.

SAP Business One does not do any of that out of the box. Most Saudi customers discover the gap when a wave notification arrives: the Phase 1 work they did produces a QR code and a compliant layout, and nothing else. What is needed next is a build with a deadline attached to it.

What ECOSIRE builds

ECOSIRE builds a ZATCA Phase 2 integration for your company database as a SAP Business One add-on and companion service. Documents are read and updated through the Service Layer and DI API, all new data lives in user-defined fields, tables and objects, and the printed output is a Crystal Reports layout you can keep maintaining after we hand over.

Onboarding and certificates

The add-on generates the certificate signing request with the attributes ZATCA expects for your organisation, exchanges the one-time password from the taxpayer portal for a compliance certificate, runs the compliance checks required against sample documents, and then requests the production certificate. Private keys and certificates are stored inside your environment, scoped per company database and per solution unit, and never leave it. Renewal is a documented procedure rather than a phone call to us.

Document generation

A/R Invoices (OINV), A/R Credit Memos (ORIN) and A/R Down Payment Invoices (ODPI) are rendered as UBL 2.1 XML in the standard or simplified profile, chosen from the buyer classification on the Business Partner. The generator maps the mandated fields explicitly: seller and buyer VAT registration numbers from OCRD and OADM, the additional buyer identification scheme where the buyer is not VAT registered, invoice type code and transaction type flags, supply date and supply end date, line-level VAT category, rate and exemption reason code, allowance and charge blocks, prepayment references, and the billing reference that ties a credit note back to the invoice it corrects.

Stamping, hashing and the invoice chain

Each document is canonicalised, hashed with SHA-256, and signed. The previous invoice hash and the incremental counter value are maintained in a user-defined table with a locking strategy that survives multiple users adding documents at the same time, because a chain that skips or repeats a counter is a compliance failure that only surfaces later. The signature, hash, counter, UUID and QR payload are written back to user-defined fields on the marketing document so the values are visible to any user and exportable to any auditor.

Clearance and reporting

Standard invoices are submitted for clearance synchronously; the cleared XML returned by the authority becomes the legal document, and printing is blocked until clearance succeeds so nobody hands a customer an uncleared invoice. Simplified invoices are reported asynchronously within the twenty-four hour window, individually or in scheduled batches sized for your volume. Cleared-with-warnings responses are captured and shown rather than swallowed, because warnings today are frequently rejections after the next rule update.

Validation before the document is added

Most rejections come from master data, not from the integration. A pre-flight validation runs while the document is still open: buyer VAT number format and check digits, the national or commercial registration identifier where required, the full address block including building number, street, district, city and postal code, item tax category and exemption reason pairing, and rounding consistency between line VAT and header VAT. Failures surface as SAP messages against the offending field, and an approval procedure can block the document from being added at all, which is far cheaper than cancelling a cleared invoice.

Print layout, archive and audit

A bilingual Arabic and English Crystal Reports layout renders the printed and PDF invoice with the QR code and every mandated field. Signed XML is archived per document alongside the cleared response, attached to the document through the standard attachments mechanism and written to a retention folder you nominate. A user-defined object cockpit lists every submission with its status, the exact request and response payloads, and a resubmission action for documents that failed for a fixable reason.

Architecture and compatibility

Built against SAP Business One 10.0 on Microsoft SQL Server and on SAP HANA, on-premise or cloud-hosted. All extensibility uses UDFs, UDTs and UDOs; no core table is altered and no document is written straight to the database behind the application layer, so approval procedures, authorisations and posting rules keep working. The service supports the sandbox, simulation and production environments so you can rehearse the full flow before your wave date.

Who this is for

VAT-registered businesses in Saudi Arabia running SAP Business One who have received a ZATCA wave notification, or who expect one and want the work done before it arrives. It fits both B2B sellers whose volume is mostly standard invoices requiring clearance, and B2C or mixed businesses issuing simplified invoices at counter speed. Groups running several company databases can have the same solution deployed per company with its own certificates and chains.

How delivery works

1. Scoping call. We review your document types, buyer mix, branch and device structure, existing Phase 1 layout, wave date, and how many company databases are in scope. 2. Fixed quote. A written scope and fixed price, issued before any build work starts, with the wave date stated as the delivery constraint it is. 3. Build. Typically one working week depending on scope, against a copy of your company database. 4. Install in test. Deployed into your test company and run end to end against the ZATCA sandbox and simulation environments, including the compliance document set. You sign off on real document types before production. 5. Install in production. Production certificate onboarding, cutover with the chain initialised correctly, and a supervised first day of live clearance and reporting. 6. Support. A defect warranty window plus an optional support plan, which matters here because the authority publishes rule updates.

Honest boundaries

This is build-to-order. Nothing is pre-built, there is no instant download and no free trial. ECOSIRE is not a certified or accredited e-invoicing provider and does not act as your tax agent - certificates are issued against your own taxpayer credentials and you remain the taxpayer of record. We build, install and support the integration; the compliance obligation stays yours, and we will tell you plainly during scoping if your master data or document practices are the real blocker.

How delivery works

  1. 1

    Scoping call

    A short call to confirm the workflow, your platform version and where the integration boundaries sit.

  2. 2

    Fixed quote

    You receive a written scope and a fixed price. Nothing is built until you approve it.

  3. 3

    Build and test

    We develop against a copy of your configuration and test it there. Typically two to four weeks.

  4. 4

    Install and support

    Nous installons sur votre instance, vous remettons le code source et incluons deux semaines d'assistance après la mise en production. Les défauts du code que nous livrons sont corrigés gratuitement.

Ce que vous obtenez

  • The compiled ZATCA add-on and submission service, plus full source code licensed to your company
  • Certificate onboarding performed with you for your test and production environments, with keys and certificates stored inside your infrastructure
  • Installation and configuration in your test company database, then in production after sign-off, per company database in scope
  • The bilingual Arabic and English Crystal Reports invoice layout, handed over as an editable layout file
  • A technical document listing every UDF, UDT and UDO created, the XML field mapping from SAP objects to UBL, and the certificate renewal procedure
  • A live training session for finance and IT covering the submission cockpit, rejection handling, resubmission and the chain integrity rules, with the recording retained
  • Compliance rehearsal evidence from the sandbox and simulation environments, a signed UAT pack, a defect warranty window and an optional support plan

Pour qui c'est

Finance Manager or Chief Accountant

Owns the wave deadline and is exposed if invoices go out uncleared or the hash chain breaks. Wants clearance status visible on the invoice itself, rejections explained in plain terms, and an archive that survives an audit years from now.

Tax and Compliance Lead

Has to prove that every mandated field, exemption reason code and chain value is correct, and that credit notes reference the invoices they correct. Needs validation to happen before a document is added, not after the authority rejects it.

IT Manager or SAP Business One Consultant

Is responsible for certificates, keys and anything installed on the production company database, and cannot accept an opaque black box. Wants source code, documented UDFs and UDTs, a renewal procedure, and a rehearsal in sandbox and simulation before the production cutover.

Comment KSA ZATCA Phase 2 E-Invoicing se compare

CritèreÉCOSIREConstruction personnaliséeConcurrentNatif SAP Business One
UBL 2.1 XML, hashing, chaining, cryptographic stamping and QR generated inside SAP Business OneInclusInclusInclusNon inclus
Certificates and private keys stay inside the customer environmentInclusInclusPrise en charge partielleNon inclus
Full source code and editable Crystal Reports layout handed overInclusInclusNon inclusNon inclus
Pre-flight validation and approval procedure blocking non-compliant documents before they are addedInclusPrise en charge partiellePrise en charge partielleNon inclus
Rehearsed end to end in sandbox and simulation before production onboardingInclusPrise en charge partiellePrise en charge partielleNon inclus
Submission cockpit exposing raw request and response payloads for audit and resubmissionInclusPrise en charge partiellePrise en charge partielleNon inclus
Fixed written scope and price agreed before build, with the wave date treated as the constraintInclusPrise en charge partiellePrise en charge partielleNon inclus
No per-invoice clearance or reporting transaction feeInclusInclusNon inclusNon inclus

Questions fréquemment posées

This is build-to-order - how long does it take, and can it be ready before our wave date?
Nothing is pre-built and there is no download or free trial. After the scoping call you receive a fixed written quote; the build typically runs one working week once accepted, followed by sandbox and simulation rehearsal, UAT and production onboarding. Bring your wave date to the scoping call - if the remaining time is not enough for a safe cutover we will say so rather than promise the date.
Which SAP Business One versions, databases and deployments are supported?
We build and test against SAP Business One 10.0 on Microsoft SQL Server and on SAP HANA, on-premise or cloud-hosted, with the Service Layer reachable from the submission service. Earlier releases are assessed during scoping and may change scope and price. Multiple company databases are supported, each with its own certificates and its own invoice chain.
Are you a certified e-invoicing provider, or do you act as our agent with the authority?
No. We make no certification, accreditation or partnership claim, and we do not act as your tax agent. Certificates are generated against your own taxpayer credentials through the portal, keys stay inside your environment, and you remain the taxpayer of record. We build, install, rehearse and support the integration.
We already implemented Phase 1 - does that work carry over?
Partly. A Phase 1 implementation usually gives you a compliant layout and a basic QR code, which we can reuse or rebuild as the bilingual layout. Everything Phase 2 adds - certificate onboarding, XML generation, hashing, the counter and previous-hash chain, cryptographic stamping, and clearance or reporting calls - is new work. The scoping call inspects what you already have so it is not rebuilt unnecessarily.
Can it keep up with simplified invoices at counter or POS volume?
Simplified invoices are reported asynchronously, so the counter is never waiting on the authority: the document is stamped, the QR is printed, and reporting happens individually or in scheduled batches inside the twenty-four hour window. Standard invoices are different by design - clearance is synchronous and printing is blocked until it returns, because an uncleared standard invoice is not a valid document.
What happens when the authority rejects a document or the endpoint is unreachable?
Submissions are queued and retried with backoff, and nothing is silently dropped. Rejections and cleared-with-warnings responses are recorded against the document with the full response payload and shown in the submission cockpit, where a user can fix the cause - usually buyer master data or a tax category - and resubmit. Chain values are handled so a failed attempt does not corrupt the counter sequence.

Demander un devis

Décrivez vos besoins pour KSA ZATCA Phase 2 E-Invoicing et nous vous enverrons les tarifs, les options de licence et une proposition sur mesure, généralement sous un jour ouvré.

Aucun paiement maintenant. Ceci envoie une demande de devis à notre équipe — nous vous recontacterons par e-mail avec les tarifs et les prochaines étapes.

Se marie bien avec

India Payroll and Statutory Compliance
Sur commande

India Payroll and Statutory Compliance

A build-to-order SAP Business One payroll add-on for India: PF, ESI, professional tax and salary TDS computed per employee, with statutory return files and Form 16 inputs, built for your company database.

À partir de 1499.00 $Point de départ — chiffré selon votre périmètre
View specification
Intercompany Trading and Consolidation
Sur commande

Intercompany Trading and Consolidation

A build-to-order SAP Business One add-on that mirrors intercompany sales and purchase documents across company databases, reconciles balances and produces consolidated group reporting. ECOSIRE builds it for your entities after a scoping call and fixed quote.

À partir de 1499.00 $Point de départ — chiffré selon votre périmètre
View specification
Malaysia MyInvois E-Invoicing — A build-to-order SAP Business One add-on that converts A/R Invoices into UBL 2
Sur commande

Malaysia MyInvois E-Invoicing

A build-to-order SAP Business One add-on that converts A/R Invoices into UBL 2.1 documents, submits them to MyInvois for validation, and writes the returned UUID and QR back onto the B1 document before it reaches the buyer.

À partir de 1499.00 $Point de départ — chiffré selon votre périmètre
View specification
MENA Regional Payment Gateway Pack
Sur commande

MENA Regional Payment Gateway Pack

A build-to-order SAP Business One add-on that links regional Gulf and Levant payment acquirers to Incoming Payments and Journal Entries, with settlement-file reconciliation. Built for your acquirers after a scoped quotation.

À partir de 999.00 $Point de départ — chiffré selon votre périmètre
View specification