PHPackages                             ejosterberg/opensalestax-invoice-ninja - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. ejosterberg/opensalestax-invoice-ninja

ActiveProject[Utility &amp; Helpers](/categories/utility)

ejosterberg/opensalestax-invoice-ninja
======================================

Sidecar webhook listener that adds destination-based US sales tax to Invoice Ninja v5 invoices via the self-hosted OpenSalesTax engine

v0.3.2(3w ago)010[5 PRs](https://github.com/ejosterberg/opensalestax-invoice-ninja/pulls)Apache-2.0PHPPHP &gt;=8.2CI passing

Since May 14Pushed 1w agoCompare

[ Source](https://github.com/ejosterberg/opensalestax-invoice-ninja)[ Packagist](https://packagist.org/packages/ejosterberg/opensalestax-invoice-ninja)[ Docs](https://github.com/ejosterberg/opensalestax-invoice-ninja)[ RSS](/packages/ejosterberg-opensalestax-invoice-ninja/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (7)Dependencies (6)Versions (16)Used By (0)

OpenSalesTax for Invoice Ninja
==============================

[](#opensalestax-for-invoice-ninja)

> **v0.1.0-alpha.1.** Installable; passes 81 unit tests; SonarQube quality gate clean (0/0/0/0); not yet validated against a real Invoice Ninja v5 storefront. See `specs/` for the build plan.

A free, self-hostable **webhook sidecar** that adds destination-based US sales tax to [Invoice Ninja](https://invoiceninja.com) v5 invoices via the [OpenSalesTax engine](https://github.com/ejosterberg/opensalestax). No per-transaction fees, no SaaS lock-in — small agencies and freelancers self-host both Invoice Ninja and the OpenSalesTax engine on their own infrastructure.

How it works (sidecar model)
----------------------------

[](#how-it-works-sidecar-model)

```
+--------------+   1. webhook /webhooks/invoice-ninja        +-----------+
| Invoice      |  --------------------------------------->  |  Sidecar  |
| Ninja v5     |                                            |   (this)  |
|              |   3. PUT /api/v1/invoices/{id}             |           |
|              |
