| Xero |
Invoice |
INV26040017 |
|
0 |
{
"ErrorNumber": 10,
"Type": "ValidationException",
"Message": "A validation exception occurred",
"Elements": [
{
"Type": "ACCREC",
"InvoiceID": "ef5304e6-07fc-4381-8b06-3fd3e95f0ab4",
"InvoiceNumber": "INV26040100",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 55.00,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"IsDiscounted": false,
"HasErrors": true,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "1f97922f-905e-4531-a56c-caa358f4711d",
"ContactStatus": "ACTIVE",
"Name": "Blue Bird Landscaping & Fencing",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1775001789987+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2026-04-09T00:00:00",
"Date": "\/Date(1775692800000+0000)\/",
"DueDateString": "2026-04-09T00:00:00",
"DueDate": "\/Date(1775692800000+0000)\/",
"BrandingThemeID": "f47d18be-a773-46f4-9351-149f22f0c836",
"Status": "AUTHORISED",
"LineAmountTypes": "Inclusive",
"LineItems": [
{
"ItemCode": "ACSP505027CG",
"Description": "Cottage Green Square Post 50x50x2.7",
"UnitAmount": 55.00,
"TaxType": "OUTPUT",
"TaxAmount": 5.00,
"LineAmount": 55.00,
"AccountCode": "200",
"Item": {
"ItemID": "db722335-ac60-4046-a603-d2d9a5e3d507",
"Name": "Cottage Green Square Post 50x50x2.7",
"Code": "ACSP505027CG"
},
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "cf7e4051-eda9-4032-a3c9-f9be4dc9a427",
"AccountID": "7d79b2c8-abb8-4c9d-be90-248c46b1717b",
"ValidationErrors": []
}
],
"SubTotal": 50.00,
"TotalTax": 5.00,
"Total": 55.00,
"UpdatedDateUTC": "\/Date(1775715018449)\/",
"CurrencyCode": "AUD",
"ValidationErrors": [
{
"Message": "ACSP505027CG: Cottage Green Square Post 50x50x2.7 - No items available to sell."
}
]
}
]
}{
"ErrorNumber": 10,
"Type": "ValidationException",
"Message": "A validation exception occurred",
"Elements": [
{
"Type": "ACCREC",
"InvoiceID": "ef5304e6-07fc-4381-8b06-3fd3e95f0ab4",
"InvoiceNumber": "INV26040100",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 55.00,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"IsDiscounted": false,
"HasErrors": true,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "1f97922f-905e-4531-a56c-caa358f4711d",
"ContactStatus": "ACTIVE",
"Name": "Blue Bird Landscaping & Fencing",
"EmailAddress": "",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1775001789987+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2026-04-09T00:00:00",
"Date": "\/Date(1775692800000+0000)\/",
"DueDateString": "2026-04-09T00:00:00",
"DueDate": "\/Date(1775692800000+0000)\/",
"BrandingThemeID": "f47d18be-a773-46f4-9351-149f22f0c836",
"Status": "AUTHORISED",
"LineAmountTypes": "Inclusive",
"LineItems": [
{
"ItemCode": "ACSP505027CG",
"Description": "Cottage Green Square Post 50x50x2.7",
"UnitAmount": 55.00,
"TaxType": "OUTPUT",
"TaxAmount": 5.00,
"LineAmount": 55.00,
"AccountCode": "200",
"Item": {
"ItemID": "db722335-ac60-4046-a603-d2d9a5e3d507",
"Name": "Cottage Green Square Post 50x50x2.7",
"Code": "ACSP505027CG"
},
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "cf7e4051-eda9-4032-a3c9-f9be4dc9a427",
"AccountID": "7d79b2c8-abb8-4c9d-be90-248c46b1717b",
"ValidationErrors": []
}
],
"SubTotal": 50.00,
"TotalTax": 5.00,
"Total": 55.00,
"UpdatedDateUTC": "\/Date(1775715018449)\/",
"CurrencyCode": "AUD",
"ValidationErrors": [
{
"Message": "ACSP505027CG: Cottage Green Square Post 50x50x2.7 - No items available to sell."
}
]
}
]
} |
|
|