
Invoice Ninja
Let AI connect your sources for you
Skip the manual setup — run this in your project and the wizard auto-detects your databases and APIs and connects them to PostHog.

Connect Invoice Ninja to PostHog to sync your data into the PostHog data warehouse for analysis and modeling.
Enter your Invoice Ninja API token to pull your invoicing data into the PostHog Data warehouse.
You can create an API token in Invoice Ninja under Settings > Account Management > Integrations > API tokens.
Self-hosted users should set the API URL to their own Invoice Ninja host (for example https://invoices.example.com). Leave it blank to use the hosted Invoice Ninja (https://invoicing.co).
Configuration
| Option | Type | Required |
|---|---|---|
API token | password | Yes |
API URL (self-hosted only) | text | No |
Linking Invoice Ninja to PostHog
- Go to the Data pipeline page in PostHog
- Click New source and select Invoice Ninja
- Fill in the required configuration fields
- Click Next, select the tables you want to sync, and then press Import
Supported tables
| Table | Description | Sync method | Incremental field | Primary key |
|---|---|---|---|---|
clients | A customer you invoice. Contacts are nested under each client as a | Full refresh | — | — |
credits | A credit note reducing what a client owes. | Full refresh | — | — |
expense_categories | A category used to classify expenses. | Full refresh | — | — |
expenses | A business expense, optionally billable to a client. | Full refresh | — | — |
invoices | A bill sent to a client, with line items, totals, and payment status. | Full refresh | — | — |
payments | A payment recorded against one or more invoices. | Full refresh | — | — |
payment_terms | A reusable net payment term (e.g. Net 30) offered to clients. | Full refresh | — | — |
products | A reusable catalog item that can be added to invoices and quotes. | Full refresh | — | — |
projects | A project used to group tasks and expenses for a client. | Full refresh | — | — |
purchase_orders | An order sent to a vendor to purchase goods or services. | Full refresh | — | — |
quotes | A proposal sent to a client that can be converted into an invoice. | Full refresh | — | — |
recurring_invoices | A template that automatically generates invoices on a schedule. | Full refresh | — | — |
tasks | A unit of tracked work, often billed by time, belonging to a project or client. | Full refresh | — | — |
tax_rates | A named tax rate applied to invoice and quote line items. | Full refresh | — | — |
vendors | A supplier you pay. Contacts are nested under each vendor as a | Full refresh | — | — |