---
source_url: "https://togai.mintlify.app/docs/how-togai-works"
title: Basics of Togai - Togai documentation
mirrored_at: 2026-08-04T03:39:32.897Z
host: togai.mintlify.app
cited_in_42a: true
mirror_canonical: "https://index.42a.ai/togai.mintlify.app/docs/how-togai-works"
---

> **Original source:** https://togai.mintlify.app/docs/how-togai-works

![](https://mintcdn.com/togai/4ztIxMuBOknYSiVI/docs/images/Togai-data-flow.png?fit=max&auto=format&n=4ztIxMuBOknYSiVI&q=85&s=29c39e23590019c14fc15a59d7731e17)

Togai data flow

## How Togai works?

Togai was built keeping in mind pricing configurability and model flexibility at its core. This means the architecture has been built ground up keeping in mind the requirements of different monetization models across pricing strategy (usage based, seat based, hybrid), GTM motions (self-serve, sales led) and payment terms (pre-paid, credits, post-paid, commitments). There are 4 building blocks in Togai to be configured that can be used to replace your entire billing stack.

![](https://mintcdn.com/togai/-PpQpSVOpktIsSrt/docs/images/togai-entities.png?fit=max&auto=format&n=-PpQpSVOpktIsSrt&q=85&s=66b5449f9ca98d8da7943fe5142826ce)

Configurable entities in Togai

## Quickstart guide

You can follow this 5 steps to easily get started using Togai to meter and bill your customers.

1

2

3

4

5

## Work backwards from your invoice

![](https://mintcdn.com/togai/-PpQpSVOpktIsSrt/docs/images/sample-invoice.png?fit=max&auto=format&n=-PpQpSVOpktIsSrt&q=85&s=6da0b4248c76438b06546a712609c14f)

Working backwards from your customer invoice

Your invoice consists of static and dynamic fields.

-   **Static fields** - Your company details, your customer’s details, your line items in the invoice and tax rate
-   **Dynamic fields** - Invoice number, Date of the invoice, invoice period, quantity of the line items and price per unit of the line item

The below table consists of the list of fields in your invoice mapped to the corresponding entity and configuration in Togai.

Invoice field

Type of field

Togai entity

Company details

Static

Billing information

Customer details

Static

Customer -> account

Line items

Static

Billable items

Tax rate

Static

Custom charges

Invoice number

Dynamic

Invoice sequence

Date of invoice

Dynamic

Price plan (Cycle start date, grace period)

Invoice period

Dynamic

Price plan billing cycle

Usage quantity

Dynamic

Usage meter / license quantity

Price per unit

Dynamic

Price plan (Rate cards)

It is ideal to think of your customer experience (pricing and invoicing) and work backwards from there to configure the relevant entities within Togai. The event schema is defined based on how your product is instrumented. Once all the configurations are done, you can start posting the event data to Togai. The invoices are generated accurately and automatically without manual intervention.