Key features of BillClap API
✅ Create Invoice API — Create sales invoices, purchase bills, quotations, and other document types programmatically. ✅ Party management — Create or match customers and suppliers by mobile number or existing party ID. ✅ Product catalog — Match existing products or create new line items on the fly during invoice creation. ✅ GST & totals — Server-side tax, discount, and total calculation with inventory and ledger updates. ✅ Shareable links — Receive a preview URL for every document created via the API. More endpoints will be added over time. This site documents what is currently supported in production.Getting started
1. Create an account
- Sign up on BillClap if you have not already.
- Set up your business profile and invoice settings in the app.
2. Generate your API token
- Open the BillClap app and go to Settings → API Integration.
- Generate your API token and store it securely—it is used as the
x-api-tokenheader on every API request.
3. Test the API in the playground
- Open the Create Invoice API reference.
- Click Try it, enter your
x-api-token, fill in the request body, and click Send.
4. Customize invoice settings (optional)
- In the BillClap app, configure invoice prefixes, numbering, default terms, signatures, and tax settings under Settings.
- These defaults apply automatically when you create documents via the API.
5. Start using the API
- Use the API from your backend to create invoices, sync parties, and automate billing workflows.
- See Quickstart for a complete curl example.
6. Monitor in the BillClap app
- View and manage all invoices created via the API in the BillClap dashboard.
- Track payments, inventory, and reports alongside invoices created in the app.
Base URL
All API requests go to:How to test the API
- Copy your API token from Settings → API Integration in the BillClap app.
- Open the API playground.
- Enter your token in the
x-api-tokenheader field. - Review the pre-filled request body or adjust fields for your test case.
- Click Send and review the response.
- Open the
linkin the response to preview the created document.
How it works
Rate limits & credits
- Invoice creation consumes your plan’s invoice credits, same as creating an invoice in the app.
- If credits are exhausted, the API returns:
Credits Expired!!!
Need help?
- Email: [email protected]
- Help center: help.billclap.com