---
title: "Updates PSA properties of a ticket time entry"
method: PUT
path: "/v2/billing/ticket-time-entry/{timeEntryId}"
tags: ["Billing"]
---

# Updates PSA properties of a ticket time entry

`PUT /v2/billing/ticket-time-entry/{timeEntryId}`

Updates the PSA billing properties of a ticket time entry.

## Path parameters

- `timeEntryId` integer, required

## Request body

- object
  - `startDate` string
  - `remote` boolean
  - `inHours` object
    - `agreementId` integer
    - `agreementProductId` integer
    - `billingType` 'BILLABLE' | 'NOT_BILLABLE' | 'NO_CHARGE'
    - `timeTracked` integer
    - `agreementOriginType` 'NONE' | 'SELF' | 'TICKET'
  - `offHours` object
    - `agreementId` integer
    - `agreementProductId` integer
    - `billingType` 'BILLABLE' | 'NOT_BILLABLE' | 'NO_CHARGE'
    - `timeTracked` integer
    - `agreementOriginType` 'NONE' | 'SELF' | 'TICKET'

## Response `200`

Time entry PSA properties successfully updated

- object — Representation of a ninja billing Ticket Time Entry.
  - `id` integer
  - `ticketId` integer
  - `timeTracked` integer
  - `startDate` number, double
  - `remote` boolean
  - `agreementOriginType` 'NONE' | 'SELF' | 'TICKET'
  - `agreementProductId` integer
  - `price` number
  - `invoiceId` integer
  - `agreementId` integer
  - `billingStatus` 'BILLED' | 'PENDING' | 'NOT_BILLABLE' | 'UNASSIGNED'
  - `createTime` number, double
  - `updateTime` number, double

## Other responses

- `400` — Bad Request - Validation error
- `403` — Forbidden - Insufficient permissions
- `404` — Time entry not found
- `409` — Conflict - Time entry billing data is already on an invoice

---

[API](https://skmtc.net/ninjarmm/apis/ninjaone-public-api-2-0.md) · [All operations](https://skmtc.net/ninjarmm/apis/ninjaone-public-api-2-0/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ninjarmm/ninjaone-public-api-2-0/versions/753f26d46650/schema)
