GST API for SAP — S/4HANA, ECC, ABAP

Native GST integration for SAP S/4HANA, ECC 6.0+, and ABAP-based custom modules. ODP-ready endpoints, JCo / RFC compatible, ready for SAP BTP.

Get sandbox keys → View OpenAPI docs Talk to sales

What is the GST API for SAP — S/4HANA, ECC, ABAP?

The WhiteBooks GST API ships with a dedicated SAP integration layer compatible with S/4HANA, ECC 6.0+, and ABAP-based custom modules. The connector exposes GST filing, GSTR-2B fetch, GSTIN verification, and HSN lookup as native BAPI-callable RFCs in addition to the standard REST endpoints.

For SAP BTP customers, an iFlow template is published that maps SAP's standard tax-on-sales doctype (J_1IRG23A, J_1IBOND, etc.) to the WhiteBooks GSTR JSON schema automatically. Deployment via Cloud Integration takes <2 days for typical S/4HANA installations.

Quick spec

Code examples

curl Node.jsPythonJava
curl -X POST 'https://apisandbox.whitebooks.in/gst/api/v1/gstr1/file' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{ /* payload */ }'
Node.js
const res = await fetch('https://apisandbox.whitebooks.in/gst/api/v1/gstr1/file', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer ' + accessToken,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify(payload),
});
const data = await res.json();
Python
import requests

resp = requests.post(
    'https://apisandbox.whitebooks.in/gst/api/v1/gstr1/file',
    headers={'Authorization': f'Bearer {access_token}'},
    json=payload,
)
data = resp.json()
Java
HttpRequest req = HttpRequest.newBuilder()
    .uri(URI.create("https://apisandbox.whitebooks.in/gst/api/v1/gstr1/file"))
    .header("Authorization", "Bearer " + accessToken)
    .header("Content-Type", "application/json")
    .post(BodyPublishers.ofString(payload))
    .build();
HttpResponse<String> resp = HttpClient.newHttpClient()
    .send(req, BodyHandlers.ofString());

Integrate in 3 steps

  1. Sign up at accounts.whitebooks.in — sandbox credentials issued instantly, no sales gate.
  2. Make your first call against the sandbox base URL using the code example above. Validate against your local model.
  3. Move to production once your tests pass — switch host to https://api.whitebooks.in/gst. Same payload, same response shape.

Frequently asked questions

Does this support SAP ECC 6.0?

Yes — JCo 3.x and RFC connections supported. Tested against ECC 6.0 with EHP6+.

What about SAP S/4HANA Cloud (public edition)?

Use the SAP BTP iFlow with HTTPS destination pointing to api.whitebooks.in. No on-premise connector needed.

How long does an SAP integration take?

2-5 business days for S/4HANA with standard tax-on-sales config. ECC with heavy customization: 1-2 weeks.

Is there a TDD / SCN reference implementation?

Yes. Sample ABAP code + iFlow template at github.com/whitebooks-in/sap-connector.

Explore the full GST API

This is one endpoint inside the WhiteBooks GST API suite. See the full documentation — every endpoint, every parameter, every error code.

Open the GST API page →

Related GST API endpoints

GSTR-1 Filing API → GSTR-2B Fetch API → GSTR-3B Filing API → GSTR-9 Annual Return API →