| Xero |
Invoice |
INV26040017 |
|
0 |
{
"ErrorNumber": 10,
"Type": "ValidationException",
"Message": "A validation exception occurred",
"Elements": [
{
"Type": "ACCREC",
"InvoiceID": "4fce992d-36ca-42f0-a529-169b91ec4bfa",
"InvoiceNumber": "INV26040093",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 1884.10,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"IsDiscounted": false,
"HasErrors": true,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "7cad9be7-314a-47d5-901e-8f6ce9a61683",
"ContactStatus": "ACTIVE",
"Name": "Sangha Concreting Pty Ltd",
"EmailAddress": "sanghaconcreting@gmail.com",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "660001",
"PhoneAreaCode": "0466",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1725699793717+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"DefaultCurrency": "AUD",
"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": "ACHTP1257524",
"Description": "Hardwood Timber Post 125x75x2.4m",
"UnitAmount": 43.45,
"TaxType": "OUTPUT",
"TaxAmount": 23.70,
"LineAmount": 260.70,
"AccountCode": "200",
"Item": {
"ItemID": "6ed8e4af-1a40-40a5-9473-85b1f6b5768b",
"Name": "Hardwood Timber Post 125x75x2.4m",
"Code": "ACHTP1257524"
},
"Tracking": [],
"Quantity": 6.0000,
"LineItemID": "d74e24d2-a9a3-474d-95c7-030bb359f245",
"AccountID": "7d79b2c8-abb8-4c9d-be90-248c46b1717b",
"ValidationErrors": []
},
{
"ItemCode": "ACTPR755454",
"Description": "Treated Pine Rail 75x50x5.4",
"UnitAmount": 15.95,
"TaxType": "OUTPUT",
"TaxAmount": 43.50,
"LineAmount": 478.50,
"AccountCode": "200",
"Item": {
"ItemID": "7ad3011c-67b8-4f70-a6c5-24387dff8c8c",
"Name": "Treated Pine Rail 75x50x5.4",
"Code": "ACTPR755454"
},
"Tracking": [],
"Quantity": 30.0000,
"LineItemID": "1f95556c-b4ab-4247-9639-e8503d8f861b",
"AccountID": "7d79b2c8-abb8-4c9d-be90-248c46b1717b",
"ValidationErrors": []
},
{
"ItemCode": "ACTPPL1502554",
"Description": "Treated Pine Plinth 150x25x5.4mm",
"UnitAmount": 16.15,
"TaxType": "OUTPUT",
"TaxAmount": 14.68,
"LineAmount": 161.50,
"AccountCode": "200",
"Item": {
"ItemID": "0b95a9d2-6fb6-4f50-955d-17db41a372af",
"Name": "Treated Pine Plinth 150x25x5.4mm",
"Code": "ACTPPL1502554"
},
"Tracking": [],
"Quantity": 10.0000,
"LineItemID": "d354d6f4-aa0f-41ff-a62e-e102e6d5615d",
"AccountID": "7d79b2c8-abb8-4c9d-be90-248c46b1717b",
"ValidationErrors": []
},
{
"ItemCode": "ACTPFP100125018",
"Description": "Treated Pine Fence Paling 100x12x1.8",
"UnitAmount": 1.78,
"TaxType": "OUTPUT",
"TaxAmount": 33.17,
"LineAmount": 364.90,
"AccountCode": "200",
"Item": {
"ItemID": "16f516af-08c1-4605-b889-616b2a7ef496",
"Name": "Treated Pine Fence Paling 100x12x1.8",
"Code": "ACTPFP100125018"
},
"Tracking": [],
"Quantity": 205.0000,
"LineItemID": "77f7948d-f043-4899-a553-e75a068b2ac7",
"AccountID": "7d79b2c8-abb8-4c9d-be90-248c46b1717b",
"ValidationErrors": []
},
{
"ItemCode": "ACTPFP1501218",
"Description": "Treated Pine Fence Paling 150x12x1.8",
"UnitAmount": 2.49,
"TaxType": "OUTPUT",
"TaxAmount": 46.40,
"LineAmount": 510.45,
"AccountCode": "200",
"Item": {
"ItemID": "615393a1-2ab3-428b-abcb-c14935717dfc",
"Name": "Treated Pine Fence Paling 150x12x1.8",
"Code": "ACTPFP1501218"
},
"Tracking": [],
"Quantity": 205.0000,
"LineItemID": "cff9e9ac-684c-48bc-9d56-149777bcbe21",
"AccountID": "7d79b2c8-abb8-4c9d-be90-248c46b1717b",
"ValidationErrors": []
},
{
"ItemCode": "ACRS20",
"Description": "Rapid Set Concrete Mix 20kg",
"UnitAmount": 9.35,
"TaxType": "OUTPUT",
"TaxAmount": 2.55,
"LineAmount": 28.05,
"AccountCode": "200",
"Item": {
"ItemID": "d57100d9-dba0-4b33-a9a7-e8b3ee651789",
"Name": "Rapid Set Concrete Mix 20kg",
"Code": "ACRS20"
},
"Tracking": [],
"Quantity": 3.0000,
"LineItemID": "18960625-0691-4fa4-8de9-11100613618e",
"AccountID": "7d79b2c8-abb8-4c9d-be90-248c46b1717b",
"ValidationErrors": []
},
{
"ItemCode": "SN90EG",
"Description": "Framing Nail EG 34-90mm Box (3000)",
"UnitAmount": 80.00,
"TaxType": "OUTPUT",
"TaxAmount": 7.27,
"LineAmount": 80.00,
"AccountCode": "200",
"Item": {
"ItemID": "966c8a8d-ac09-487d-b3f3-d75790d777a3",
"Name": "Framing Nail EG 34-90mm Box (3000)",
"Code": "SN90EG"
},
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "4a21d164-4064-4d57-921a-4ea4158920d4",
"AccountID": "7d79b2c8-abb8-4c9d-be90-248c46b1717b",
"ValidationErrors": []
}
],
"SubTotal": 1712.83,
"TotalTax": 171.27,
"Total": 1884.10,
"UpdatedDateUTC": "\/Date(1775714905725)\/",
"CurrencyCode": "AUD",
"ValidationErrors": [
{
"Message": "ACHTP1257524: Hardwood Timber Post 125x75x2.4m - No items available to sell."
},
{
"Message": "ACTPFP1501218: Treated Pine Fence Paling 150x12x1.8 - Only 89 items available to sell."
},
{
"Message": "ACRS20: Rapid Set Concrete Mix 20kg - No items available to sell."
}
]
}
]
}{
"ErrorNumber": 10,
"Type": "ValidationException",
"Message": "A validation exception occurred",
"Elements": [
{
"Type": "ACCREC",
"InvoiceID": "4fce992d-36ca-42f0-a529-169b91ec4bfa",
"InvoiceNumber": "INV26040093",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 1884.10,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"IsDiscounted": false,
"HasErrors": true,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "7cad9be7-314a-47d5-901e-8f6ce9a61683",
"ContactStatus": "ACTIVE",
"Name": "Sangha Concreting Pty Ltd",
"EmailAddress": "sanghaconcreting@gmail.com",
"BankAccountDetails": "",
"Addresses": [
{
"AddressType": "STREET",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
},
{
"AddressType": "POBOX",
"City": "",
"Region": "",
"PostalCode": "",
"Country": ""
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "660001",
"PhoneAreaCode": "0466",
"PhoneCountryCode": ""
},
{
"PhoneType": "DDI",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "FAX",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
},
{
"PhoneType": "MOBILE",
"PhoneNumber": "",
"PhoneAreaCode": "",
"PhoneCountryCode": ""
}
],
"UpdatedDateUTC": "\/Date(1725699793717+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"DefaultCurrency": "AUD",
"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": "ACHTP1257524",
"Description": "Hardwood Timber Post 125x75x2.4m",
"UnitAmount": 43.45,
"TaxType": "OUTPUT",
"TaxAmount": 23.70,
"LineAmount": 260.70,
"AccountCode": "200",
"Item": {
"ItemID": "6ed8e4af-1a40-40a5-9473-85b1f6b5768b",
"Name": "Hardwood Timber Post 125x75x2.4m",
"Code": "ACHTP1257524"
},
"Tracking": [],
"Quantity": 6.0000,
"LineItemID": "d74e24d2-a9a3-474d-95c7-030bb359f245",
"AccountID": "7d79b2c8-abb8-4c9d-be90-248c46b1717b",
"ValidationErrors": []
},
{
"ItemCode": "ACTPR755454",
"Description": "Treated Pine Rail 75x50x5.4",
"UnitAmount": 15.95,
"TaxType": "OUTPUT",
"TaxAmount": 43.50,
"LineAmount": 478.50,
"AccountCode": "200",
"Item": {
"ItemID": "7ad3011c-67b8-4f70-a6c5-24387dff8c8c",
"Name": "Treated Pine Rail 75x50x5.4",
"Code": "ACTPR755454"
},
"Tracking": [],
"Quantity": 30.0000,
"LineItemID": "1f95556c-b4ab-4247-9639-e8503d8f861b",
"AccountID": "7d79b2c8-abb8-4c9d-be90-248c46b1717b",
"ValidationErrors": []
},
{
"ItemCode": "ACTPPL1502554",
"Description": "Treated Pine Plinth 150x25x5.4mm",
"UnitAmount": 16.15,
"TaxType": "OUTPUT",
"TaxAmount": 14.68,
"LineAmount": 161.50,
"AccountCode": "200",
"Item": {
"ItemID": "0b95a9d2-6fb6-4f50-955d-17db41a372af",
"Name": "Treated Pine Plinth 150x25x5.4mm",
"Code": "ACTPPL1502554"
},
"Tracking": [],
"Quantity": 10.0000,
"LineItemID": "d354d6f4-aa0f-41ff-a62e-e102e6d5615d",
"AccountID": "7d79b2c8-abb8-4c9d-be90-248c46b1717b",
"ValidationErrors": []
},
{
"ItemCode": "ACTPFP100125018",
"Description": "Treated Pine Fence Paling 100x12x1.8",
"UnitAmount": 1.78,
"TaxType": "OUTPUT",
"TaxAmount": 33.17,
"LineAmount": 364.90,
"AccountCode": "200",
"Item": {
"ItemID": "16f516af-08c1-4605-b889-616b2a7ef496",
"Name": "Treated Pine Fence Paling 100x12x1.8",
"Code": "ACTPFP100125018"
},
"Tracking": [],
"Quantity": 205.0000,
"LineItemID": "77f7948d-f043-4899-a553-e75a068b2ac7",
"AccountID": "7d79b2c8-abb8-4c9d-be90-248c46b1717b",
"ValidationErrors": []
},
{
"ItemCode": "ACTPFP1501218",
"Description": "Treated Pine Fence Paling 150x12x1.8",
"UnitAmount": 2.49,
"TaxType": "OUTPUT",
"TaxAmount": 46.40,
"LineAmount": 510.45,
"AccountCode": "200",
"Item": {
"ItemID": "615393a1-2ab3-428b-abcb-c14935717dfc",
"Name": "Treated Pine Fence Paling 150x12x1.8",
"Code": "ACTPFP1501218"
},
"Tracking": [],
"Quantity": 205.0000,
"LineItemID": "cff9e9ac-684c-48bc-9d56-149777bcbe21",
"AccountID": "7d79b2c8-abb8-4c9d-be90-248c46b1717b",
"ValidationErrors": []
},
{
"ItemCode": "ACRS20",
"Description": "Rapid Set Concrete Mix 20kg",
"UnitAmount": 9.35,
"TaxType": "OUTPUT",
"TaxAmount": 2.55,
"LineAmount": 28.05,
"AccountCode": "200",
"Item": {
"ItemID": "d57100d9-dba0-4b33-a9a7-e8b3ee651789",
"Name": "Rapid Set Concrete Mix 20kg",
"Code": "ACRS20"
},
"Tracking": [],
"Quantity": 3.0000,
"LineItemID": "18960625-0691-4fa4-8de9-11100613618e",
"AccountID": "7d79b2c8-abb8-4c9d-be90-248c46b1717b",
"ValidationErrors": []
},
{
"ItemCode": "SN90EG",
"Description": "Framing Nail EG 34-90mm Box (3000)",
"UnitAmount": 80.00,
"TaxType": "OUTPUT",
"TaxAmount": 7.27,
"LineAmount": 80.00,
"AccountCode": "200",
"Item": {
"ItemID": "966c8a8d-ac09-487d-b3f3-d75790d777a3",
"Name": "Framing Nail EG 34-90mm Box (3000)",
"Code": "SN90EG"
},
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "4a21d164-4064-4d57-921a-4ea4158920d4",
"AccountID": "7d79b2c8-abb8-4c9d-be90-248c46b1717b",
"ValidationErrors": []
}
],
"SubTotal": 1712.83,
"TotalTax": 171.27,
"Total": 1884.10,
"UpdatedDateUTC": "\/Date(1775714905725)\/",
"CurrencyCode": "AUD",
"ValidationErrors": [
{
"Message": "ACHTP1257524: Hardwood Timber Post 125x75x2.4m - No items available to sell."
},
{
"Message": "ACTPFP1501218: Treated Pine Fence Paling 150x12x1.8 - Only 89 items available to sell."
},
{
"Message": "ACRS20: Rapid Set Concrete Mix 20kg - No items available to sell."
}
]
}
]
} |
|
|