Skip to main content
PUT
Update a custom invoice
This endpoint requires authentication. Include your Bearer token in the Authorization header.

Description

PUT /billing/invoices/custom/ Authorization:
  • Required role: owner only

Code Examples

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Path Parameters

id
string<uuid>
required

Body

application/json

Partial update — any subset of CreateCustomInvoiceRequest fields.

totalAmount
number
Required range: x >= 0.01
description
string
taxAmount
number
discountAmount
number
currency
string
dueDate
string<date-time>
lineItems
object[]
notes
string
paymentMethod
string
referenceNumber
string

Response

Custom invoice updated

status
string
Example:

"success"

message
string
data
object

Locally-stored invoice row (TenantInvoice model) — custom/manual invoices only; Stripe-hosted invoices are fetched live and merged in GET /billing/invoices.