Vendors
Creates a vendor
Changed onAdds a vendor master record the accounts-payable team can select on bills, vendor credits, and payments. Capture legal name, remit-to address, default currency, and payment terms so downstream bills inherit correct due dates and banking instructions.
post/vendors
Request
- Base URLhttps://api.rillet.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"name": "MyVendor",
"account_code": "11112",
"address": {
"line1": "123 Main St",
"line2": "Apt 4B",
"city": "Nashville",
"state": "TN",
"zip_code": "37201",
"country": "US"
},
"external_references": [
{
"type": "xyzSystemId",
"id": "234",
"url": "https://xyzsystempage.com/ids/234"
}
],
"tax_id": "123"
}Response
OK
Example response
{
"name": "MyVendor",
"account_code": "11112",
"address": {
"line1": "123 Main St",
"line2": "Apt 4B",
"city": "Nashville",
"state": "TN",
"zip_code": "37201",
"country": "US"
},
"external_references": [
{
"type": "xyzSystemId",
"id": "234",
"url": "https://xyzsystempage.com/ids/234"
}
],
"tax_id": "123"
}Changes
- breaking
the response property
/////became nullable for the status - breaking
the response property
/////became nullable for the status - breaking
the response property
/////became optional for the status - info
the request property
/became nullable - info
the request property
/became nullable - info
the request property
/became optional
- breaking