API by router
Xero
Search Xero Contacts
Search contacts in Xero.
Path Parameters
instance_idInstance Id
Format
uuidQuery Parameters
name?Name
Default
""email?Email
Default
""Response Body
curl -X GET "https://loading/internal/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/xero/contacts?name=&email="null{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}Create Xero Invoice
Create an invoice in Xero from the agent.
Path Parameters
instance_idInstance Id
Format
uuidcontact_email?Contact Email
contact_nameContact Name
currency_code?Currency Code
Default
"AUD"due_date?Due Date
line_itemsLine Items
reference?Reference
Response Body
curl -X POST "https://loading/internal/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/xero/invoices" \ -H "Content-Type: application/json" \ -d '{ "contact_name": "string", "line_items": [ {} ] }'null{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}Get Xero Invoice
Get invoice details from Xero (payment status, etc.).
Path Parameters
instance_idInstance Id
Format
uuidinvoice_idInvoice Id
Response Body
curl -X GET "https://loading/internal/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/xero/invoices/string"null{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}