Invoice
Add an invoice
Changed onpost/v1/workspaces/{workspaceId}/invoices
Request
- Base URL: https://api.clockify.me/api
- URL: https://api.clockify.me/api/v1/workspaces/{workspaceId}/invoices
- Auth: one of:
- API key in header x-api-key
- API key in header x-addon-token
Path parameters
workspaceIdstring required
Represents a workspace identifier across the system.
Example:64a687e29ae1f428e7ebe303
Request body
Example request
{
"clientId": "98h687e29ae1f428e7ebe707",
"currency": "USD",
"dueDate": "2020-06-01T08:00:00Z",
"issuedDate": "2020-01-01T08:00:00Z",
"number": "202306121129"
}Response
Created
Example response
{
"billFrom": "Business X",
"clientId": "34p687e29ae1f428e7ebe562",
"currency": "USD",
"dueDate": "2020-06-01T08:00:00Z",
"id": "78a687e29ae1f428e7ebe303",
"issuedDate": "2020-01-01T08:00:00Z",
"number": "202306121129"
}Changes
- info
the
request property default valuewas added - info
the
request property default valuewas added - info
the
request property default valuewas added - info
the
response's property default valuewas added for the status - info
the
response's property default valuewas added for the status - info
the
response's property default valuewas added for the status - info
the
response's property default valuewas added for the status - info
the
response's property default valuewas added for the status
- info