/

S&J Sales Corporation

EXPORTS · INDIA

Annexure-B for the GST refund,

built from the books in one run.

S&J Sales Corporation's accountant prepared Annexure-B for every GST refund claim by hand, matching GSTR-2B against Zoho Books bill by bill. We built a GST refund Annexure-B automation in n8n that matches every invoice, finds each HSN code, classifies the ITC and only releases a fill-ready statement when the reconciliation checks pass. Tested on a real month, it agreed with the accountant's own HSN codes on about 95% of rows.

See the build →

~95%

HSN codes matching the accountant's own Annexure-B

100%

value, ITC and 17(5) agreement on matched documents

5

reconciliation checks before the filing sheet is released

SYSTEMS WE RUN FOR

SECTOR

SECTOR

Exports and distribution

WHAT WE BUILT

Finance and accounting · Integrations and apps

RUNS ON

n8n, Zoho Books, GSTR-2B and GSTR-3B from the GST Portal

LIVE SINCE

Tested on April 2026 data

TIMELINE

Blueprint, build and a parallel run on a real month

OUR ROLE

Process mapping, build, verification and handover

THE STARTING POINT

How Annexure-B was made

before the build.

S&J exports without paying tax under a Letter of Undertaking, so it claims a refund of the input tax credit it has built up. Each claim needs Annexure-B: an invoice-level statement of every purchase behind the credit, in the exact layout of the GSTN Refund Offline Utility.

Preparing it meant downloading GSTR-2B from the GST Portal, exporting bills and sales invoices from Zoho Books and matching the two, line by line. Supplier invoice numbers and trade names rarely appear the same way in both places, so each match took judgement.

Every bill then needed its HSN or SAC code, a decision on whether the credit was eligible, blocked under Section 17(5) or tied to capital goods, and totals that agreed with the GSTR-3B already filed. One slip meant a refund query.

THE SAME WORK

Before the build,

and after it.

BEFORE

By hand, every period

Inputs

2B and Zoho exports opened side by side

Matching

Each 2B invoice found in Books by eye

HSN

Looked up bill by bill

Eligibility

17(5) and capital goods judged by hand

Checks

Totals ticked against GSTR-3B at the end

AFTER

On the system, every period

Inputs

Three files uploaded through one form

Matching

Matched by GSTIN, amount and date

HSN

Traced through the Job ID to the sale

Eligibility

Set by fixed rules per account

Checks

Five gates before the sheet is released

WHAT WE BUILT

One workflow,

three parts.

01

Intake and matching

02

HSN and eligibility

03

Checks and outputs

Runs on n8n

The same n8n instance that runs S&J's Zoho Books automations. Nothing new to install.

01

Intake and matching

The accountant opens a form, picks the return period and uploads GSTR-2B with the Zoho Books bills and sales-invoice exports. Each 2B invoice is matched to a Zoho bill by GSTIN and invoice number first, then by vendor and amount, then by vendor, date and amount.

Period files → matched documents

n8n form · GSTR-2B · Zoho Books

02

HSN and eligibility

For goods, the HSN code is traced from the bill through its Job ID to the matching sales invoice; services keep the bill's own SAC. Each document is then classified by account: eligible, blocked under Section 17(5), capital goods or credit note.

Matched bill → HSN and ITC status

HSN/SAC · Section 17(5) · ITC

03

Checks and outputs

Five reconciliation gates check document counts, values against GSTR-2B, totals against GSTR-3B and row validity. Only when they pass is the fill-ready Annexure-B written; a CA review workbook, exceptions list and run report come out every time.

Classified rows → fill-ready Annexure-B

Reconciliation · Excel · Run report

In this build

Delivered as one self-contained n8n workflow.

✓ Manual process mapped first

✓ Three-step matching waterfall

✓ HSN traced through Job IDs

✓ 17(5) and capital goods rules

✓ Five reconciliation gates

✓ Official utility column layout

✓ CA review workbook

✓ Exceptions list, never guesses

HOW IT WORKS

How the workflow

builds Annexure-B.

Matching GSTR-2B to Zoho Books

The engine reads the B2B and credit-note sheets from GSTR-2B and groups the Zoho Books export into whole bills, using Zoho's own ITC Eligibility field. Each 2B invoice goes down a matching waterfall: GSTIN and invoice number, then vendor and amount, then vendor, date and amount. What's left is scored on vendor name and invoice number together. A single clear match above the threshold is accepted; anything with two possible candidates falls through to the exceptions list instead of being guessed. Unmatched invoices get a second pass over a wider date window before they're reported.

Finding the HSN code

S&J's purchase bills use a general cargo placeholder item, so the bill alone doesn't say what was bought. For goods, the workflow follows the bill's Job ID to the sales invoice for the same shipment and matches the line by description. Services keep the SAC on the bill. If neither route works, the bill's own HSN is used, and if that is missing too the row is flagged, not filled in.

Classifying the credit

Every Zoho Books account is mapped to a category. Credit counts as eligible only when GSTR-2B shows it available, the account isn't blocked under Section 17(5), it isn't capital goods and the document isn't a credit note. Unmapped accounts always go to the exceptions list for the CA.

Gates before anything is filed

Five gates run before the filing sheet is written: document count, value against GSTR-2B, the two GSTR-3B ITC figures and row validity. If a gate fails, the fill-ready Annexure-B is withheld, but the review workbook, exceptions CSV and run report still come out, so the accountant can see exactly why. The Annexure-B file follows the 22-column layout of the GSTN Refund Offline Utility, ready to load.

HOW IT RAN

Blueprint

to care.

01

Blueprint

The manual Annexure-B process, GST rules and Zoho Books data mapped with the accountant.

Start

02

Move

Account categories, HSN precedence and the Job ID link checked against S&J's records.

Before build

03

Build

Matching, HSN, classification and gates built in n8n and run on April 2026 data.

Build

04

Handover

A parallel period run against the accountant's own Annexure-B before sign-off.

Go-live

05

Care

New accounts, suppliers and rule changes added as each period comes in.

Ongoing

WHY IT WORKS

Three decisions

that shaped it.

Inside n8n, not a separate program

The first design was a Python batch job run from the command line. We moved the whole engine into one n8n workflow on the instance S&J already uses, so the accountant runs each period from a browser form and there is no second system to install or support.

Never guess a match

Any invoice with more than one possible match, any unmapped account and any unresolved HSN code goes to the exceptions list. The AI tie-breaker is switched off for real runs, so the same inputs always produce the same statement.

Gates that withhold the filing sheet

A statement that doesn't reconcile shouldn't be filed. The fill-ready Annexure-B is released only when the checks pass; the review files come out either way.

THE RESULT

What changed

for the accountant.

Run on a real month of S&J's data, the workflow produced an Annexure-B that agreed with the accountant's hand-built file on 112 of 118 HSN rows, and on every value, ITC and 17(5) figure for matched documents. The accountant's job moves from building the statement to reviewing it: the exceptions list shows the few rows that need a decision, and everything else arrives already reconciled.

112/118

rows agreeing with the accountant's HSN codes on April 2026 data

100%

value, ITC and 17(5) agreement on matched documents

5

reconciliation gates before the filing sheet is released

Accuracy | Agreement | Checks

WHAT'S NEXT

Built on,

and built next.

03 · Finance and accounting

GST refund statements reconciled against the books and the returns.

Open the page →

08 · AI workflows and agents

Rule-first workflows where AI is only a capped tie-breaker.

Open the page →

05 · Integrations and apps

Next: bills and invoices pulled live from Zoho Books, not uploaded.

Open the page →

MORE BUILDS

Other systems,

in production.

S&J Sales Corporation

Exports

Australian logistics company

Logistics

Nrithya Dances

Education

20+ businesses

Running on our systems

5 countries

India, UAE, UK, USA, Australia

QUESTIONS

Questions

about this build.

What owners ask when they read about a build like this one.

What owners ask when they read about a build like this one.

What is Annexure-B in a GST refund?

Can Annexure-B preparation be automated from Zoho Books?

How does it handle ITC blocked under Section 17(5)?

What if GSTR-2B and Zoho Books don't match?

Does it file the refund on the GST Portal?

WHERE WE WORKFrom India to clients in five countries.Every build runs online, from the first call to the handover, so where you are doesn't change how we work.
IndiaUAEUKUSAAustralia
5countries delivered
20+businesses on our systems

Book a 30-minute audit

Two days to scope it.

No charge if we decline the work. 20+ businesses on our systems.

Book a 30-minute audit

Two days to scope it.

No charge if we decline the work. 20+ businesses on our systems.