# ChatInvoice Public API > Issue legally valid Israeli accounting documents (quotes, invoices, receipts, credit notes) for a ChatInvoice business from any external system. Base URL https://api.chat-invoice.co.il/v1 · Bearer API key (ci_live_…) · JSON · ILS · dates YYYY-MM-DD (Asia/Jerusalem) · server-to-server only. Key facts: the caller never sends document numbers, VAT rates, totals or allocation numbers — the engine computes them from the business settings and Israeli law. POST /v1/documents requires an Idempotency-Key header. Exempt dealers / NPOs cannot issue tax invoices (use receipt / proforma). Accounting documents are never cancelled — issue a credit_note with based_on. Documents are always issued; allocation numbers and customer delivery are best-effort and reported in allocation.status / delivery.status. ## Docs - [Guide (English)](https://api.chat-invoice.co.il/docs) - [Guide (Hebrew)](https://api.chat-invoice.co.il/docs/he) - [Reference — endpoints & fields](https://api.chat-invoice.co.il/docs/reference) - [Error catalog](https://api.chat-invoice.co.il/docs/errors) - [Integration guide for AI agents](https://api.chat-invoice.co.il/docs/agents) - [Changelog](https://api.chat-invoice.co.il/docs/changelog) ## Machine-readable - [OpenAPI 3.1 (YAML)](https://api.chat-invoice.co.il/openapi.yaml) - [OpenAPI 3.1 (JSON)](https://api.chat-invoice.co.il/openapi.json) - [Full docs as text](https://api.chat-invoice.co.il/llms-full.txt) - Error catalog as JSON: GET https://api.chat-invoice.co.il/v1/errors