Skip to main content
PUT
Update Contract Invoice Line

Path Parameters

id
integer
required

Body

Base serializer that injects the request user's customer on create and restricts related-object querysets to the same customer.

invoice
integer
required
contract_line
integer | null
product
integer | null

The product the issued AR invoice line bills against. Seeded from the contract line at schedule generation; editable on drafts so manually added lines can pick one.

description
string
Maximum string length: 500
service_start
string<date> | null
service_end
string<date> | null
currency
string
Maximum string length: 3
quantity
number<double>
Required range: -100000000000 < x < 100000000000
rate
number<double> | null
Required range: -1000000000000000 < x < 1000000000000000
amount
number<double>
Required range: -10000000000000 < x < 10000000000000

Response

200 - application/json

Base serializer that injects the request user's customer on create and restricts related-object querysets to the same customer.

id
integer
required
read-only
invoice
integer
required
product_name
string
default:""
required
read-only
created_at
string<date-time>
required
read-only
last_modified_at
string<date-time>
required
read-only
contract_line
integer | null
product
integer | null

The product the issued AR invoice line bills against. Seeded from the contract line at schedule generation; editable on drafts so manually added lines can pick one.

description
string
Maximum string length: 500
service_start
string<date> | null
service_end
string<date> | null
currency
string
Maximum string length: 3
quantity
number<double>
Required range: -100000000000 < x < 100000000000
rate
number<double> | null
Required range: -1000000000000000 < x < 1000000000000000
amount
number<double>
Required range: -10000000000000 < x < 10000000000000