# eTIMS JSON Format (2026): How Invoice Data Is Structured

> How eTIMS invoice data is structured for an integration at a high level, why KRA documentation defines the exact JSON, and how to build against the real

Canonical: https://veirahq.com/blog/etims-json-format

[eTIMS](https://veirahq.com/blog/what-is-etims) JSON format is a question for any Kenyan business or developer connecting their own systems to [KRA](https://www.kra.go.ke) eTIMS. An eTIMS integration sends invoice data in a structured format, commonly JSON, containing the seller, buyer, item lines with tax, totals and the fields KRA needs. The exact JSON structure, field names and types are defined in KRA&#x27;s official documentation, so build against that rather than a guessed schema. This guide explains the concepts and the practical approach, what to confirm in KRA&#x27;s official documentation, and when you can skip the build entirely with compliant software. Technical specifics change, so treat KRA&#x27;s official eTIMS documentation as the source of truth.

- eTIMS integrations send structured invoice data, commonly JSON, with seller, buyer, lines, tax and totals
- The exact field names, types and required values live in KRA&#x27;s documentation and change
- Match the schema precisely; wrong types or missing required fields fail validation
- Build against KRA&#x27;s current structure and validate in the sandbox, not from old examples

1. How eTIMS invoice data is structured
2. How to approach it
3. What to check before you build
4. A developer matches the schema
5. When you can skip the integration
6. Frequently asked questions

## How eTIMS invoice data is structured

When a system sends an invoice to eTIMS, it sends structured data, commonly as JSON, rather than a printed document. Conceptually that data carries the same things a compliant invoice shows: the seller details and PIN, the buyer PIN, the item lines with quantity, price and tax treatment, the totals and tax, and the fields KRA uses to register and sign the invoice.

The key discipline for a developer is that the exact JSON, the field names, nesting, data types and required values, is defined by KRA in its official documentation and changes over time. Guessing the structure or copying an old example leads to validation failures. So the useful knowledge here is the shape of the problem and the requirement to build against KRA&#x27;s current schema, not a fixed example reproduced out of date.

Most payload problems are not exotic. They are types and shapes: a number sent as a string, a date in the wrong format, a field omitted when it is conditionally required, or a decimal with more precision than expected. Each produces a validation rejection that names the field, which is why reading the response carefully is the fastest route to a fix.

Validate before sending rather than learning from rejections. Checking your payload against the expected structure at your end turns a round trip with KRA into an immediate local error, and it catches the conditionally-required fields that only appear on certain kinds of sale.

Want to see it running in your own business first?

> The cheapest eTIMS integration is often the one you do not have to build, certify and maintain yourself.

## How to approach it

A practical path. Confirm exact technical details against KRA&#x27;s official documentation.

1. 1Work from KRA&#x27;s schemaGet the current invoice data structure from KRA&#x27;s official documentation. It defines the exact field names, types and required values.
2. 2Map your invoice model to itMap your system&#x27;s invoice fields to KRA&#x27;s structure, ensuring tax treatment per line and buyer PIN are populated correctly.
3. 3Validate types and required fieldsCheck data types and required fields match exactly, since a wrong type or a missing required field triggers a validation error.
4. 4Test against the sandboxSend test invoices to KRA&#x27;s environment, read any validation responses, and correct the structure until it validates cleanly.
5. 5Validate the payload before sendingA local check against the expected structure catches type and shape errors without a round trip.
6. 6Watch conditionally required fieldsSome fields are required only for certain sales, such as those carrying a buyer PIN. These are the ones missed in testing.

## What to check before you build

### Copying an old example payload

An old JSON example goes stale. Build against KRA&#x27;s current documented structure to avoid validation failures.

### Getting data types or required fields wrong

A wrong type or a missing required field fails validation. Match KRA&#x27;s schema precisely.

### Not reading validation responses

KRA&#x27;s responses tell you what failed. Read them and correct the structure rather than guessing.

## A developer matches the schema

A developer building an eTIMS integration assembled an invoice payload from an example found online, and it kept failing validation on a field type.

They rebuilt the structure from KRA&#x27;s current documented schema, matched every field name and type, populated the tax treatment per line and the buyer PIN, and read the validation responses to refine it.

Once the payload matched KRA&#x27;s current schema exactly, invoices validated cleanly, where the stale example never would have.

Trading without eTIMS-compliant tax invoices risks KRA penalties, blocked VAT input claims for your customers, and receipts a business buyer cannot expense.

Veira signs every sale to KRA eTIMS automatically, so each receipt is compliant the moment it prints, with no separate device to reconcile.

## When you can skip the integration

The biggest decision here is whether you need to build an integration at all. Veira is already a compliant eTIMS system: it issues compliant KRA invoices automatically, applies the right tax treatment, captures the buyer PIN, transmits to KRA, and works offline. For many businesses that removes the need to build, certify and maintain a custom integration yourself.

If you do run an ERP or a custom stack, weigh the cost of building and maintaining an integration against running point of sale and invoicing on Veira and reconciling. Veira runs from KES 2,999 a month, terminal included on annual billing from Growth up and a 30-day money-back guarantee. See how Veira works, or book a free demo to talk through your setup.

## Frequently asked questions

eTIMS JSON format comes down to the concepts above plus KRA&#x27;s official documentation for the exact details, and for many businesses the simplest path is compliant software that handles it for you. See how Veira works, or book a free demo. Always build against KRA&#x27;s current official eTIMS documentation.

For more eTIMS guides and compliance resources, [visit our free resource site](https://sites.google.com/view/etims-compliance-veira-pos/home).

## Keep reading

[See all eTIMS guides](https://veirahq.com/blog/etims)

## Veira for your business

[Browse Veira by business type](https://veirahq.com/solutions) · [Who we serve](https://veirahq.com/industries)

Veira files a compliant invoice on every sale and keeps selling when the line drops.
