Receivables
Create Receivable
Creates a receivable.
POST
/
v0
/
ledgers
/
{ar_ledger_id}
/
receivables
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
ar_ledger_id
string
requiredThe AR ledger ID
Body
application/json
datetime
string
requiredThe datetime that the receivable was created.
due_datetime
string
requiredThe datetime that the receivable is due.
id
string
requiredThe ID of the receivable. Must be unique per ledger.
lines
object[]
requiredThe line items of the receivable.
metadata
object | null
Any metadata that you would like to associate with the receivable.
Response
201 - 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.
lines
object[] | null
requiredExpandable. The line items of the receivable.
metadata
object | null
Metadata associated with the receivable.
files
object[] | null
The files associated with this receivable.