Invoicing

Update an invoice item

Updates name, unit price, default revenue account, or active state. unitPrice is in major currency units and may be negative. Pass accountId null to clear the default. Deactivate with isActive=false; items are never hard-deleted. Requires manage:invoices.

patch/invoice-items/{id}

Request

  • Base URL: https://ledgerhq.pro/api/v1
  • URL: https://ledgerhq.pro/api/v1/invoice-items/{id}
  • Auth: one of:
    • HTTP bearer and API key in header x-organization-id
    • HTTP bearer and API key in header x-organization-id

Path parameters

idstring uuid required

Invoice item UUID

Request body

namestring
unitPricenumber

Major currency units; negative for discount items

accountIdstring uuid nullable

Default revenue account UUID, or null to clear

isActiveboolean

Response

Updated invoice item

Changes

No recorded changes to this operation across all 3 revisions of this API.