← All workBalaji SankarCase study 12 / 12
Fintech / tax compliance / developer tools2020-21NDA · name withheld

Tax APIPortal

The public developer portal for a global tax-compliance platform: API references generated from Swagger, integration guides, SDK docs and demos that make live API calls right from the page.

Case study by Balaji Sankar · Updated October 2026

Client

A global tax-compliance software company

Role

Co-lead frontend developer

Timeline

2020-21

Stack
Next.jsReactstyled-componentsTailwind CSSreact-markdownOpenAPI / SwaggerGitLab CIAWS S3 + CloudFrontTerraform
Outcomes
~17 mo

Embedded with the client’s engineering team

✦

One templated portal covering API references, integration guides and SDKs

01 / 09The opportunity

Why did it need to exist?

The issue
  • Docs spread across products and formats
  • References locked inside raw Swagger files
  • Every integration guide shaped differently
  • Developers could read about APIs, not try them
The solution
  • One portal driven by shared configs
  • Reference pages generated from Swagger and OpenAPI
  • One consistent template for every guide
  • Live demos that call the sandbox API
02 / 09The challenge

What made it hard?

The company had dozens of APIs - tax calculation, exemption certificates, VAT, item classification, document management and more - and needed one developer portal that partners and customer engineers could actually use.

Content was spread across products and formats, references came from Swagger files, and integration guides for ecommerce, ERP, marketplace and hospitality partners all had different shapes. It had to be fast, searchable and deployable through the client’s own pipeline.

03 / 09Approach

How did I approach it?

01

Config-driven pages

Products, guides and references described in JSON and Markdown and rendered through shared Next.js dynamic routes and layouts, so a new guide is mostly content, not code.

02

References you can explore

API reference pages generated from OpenAPI files, with a request and response console and an API explorer with side navigation.

03

Docs you can try

Live demos against the real API: a sample tax calculation with address input, a test-credentials checker, an integration-check flow and an exemption-certificate capture demo.

04

Static, fast and searchable

A fully pre-rendered export served from S3 behind CloudFront, with a search index generated at build time from the same configs that drive the pages.

04 / 09Key decisions

Which calls shaped it?

(01)

Configs over hand-built pages

Problem

The reference alone lists close to two thousand entries, and content teams kept adding guides. Hand-building pages would never stay consistent.

Decision

I described products, guides and references in JSON configs and Markdown, rendered through shared Next.js dynamic routes and layouts.

Outcome
  • Adding a guide is mostly content, not code
  • One set of templates drives 1,985 reference entries
  • Layouts stay consistent across 18 product and guide configs
(02)

Docs you can try

Problem

Sample payloads only answer some questions. Partners wanted to see real responses from their own setup.

Decision

With my co-lead, I built interactive demos: calculate tax on a sample sale, check test credentials, certify an integration and capture an exemption certificate.

Outcome
  • Developers see tax by jurisdiction from a real sandbox call
  • Credential and certification checks run inside the docs
  • Answers come from the API, not a static sample
(03)

Search built at compile time

Problem

The portal ships as a static export, so there is no server to run search queries.

Decision

A prebuild script walks the same configs that drive the pages and generates a search index shipped with the site.

Outcome
  • Search works on a fully static site
  • The index never drifts from the pages it describes
  • No search service to host or maintain
05 / 09What I built

What did I build?

Developer portal for a tax-compliance API platform
Developer portal for a tax-compliance API platform1 / 2
  • (01)

    Dozens of products and guides rendered through one set of templates.

  • (02)

    Live API calls from the docs instead of static samples.

  • (03)

    Search with no search server - the index is built at deploy time.

  • (04)

    Separate CI, QA and production environments with cache invalidation on every release.

  • (05)

    Worked directly inside the client’s engineering team, ticketing and review process for around 17 months.

06 / 09Foundation

What is it built on?

Content, not code

Anything a content team changes often should live in config, not in components.

Show the real response

Where possible, let developers call the API instead of reading about it.

Fit their pipeline

Ship through the client's own CI, QA and production process rather than a parallel one.

Frontend
Next.jsReactstyled-componentsTailwind CSSrc-tabs
Content
JSON configsMarkdownreact-markdownreact-syntax-highlighter
API reference
Swagger / OpenAPIRequest and response consoleSandbox demos
Build and infra
Prebuild search indexStatic exportGitLab CIAWS S3 + CloudFrontTerraform
07 / 09Delivery

How was it delivered?

  1. Phase 1

    Page system

    Shared Next.js routes, layouts and the JSON and Markdown config model for products and guides.

  2. Phase 2

    API reference

    Swagger and OpenAPI rendering with method badges, request-body tables and a request and response console.

  3. Phase 3

    Interactive demos

    The calculate-tax demo, test-credentials checker, certification flow and exemption certificate capture.

  4. Phase 4

    Guides and SDKs

    REST and SOAP developer guides, ecommerce, ERP, marketplace and hospitality guides, plus C#, Java, JavaScript, Python, PHP and Ruby SDK pages.

  5. Phase 5

    Search and delivery

    Build-time search index and static export shipped through the client's GitLab CI to S3 and CloudFront.

08 / 09Reflection

What did I learn?

01

Templates scale, pages do not

For documentation this large, the investment in configs and shared templates paid back on every new product.

02

A live call beats a sample

Interactive demos answered questions that static payloads never could.

03

Static can still be smart

Generating search from the same source as the pages kept a static site fast and accurate.

09 / 09FAQ

Questions about this project

What did Balaji Sankar build in the Tax API Portal project?
The public developer portal for a global tax-compliance platform: API references generated from Swagger, integration guides, SDK docs and demos that make live API calls right from the page.
Who was the client?
A global tax-compliance software company, in fintech / tax compliance / developer tools. The work is under NDA, so the client is not named.
What was the hardest part?
The company had dozens of APIs - tax calculation, exemption certificates, VAT, item classification, document management and more - and needed one developer portal that partners and customer engineers could actually use.
What was his role?
Co-lead frontend developer.
What technology was used?
Next.js, React, styled-components, Tailwind CSS, react-markdown, OpenAPI / Swagger, GitLab CI, AWS S3 + CloudFront and Terraform.
What were the results?
~17 mo embedded with the client’s engineering team and One templated portal covering API references, integration guides and SDKs.

Have a project like this?

Tell me what you’re building or what’s broken. I’ll tell you straight whether I’m the right person for it.

Next caseProcurement / B2B SaaS2026Django to React with Claude Code→