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:
customerId
A list of IDs of times, mileages and expenses to 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.
Please authenticate to join the conversation.
Gesloten
Feedback and ideas
8 months ago
Get notified by email when there are changes.
Gesloten
Feedback and ideas
8 months ago
Get notified by email when there are changes.