Payables
Update Payable
Updates a payable.
PUT
/
v0
/
ledgers
/
{ap_ledger_id}
/
payables
/
{payable_id}
Authorizations
Authorization
string
headerrequiredThe access token received from the authorization server in the OAuth 2.0 flow.
Headers
teal-instance-id
string
requiredThe Teal instance ID
Path Parameters
ap_ledger_id
string
requiredThe AP ledger ID
payable_id
string
requiredThe Payable ID
Body
application/json
datetime
string | null
The datetime that the payable was created
due_datetime
string | null
The datetime that the payable is due
metadata
object | null
Metadata associated with the payable.
Response
200 - application/json
id
string
requiredledger_id
string
requireddatetime
string
requiredThe datetime that the invoice was created
due_datetime
string
requiredThe datetime that the invoice is due
metadata
object | null
Metadata associated with the payable.
lines
object[] | null
requiredExpandable. The line items of the payable.