OpenRFID ERP Gateway: Open-Source Tally & SAP Connector
Open-source Python and Node.js starter scripts for translating LLRP and handheld RFID tag scan streams into Tally Prime XML, SAP Service Layer JSON, and REST Webhooks.
Quick Start / Clone Repository
Project Overview
Enterprise gateway connecting physical RFID readers and handheld scanners directly to Tally Prime, SAP Business One, SAP S/4HANA, Zoho Inventory, and custom REST API endpoints. Includes verified Tally TDL XML envelope generators, SAP Service Layer OData authentication clients, in-memory tag deduplication filters, and local SQLite offline buffer queues.
ERP Connector Code Snippet (Python 3 & TDL XML)
Technical Specifications & Compatibility
| Supported ERP Platforms | TallyPrime 1.0–5.0, Tally.ERP 9, SAP S/4HANA, SAP Business One, Zoho Inventory |
| Supported Integration Protocols | HTTP XML (Port 9000), SAP RFC BAPI (PyRFC), OData v4, Service Layer, REST Webhooks |
| Burst Ingestion Throughput | 1,000+ serialized tags/second via Disruptor ring-buffer |
| Offline Durability Buffer | Local encrypted SQLite Write-Ahead-Log with SHA-256 idempotency |
| ERP Sync Latency | < 250ms per 100-item voucher batch |
| Target Operating Systems | Windows Server 2016–2025, Linux (Ubuntu/Debian), Docker, Android 11–14 |
Key SDK Features & Capabilities
- ✓ Tally Prime XML Stock Journal Generator over TCP Port 9000
- ✓ SAP Business One Service Layer GRPO Client (OData v4 HTTPS)
- ✓ Zoho Inventory OAuth 2.0 Webhook Dispatcher
- ✓ In-Memory Tag Deduplication & 3-Second Debounce Filter
- ✓ Local SQLite Write-Ahead-Log Buffer Queue for Offline Reliability
Related Hardware & Commercial Solutions
Explore compatible RFID readers, pre-built warehouse inventory software, and asset management systems developed by RFID Softwares:
Frequently Asked Questions
How does OpenRFID ERP Gateway integrate with Tally Prime? ↓
It connects directly to Tally Prime's integrated HTTP server on TCP Port 9000 using standard TDL XML <ENVELOPE> payloads. It creates automated Stock Journal and Physical Stock vouchers without manual operator intervention.
Does it support SAP S/4HANA and SAP Business One? ↓
Yes. For SAP S/4HANA, it connects via RFC BAPI (BAPI_GOODSMVT_CREATE) or OData v4 for Goods Movement 101/311. For SAP Business One, it dispatches JSON payloads to the Service Layer REST API (POST /b1s/v2/InventoryGenEntries) mapping serials to EPCs.
How does the gateway handle high-throughput dock door tag bursts? ↓
The gateway features an in-memory Disruptor ring-buffer with a 3-second dwell-time debounce filter. It filters multipath duplicates and micro-batches up to 1,000 tags per second into single idempotent ERP vouchers.
What happens if factory Wi-Fi drops during an inventory audit? ↓
All scanned tags are stored locally in an encrypted SQLite Write-Ahead-Log (WAL) queue. As soon as connectivity restores, an automated background worker syncs the queue with deterministic SHA-256 deduplication.
Application & SDK Preview

Tested Hardware Devices
Paid Customization & Free Help
We offer free community help on GitHub issues and discussions. If you need bespoke features, customized mobile apps, or dedicated on-site deployment, contact us for paid enterprise integration services.