BillTimeEntriesRequest

Request to convert billable time entries with open WIP into client billing line items.
All entries must belong to the same client, be billable, carry an hourly rate and have WIP
left to bill. Line items are shaped by the line mode: combined (one per distinct hourly rate)
or one per entry. With no fee the entries are billed at their full billable value, as always. With
a fee, the fee is what the client is charged: it is spread across the entries pro rata to their
open WIP, and the difference between the WIP and the fee is a write-off (or write-on) that
needs a reason.

Properties

Name Type Description
timeEntryCodes*array of string

The codes of the time entries to bill

The codes of the time entries to bill

vatRateenum

Standard Reduced Zero Exempt OutOfScope

Standard Reduced Zero Exempt OutOfScope

descriptionstring

The invoice line description. Defaults to a summary of the billed period when omitted.

The invoice line description. Defaults to a summary of the billed period when omitted.

billingDatestring

Target invoice date. Defaults to today when omitted.

Target invoice date. Defaults to today when omitted.

accountingCodestring

Accounting/nominal code. Defaults from the client billing settings when omitted.

Accounting/nominal code. Defaults from the client billing settings when omitted.

lineModeenum

Combined PerEntry Single

Combined PerEntry Single

feeAmountnumber

The total to charge (ex VAT) for the selected entries. Omitted, the entries are billed at
their full billable value. Below the open WIP, the shortfall is written off or left open per
RemainderHandling; above it, the excess is a write-on. Must be greater than zero.

The total to charge (ex VAT) for the selected entries. Omitted, the entries are billed at
their full billable value. Below the open WIP, the shortfall is written off or left open per
RemainderHandling; above it, the excess is a write-on. Must be greater than zero.

remainderHandlingenum

LeaveOpen WriteOff

LeaveOpen WriteOff

allocationsarray of TimeEntryAllocationRequest

Explicit per-entry allocations for the cherry-picking case. When supplied, every selected
entry needs one, the billed amounts must sum to FeeAmount if that is given too, and
RemainderHandling is ignored.

Explicit per-entry allocations for the cherry-picking case. When supplied, every selected
entry needs one, the billed amounts must sum to FeeAmount if that is given too, and
RemainderHandling is ignored.

writeOffReasonCodestring

The code of the write-off reason. Required when the run writes time off or on; ignored
when it does not.

The code of the write-off reason. Required when the run writes time off or on; ignored
when it does not.

notesstring

Free-text context recorded on each allocation

Free-text context recorded on each allocation

JSON Example

{
  "timeEntryCodes": [
    "string"
  ],
  "vatRate": "Standard",
  "description": "string",
  "billingDate": "2024-01-01T00:00:00Z",
  "accountingCode": "string"
}

Used By Operations