SAPSAP · e-Invoicing · GSP-Certified

e-Invoices from SAP. Sub-second. Zero ABAP.

Push e-invoices from SAP to the IRP and get IRN, QR and signed XML back. The WhiteBooks SAP e-Invoice connector — certified GSP, real-time.

SAP B1 · S/4HANA · ECC · ByDesignISO 27001:2022Direct GSTN license
SAPBilling Document · IDOCWhiteBooksValidate · Transform · SignNIC IRPIRN + Signed QRIRN generated0.8s · ACK 112510144782611
SAPSAP e-Invoicing Connector

SAP e-Invoicing, powered by WhiteBooks

Real-time invoice flow from SAP to IRP and back — accurate, compliant, and hassle-free.

SAP

SAP
SD / MM / FI
Invoice Data Generated
e-Invoice Cockpit

GSP Layer

WhiteBooks
WhiteBooks GSP
Validation & Enrichment
  • GSTIN Validation
  • De-duplication Check
  • Schema Validation
  • Digital Signature
  • QR Code Generation

IRP Layer

GSTN – IRP
Invoice Registration
  • IRN Generation
  • ANX-1 (Seller) Update
  • ANX-2 (Buyer) Update

Buyer

Buyer System (ANX-2)
Invoice Received
  • ITC Details Visible
  • Invoice Verified via QR
  • Ready for Reconciliation
IRN + Signed QR
Posted back to SAP
The problem

Is your SAP team still manually uploading JSON to the GST portal?

Stop wasting hours on manual data entry and IRN rejections.

8+ hrs/day

Manual JSON upload

A separate JSON upload for every single invoice.

30–40%

IRN rejections

One wrong field breaks the entire batch.

Compliance risk

No audit trail

Reconciliation becomes a nightmare against the GST portal.

The real cost — at just 1,000 invoices / month

₹12L+Annual labor cost
300+Hours wasted / month
HighGST penalty risk
The solution

One connector. Complete automation.

Real-time, end-to-end — from SAP document posting to a signed IRN.

01

Real-Time Engine

Instant IRN & QR via the NIC API

<1 sResponse time
02

Smart Mapping

IDOC to JSON, automatically

24/7Monitoring
03

Zero Manual Work

Fully automated workflow

0Human intervention
04

Audit Ready

Complete compliance trail

7 yrsData retention
Compatibility

Works with your SAP

From SAP B1 to S/4HANA — we support every major SAP platform.

SAP Business One

Most Popular
  • REST API / Add-on
  • SQL & HANA DB
  • All versions supported

SAP S/4HANA

Enterprise
  • API + Middleware
  • OData Integration
  • Cloud & On-Premise

SAP ECC

Legacy Support
  • RFC / BAPI
  • IDOC Processing
  • All ECC versions

SAP ByDesign

Cloud Native
  • REST API
  • OData v2
  • SOAP Gateway

Plus SAP Ariba, Concur, Cloud ERP, SuccessFactors & more

View Full Compatibility
Architecture

How it works

Three layers. Infinite reliability. Zero manual work.

1Layer 1

SAP

  • WhiteBooks SAP add-on with JSON extractor
  • Invoice cockpit for IRN & e-Way Bill processing
  • Receives ACK number, ACK date & IRN number
  • Receives e-Way Bill number with generation & expiry date
2Layer 2

WhiteBooks Server

  • Uploads SAP data securely to the govt. server
  • Smart error handling with pre-validations
  • Generates e-Way Bill & e-Invoice in seconds
  • Stores e-Way Bill & e-Invoice data for 7 years
  • Smart, insightful compliance reporting
3Layer 3

Govt. Server

  • Validates invoice data as per GSTN rules
  • Generates IRN and digitally signed JSON
  • Returns QR code & acknowledgement details
  • Real-time e-Way Bill validation & response
4Layer 4

e-Invoice Generation

  • IRN generation & invoice registration
  • Acknowledgement number & date confirmation
  • Signed QR code generation
  • e-Way Bill number with validity details
  • Smart, insightful compliance reporting
Enterprise

Enterprise features

Built for big SAP clients with demanding requirements.

High-volume processing

100,000+ invoices / day

Branch & entity-wise mapping

Multi-location support

Multiple company codes

Centralized management

Failover retry engine

Automatic error recovery

Batch & scheduled runs

Off-peak processing

Multi-GSTIN management

Consolidated dashboard

Bulk reconciliation

Automated matching

Advanced search & filters

Quick data retrieval

Analytics & API webhooks

Real-time data alerts

The transformation

From spreadsheets and manual work to automated workflows

Save hours, eliminate errors and build audit-ready operations with WhiteBooks.

01Before WhiteBooks
8+ hours/dayProcess time
30–40%Error rate
Every invoiceManual work
HighCompliance risk
NoneAudit trail
LowTeam satisfaction
02WhiteBooks Engine
Automation EngineWhiteBooks
GST ReadyAudit TrailMaker-CheckerConnected Workflows
8 hrs/day
saved
0%
errors
100%
audit logs
24×
faster
03After WhiteBooks
<1 secondProcess time
0%Error rate
ZeroManual work
NoneCompliance risk
100% completeAudit trail
HighTeam satisfaction
Connected workflow
Create Invoice
Approval
GST Sync
Audit Log
Export

The outcome

24×Faster processing
8 hrsSaved daily
0%Errors
100%Audit trail
Life after WhiteBooks
09:00Invoice created
09:01Approval completed
09:01GST synced
09:02Audit log generated
09:02Evidence exported
For developers

Developer-friendly integration

Built by developers, for developers.

API documentation

Complete REST API documentation with examples.

Sandbox environment

Test the integration before going live.

Multiple language SDKs

Java, Python, Node.js & .NET libraries.

Error codes

Detailed error messages with solutions.

Postman collections

Ready-to-use API collections.

Webhook events

Real-time notifications for events.

generate-einvoice.js
import WhiteBooksConnector from 'wb-sap';

const connector = new WhiteBooksConnector({
  apiKey: 'your_api_key',
  environment: 'production'
});

const result = await connector.generateEInvoice({
  sapDocNumber: 'INV-2024-001',
  gstin: '29AABCT1234D1Z5',
  autoSubmit: true
});

console.log(result.irn);
console.log(result.qrCode);
Proof

Proven results

Real companies. Real ROI. Real fast.

Manufacturing

Leading auto-parts manufacturer

100k invoices automated in 5 days

300+ hrsSaved / month
40% → 0%Error reduction
₹15LROI annually

WhiteBooks transformed our entire GST compliance process overnight.

Retail & FMCG

Fortune 500 FMCG enterprise

Zero IRN rejections achieved

150+Branches
100%Automation
PerfectCompliance score

Finally, real-time GST compliance that actually works with SAP S/4HANA.

Pharma Distribution

Multi-state pharmaceutical distributor

50+ GSTINs managed centrally

10K+Daily invoices
<1 sProcessing time
ZeroAudit issues

The reconciliation alone saves us two full-time employees worth of work.

The logic

Why this works

A proven methodology with predictable results.

1

Because SAP uses IDoc

2

Which always has to be converted to JSON

3

And JSON needs to be mapped to the NIC portal

4

Using standard, standardized IDOC fields

5

All business logic is handled at the middleware level

6

You're literally installing a compliance confidence booster

Frequently asked Questions.

What does the SAP e-Invoice Connector do?+
It triggers IRN generation from SAP at the point of invoice posting, through WhiteBooks' GSP channel to the IRP. The IRN and QR code post back to the SAP billing document for print / despatch.
Does it support real-time and bulk modes?+
Both. Real-time mode posts each invoice immediately; bulk mode collects invoices on a schedule (e.g. hourly) and submits in batches of up to 1,000.
How are IRP errors handled?+
Each rejected invoice surfaces in a SAP dashboard with the IRP error code and a one-click correction workflow. Auto-retry is supported for transient errors.
Can I cancel an IRN from SAP?+
Yes. Cancellation within the 24-hour IRP window is supported from the SAP invoice transaction. Beyond 24 hours, credit notes are issued per GST law.
What SAP releases are supported?+
SAP ECC 6.0+, SAP S/4HANA on-premise and Cloud. The connector is delivered as a transport for on-premise and as an OData / SCP add-on for Cloud.
Get started

Stop manual GST uploads. Start automating today.

Join 100+ SAP enterprises achieving 100% GST compliance with zero manual work.

100+Enterprise clients
1M+e-Invoices processed
100%Uptime guaranteed
<5 minSetup time