TallyArcBlog › ERP & Integrations
ERP & Integrations

Integrating TallyArc with SAP S/4HANA for Invoice Management

📅 October 4, 2024 ⏱ 8 min read

SAP S/4HANA is the enterprise backbone for thousands of large organisations worldwide. Its accounts receivable module is powerful but complex — designed for finance professionals, not for creating the kind of frictionless client payment experience that modern B2B buyers expect. TallyArc adds a client-facing billing layer that integrates with SAP's AR, ensuring finance teams maintain their familiar SAP workflows while clients interact with a clean, branded payment experience.

Integration architecture

TallyArc connects to SAP S/4HANA via the SAP Business Technology Platform (BTP) APIs, specifically the SAP S/4HANA Cloud APIs for:

Authentication

SAP S/4HANA Cloud uses OAuth 2.0 for API access. To set this up:

  1. In your SAP BTP cockpit, create a service instance of the SAP S/4HANA Cloud Extensibility service
  2. Create a service binding and note the OAuth client credentials (client ID and secret, token URL)
  3. Assign the service instance to a communication system and communication arrangement covering Customer Invoice Management
  4. In TallyArc, go to ERP → SAP S/4HANA → Connect
  5. Enter your client ID, client secret, token URL, and the SAP API base URL

For on-premise SAP S/4HANA (not cloud), the connection uses basic authentication against the SAP NetWeaver Gateway; contact your SAP Basis team to enable the required OData services.

GL and company code mapping

SAP's hierarchical structure requires careful mapping:

What the integration covers

Testing in SAP Sandbox

Always test the integration in your SAP sandbox environment before connecting to production. Use SAP's test customer accounts and verify that invoice documents post to the correct company code and GL accounts before enabling live sync.

Ready to put this into practice?

TallyArc gives you professional invoicing, online payments, ERP integration, and real-time financial reports in one platform. Start your free 14-day trial — no credit card required.

Start free trial →