Creating invoices via API (POST /invoices) for full automation
As a developer, I want to automate parts of our invoicing process by being able to create invoices directly through the API. Currently, the v2 API only supports invoice data retrieval(GET /invoices), but there is no endpoint to create an invoice(POST /invoices). This forces us to still perform a manual action in the web interface after collecting and validating all billable data.
Current limitation: Our scripts can retrieve all approved hours, trips and expenses through the API. We can group these by customer and project, but at the crucial moment of actual invoice creation we get stuck. The final step remains a manual operation.
Proposed solution: Implement a new endpoint: POST /invoices. This endpoint would ideally accept the following:
customerIdA list of IDs of
times,mileagesandexpensesto be billed.Any other billing information such as reference, date, etc.
This allows us to fully automate the process of selecting lines on the 'Not Billed' page.
- Product area
- Facturatie
Log in to comment and vote
Comments1
Aug 14, 2025
PinnedWe ondersteunen het aanmaken van facturen momenteel niet via de publieke API.
Het facturatieproces in TimeChimp is complex, met veel instellingen en logica die in de webapp worden afgehandeld. Dit via de API aanbieden zou het risico op fouten vergroten, extra functies vereisen en meer support en onderhoud opleveren.
Daarnaast past het minder bij onze productstrategie: de API is vooral bedoeld voor inzicht, rapportage en statusupdates, niet voor het automatiseren van complexe processen zoals facturatie.