Appends the grouped time as lines to a draft document and marks the entries as invoiced in the same transaction, so the same hour can never reach two documents. A document that has left draft is refused.
apiKeyAuth In: header
application/json
TypeScript Definitions
Use the request body type in TypeScript.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$uuid^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$uuiditems <= 1000"service""service" | "service_and_description" | "entry"true0 <= value <= 100application/json
application/json
application/json
application/json
application/json
curl -X POST "https://loading/api/v1/time-tracking/bill" \ -H "Content-Type: application/json" \ -d '{ "documentId": "4704590c-004e-410d-adf7-acb7ca0a7052" }'API key authentication. Create an API key in your user profile and include it in the x-api-key header.
{
"documentId": "4704590c-004e-410d-adf7-acb7ca0a7052",
"addedLineCount": 9007199254740991,
"billedEntryCount": 9007199254740991,
"billedMinutes": 9007199254740991,
"addedNetCents": -9007199254740991,
"documentTotalCents": -9007199254740991
}"string""string""string""string"