Xero
Get Xero Account
Get Xero Account in the selected connected Xero account.
Endpoint
Parameters
| Name | Type | Required | Note |
|---|---|---|---|
| identifieraccount · required | account | required | — |
| tenantIdstring · required | string | required | Xero organisation tenantId from List Xero Tenants, using the same connected account. |
| accountIdstring · required | string | required | Xero AccountID from a matching list/get action, not a Connie account ID. |
Response schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"data"
],
"properties": {
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"Code": {
"type": "string"
},
"Date": {
"type": "string"
},
"Name": {
"type": "string"
},
"Total": {
"type": "number"
},
"Amount": {
"type": "number"
},
"ItemID": {
"type": "string",
"format": "uuid"
},
"Status": {
"type": "string"
},
"Contact": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"ContactID": {
"type": "string",
"format": "uuid"
}
},
"additionalProperties": true
},
"DueDate": {
"type": "string"
},
"SubTotal": {
"type": "number"
},
"TotalTax": {
"type": "number"
},
"AccountID": {
"type": "string",
"format": "uuid"
},
"AmountDue": {
"type": "number"
},
"ContactID": {
"type": "string",
"format": "uuid"
},
"InvoiceID": {
"type": "string",
"format": "uuid"
},
"LineItems": {
"type": "array",
"items": {
"type": "object",
"properties": {
"TaxType": {
"type": "string"
},
"ItemCode": {
"type": "string"
},
"Quantity": {
"type": "number"
},
"LineAmount": {
"type": "number"
},
"UnitAmount": {
"type": "number"
},
"AccountCode": {
"type": "string"
},
"Description": {
"type": "string"
}
},
"additionalProperties": true
}
},
"PaymentID": {
"type": "string",
"format": "uuid"
},
"Reference": {
"type": "string"
},
"AmountPaid": {
"type": "number"
},
"CreditNoteID": {
"type": "string",
"format": "uuid"
},
"CurrencyCode": {
"type": "string"
},
"EmailAddress": {
"type": "string"
},
"ContactStatus": {
"type": "string"
},
"InvoiceNumber": {
"type": "string"
},
"PurchaseOrderID": {
"type": "string",
"format": "uuid"
},
"BankTransactionID": {
"type": "string",
"format": "uuid"
}
},
"additionalProperties": true
}
},
"nextPage": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": false
}