| Xero |
Invoice |
INV26040017 |
|
0 |
{
"ErrorNumber": 10,
"Type": "ValidationException",
"Message": "A validation exception occurred",
"Elements": [
{
"Type": "ACCREC",
"InvoiceID": "93ce1b78-39f5-49f2-b763-8fcfee013e12",
"InvoiceNumber": "INV26040013",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 1024.25,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"IsDiscounted": false,
"HasErrors": true,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "9310b0d5-e1dc-46f2-aa03-d639797ab239",
"ContactStatus": "ACTIVE",
"Name": "A class Fencing Solution",
"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(1759885847510+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"DefaultCurrency": "AUD",
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2026-04-01T00:00:00",
"Date": "\/Date(1775001600000+0000)\/",
"DueDateString": "2026-04-01T00:00:00",
"DueDate": "\/Date(1775001600000+0000)\/",
"BrandingThemeID": "f47d18be-a773-46f4-9351-149f22f0c836",
"Status": "AUTHORISED",
"LineAmountTypes": "Inclusive",
"LineItems": [
{
"ItemCode": "ACHTP1257527",
"Description": "Hardwood Timber Post 125x75x2.7m",
"UnitAmount": 48.40,
"TaxType": "OUTPUT",
"TaxAmount": 22.00,
"LineAmount": 242.00,
"AccountCode": "200",
"Item": {
"ItemID": "eb82b3aa-f347-494f-bc32-990733e60396",
"Name": "Hardwood Timber Post 125x75x2.7m",
"Code": "ACHTP1257527"
},
"Tracking": [],
"Quantity": 5.0000,
"LineItemID": "1f8e88d9-9ccf-470a-bba3-acc9b4693659",
"AccountID": "7d79b2c8-abb8-4c9d-be90-248c46b1717b",
"ValidationErrors": []
},
{
"ItemCode": "ACRS20",
"Description": "Rapid Set Concrete Mix 20kg",
"UnitAmount": 9.35,
"TaxType": "OUTPUT",
"TaxAmount": 5.10,
"LineAmount": 56.10,
"AccountCode": "200",
"Item": {
"ItemID": "d57100d9-dba0-4b33-a9a7-e8b3ee651789",
"Name": "Rapid Set Concrete Mix 20kg",
"Code": "ACRS20"
},
"Tracking": [],
"Quantity": 6.0000,
"LineItemID": "9c694c01-fa0f-4de0-ae9c-457dff3df575",
"AccountID": "7d79b2c8-abb8-4c9d-be90-248c46b1717b",
"ValidationErrors": []
},
{
"ItemCode": "ACTPR755454",
"Description": "Treated Pine Rail 75x50x5.4",
"UnitAmount": 15.95,
"TaxType": "OUTPUT",
"TaxAmount": 11.60,
"LineAmount": 127.60,
"AccountCode": "200",
"Item": {
"ItemID": "7ad3011c-67b8-4f70-a6c5-24387dff8c8c",
"Name": "Treated Pine Rail 75x50x5.4",
"Code": "ACTPR755454"
},
"Tracking": [],
"Quantity": 8.0000,
"LineItemID": "25628d87-4a28-4552-b522-73694a8b258e",
"AccountID": "7d79b2c8-abb8-4c9d-be90-248c46b1717b",
"ValidationErrors": []
},
{
"ItemCode": "ACTPPL1502554",
"Description": "Treated Pine Plinth 150x25x5.4mm",
"UnitAmount": 16.15,
"TaxType": "OUTPUT",
"TaxAmount": 4.40,
"LineAmount": 48.45,
"AccountCode": "200",
"Item": {
"ItemID": "0b95a9d2-6fb6-4f50-955d-17db41a372af",
"Name": "Treated Pine Plinth 150x25x5.4mm",
"Code": "ACTPPL1502554"
},
"Tracking": [],
"Quantity": 3.0000,
"LineItemID": "183c3432-ddf3-4d17-967c-37d9687101c1",
"AccountID": "7d79b2c8-abb8-4c9d-be90-248c46b1717b",
"ValidationErrors": []
},
{
"ItemCode": "ACSLC904554",
"Description": "Single Lip Capping 90 X 45 X 5.4m",
"UnitAmount": 35.00,
"TaxType": "OUTPUT",
"TaxAmount": 9.55,
"LineAmount": 105.00,
"AccountCode": "200",
"Item": {
"ItemID": "8a8ea4d3-045a-4059-9a9b-f49a56b8da8a",
"Name": "Single Lip Capping 90 X 45 X 5.4m",
"Code": "ACSLC904554"
},
"Tracking": [],
"Quantity": 3.0000,
"LineItemID": "8e19236f-529c-41c2-8056-4555c9dbe7ce",
"AccountID": "7d79b2c8-abb8-4c9d-be90-248c46b1717b",
"ValidationErrors": []
},
{
"ItemCode": "ACTPFP1251218",
"Description": "Treated Pine Fence Paling 125x12x1.8",
"UnitAmount": 2.07,
"TaxType": "OUTPUT",
"TaxAmount": 24.46,
"LineAmount": 269.10,
"AccountCode": "200",
"Item": {
"ItemID": "2d80acf0-559d-4ae1-b28f-3c2645c4ec44",
"Name": "Treated Pine Fence Paling 125x12x1.8",
"Code": "ACTPFP1251218"
},
"Tracking": [],
"Quantity": 130.0000,
"LineItemID": "f576113c-26eb-4305-89fa-20f56d453a95",
"AccountID": "7d79b2c8-abb8-4c9d-be90-248c46b1717b",
"ValidationErrors": []
},
{
"ItemCode": "ACATGF14",
"Description": "Adjustable Timber Gate Frame up to 1.4m",
"UnitAmount": 93.50,
"TaxType": "OUTPUT",
"TaxAmount": 8.50,
"LineAmount": 93.50,
"AccountCode": "200",
"Item": {
"ItemID": "4b2b4070-95d8-407e-a06f-9c686d204b7a",
"Name": "Adjustable Timber Gate Frame up to 1.4m",
"Code": "ACATGF14"
},
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "65e88cbe-fd0b-4763-b28a-a9dad62515c1",
"AccountID": "7d79b2c8-abb8-4c9d-be90-248c46b1717b",
"ValidationErrors": []
},
{
"ItemCode": "SHG-90",
"Description": "Adjustable Gate Hinge",
"UnitAmount": 29.70,
"TaxType": "OUTPUT",
"TaxAmount": 2.70,
"LineAmount": 29.70,
"AccountCode": "200",
"Item": {
"ItemID": "ae04b96b-a541-45ae-92bd-38b7aec34e23",
"Name": "Adjustable Gate Hinge",
"Code": "SHG-90"
},
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "793a5520-6950-4e31-af14-8a2ef6d7ef48",
"AccountID": "7d79b2c8-abb8-4c9d-be90-248c46b1717b",
"ValidationErrors": []
},
{
"ItemCode": "ACDLK",
"Description": "D-Latch kit",
"UnitAmount": 13.20,
"TaxType": "OUTPUT",
"TaxAmount": 1.20,
"LineAmount": 13.20,
"AccountCode": "200",
"Item": {
"ItemID": "4d82ae29-0ebc-4f97-b89b-627d47f4da2c",
"Name": "D-Latch kit",
"Code": "ACDLK"
},
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "7b4ae883-64e0-4b7e-9786-713d7ee0d0dd",
"AccountID": "7d79b2c8-abb8-4c9d-be90-248c46b1717b",
"ValidationErrors": []
},
{
"ItemCode": "ACGH",
"Description": "Gate Handle",
"UnitAmount": 13.20,
"TaxType": "OUTPUT",
"TaxAmount": 2.40,
"LineAmount": 26.40,
"AccountCode": "200",
"Item": {
"ItemID": "6a78abec-6857-40e0-b986-26597c3be139",
"Name": "Gate Handle",
"Code": "ACGH"
},
"Tracking": [],
"Quantity": 2.0000,
"LineItemID": "0d2567fc-8b4d-48f9-9e12-d70553c79b3e",
"AccountID": "7d79b2c8-abb8-4c9d-be90-248c46b1717b",
"ValidationErrors": []
},
{
"ItemCode": "ACGST",
"Description": "Gate Stopper",
"UnitAmount": 13.20,
"TaxType": "OUTPUT",
"TaxAmount": 1.20,
"LineAmount": 13.20,
"AccountCode": "200",
"Item": {
"ItemID": "43565477-9367-4db9-998f-383bebdd6f99",
"Name": "Gate Stopper",
"Code": "ACGST"
},
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "fd37d3d2-36da-4962-a806-ce9224721370",
"AccountID": "7d79b2c8-abb8-4c9d-be90-248c46b1717b",
"ValidationErrors": []
}
],
"SubTotal": 931.14,
"TotalTax": 93.11,
"Total": 1024.25,
"UpdatedDateUTC": "\/Date(1775428579226)\/",
"CurrencyCode": "AUD",
"ValidationErrors": [
{
"Message": "ACHTP1257527: Hardwood Timber Post 125x75x2.7m - No items available to sell."
},
{
"Message": "ACRS20: Rapid Set Concrete Mix 20kg - No items available to sell."
},
{
"Message": "ACATGF14: Adjustable Timber Gate Frame up to 1.4m - No items available to sell."
},
{
"Message": "ACDLK: D-Latch kit - No items available to sell."
},
{
"Message": "ACGH: Gate Handle - No items available to sell."
},
{
"Message": "ACGST: Gate Stopper - No items available to sell."
}
]
}
]
}{
"ErrorNumber": 10,
"Type": "ValidationException",
"Message": "A validation exception occurred",
"Elements": [
{
"Type": "ACCREC",
"InvoiceID": "93ce1b78-39f5-49f2-b763-8fcfee013e12",
"InvoiceNumber": "INV26040013",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 1024.25,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"IsDiscounted": false,
"HasErrors": true,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "9310b0d5-e1dc-46f2-aa03-d639797ab239",
"ContactStatus": "ACTIVE",
"Name": "A class Fencing Solution",
"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(1759885847510+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"DefaultCurrency": "AUD",
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2026-04-01T00:00:00",
"Date": "\/Date(1775001600000+0000)\/",
"DueDateString": "2026-04-01T00:00:00",
"DueDate": "\/Date(1775001600000+0000)\/",
"BrandingThemeID": "f47d18be-a773-46f4-9351-149f22f0c836",
"Status": "AUTHORISED",
"LineAmountTypes": "Inclusive",
"LineItems": [
{
"ItemCode": "ACHTP1257527",
"Description": "Hardwood Timber Post 125x75x2.7m",
"UnitAmount": 48.40,
"TaxType": "OUTPUT",
"TaxAmount": 22.00,
"LineAmount": 242.00,
"AccountCode": "200",
"Item": {
"ItemID": "eb82b3aa-f347-494f-bc32-990733e60396",
"Name": "Hardwood Timber Post 125x75x2.7m",
"Code": "ACHTP1257527"
},
"Tracking": [],
"Quantity": 5.0000,
"LineItemID": "1f8e88d9-9ccf-470a-bba3-acc9b4693659",
"AccountID": "7d79b2c8-abb8-4c9d-be90-248c46b1717b",
"ValidationErrors": []
},
{
"ItemCode": "ACRS20",
"Description": "Rapid Set Concrete Mix 20kg",
"UnitAmount": 9.35,
"TaxType": "OUTPUT",
"TaxAmount": 5.10,
"LineAmount": 56.10,
"AccountCode": "200",
"Item": {
"ItemID": "d57100d9-dba0-4b33-a9a7-e8b3ee651789",
"Name": "Rapid Set Concrete Mix 20kg",
"Code": "ACRS20"
},
"Tracking": [],
"Quantity": 6.0000,
"LineItemID": "9c694c01-fa0f-4de0-ae9c-457dff3df575",
"AccountID": "7d79b2c8-abb8-4c9d-be90-248c46b1717b",
"ValidationErrors": []
},
{
"ItemCode": "ACTPR755454",
"Description": "Treated Pine Rail 75x50x5.4",
"UnitAmount": 15.95,
"TaxType": "OUTPUT",
"TaxAmount": 11.60,
"LineAmount": 127.60,
"AccountCode": "200",
"Item": {
"ItemID": "7ad3011c-67b8-4f70-a6c5-24387dff8c8c",
"Name": "Treated Pine Rail 75x50x5.4",
"Code": "ACTPR755454"
},
"Tracking": [],
"Quantity": 8.0000,
"LineItemID": "25628d87-4a28-4552-b522-73694a8b258e",
"AccountID": "7d79b2c8-abb8-4c9d-be90-248c46b1717b",
"ValidationErrors": []
},
{
"ItemCode": "ACTPPL1502554",
"Description": "Treated Pine Plinth 150x25x5.4mm",
"UnitAmount": 16.15,
"TaxType": "OUTPUT",
"TaxAmount": 4.40,
"LineAmount": 48.45,
"AccountCode": "200",
"Item": {
"ItemID": "0b95a9d2-6fb6-4f50-955d-17db41a372af",
"Name": "Treated Pine Plinth 150x25x5.4mm",
"Code": "ACTPPL1502554"
},
"Tracking": [],
"Quantity": 3.0000,
"LineItemID": "183c3432-ddf3-4d17-967c-37d9687101c1",
"AccountID": "7d79b2c8-abb8-4c9d-be90-248c46b1717b",
"ValidationErrors": []
},
{
"ItemCode": "ACSLC904554",
"Description": "Single Lip Capping 90 X 45 X 5.4m",
"UnitAmount": 35.00,
"TaxType": "OUTPUT",
"TaxAmount": 9.55,
"LineAmount": 105.00,
"AccountCode": "200",
"Item": {
"ItemID": "8a8ea4d3-045a-4059-9a9b-f49a56b8da8a",
"Name": "Single Lip Capping 90 X 45 X 5.4m",
"Code": "ACSLC904554"
},
"Tracking": [],
"Quantity": 3.0000,
"LineItemID": "8e19236f-529c-41c2-8056-4555c9dbe7ce",
"AccountID": "7d79b2c8-abb8-4c9d-be90-248c46b1717b",
"ValidationErrors": []
},
{
"ItemCode": "ACTPFP1251218",
"Description": "Treated Pine Fence Paling 125x12x1.8",
"UnitAmount": 2.07,
"TaxType": "OUTPUT",
"TaxAmount": 24.46,
"LineAmount": 269.10,
"AccountCode": "200",
"Item": {
"ItemID": "2d80acf0-559d-4ae1-b28f-3c2645c4ec44",
"Name": "Treated Pine Fence Paling 125x12x1.8",
"Code": "ACTPFP1251218"
},
"Tracking": [],
"Quantity": 130.0000,
"LineItemID": "f576113c-26eb-4305-89fa-20f56d453a95",
"AccountID": "7d79b2c8-abb8-4c9d-be90-248c46b1717b",
"ValidationErrors": []
},
{
"ItemCode": "ACATGF14",
"Description": "Adjustable Timber Gate Frame up to 1.4m",
"UnitAmount": 93.50,
"TaxType": "OUTPUT",
"TaxAmount": 8.50,
"LineAmount": 93.50,
"AccountCode": "200",
"Item": {
"ItemID": "4b2b4070-95d8-407e-a06f-9c686d204b7a",
"Name": "Adjustable Timber Gate Frame up to 1.4m",
"Code": "ACATGF14"
},
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "65e88cbe-fd0b-4763-b28a-a9dad62515c1",
"AccountID": "7d79b2c8-abb8-4c9d-be90-248c46b1717b",
"ValidationErrors": []
},
{
"ItemCode": "SHG-90",
"Description": "Adjustable Gate Hinge",
"UnitAmount": 29.70,
"TaxType": "OUTPUT",
"TaxAmount": 2.70,
"LineAmount": 29.70,
"AccountCode": "200",
"Item": {
"ItemID": "ae04b96b-a541-45ae-92bd-38b7aec34e23",
"Name": "Adjustable Gate Hinge",
"Code": "SHG-90"
},
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "793a5520-6950-4e31-af14-8a2ef6d7ef48",
"AccountID": "7d79b2c8-abb8-4c9d-be90-248c46b1717b",
"ValidationErrors": []
},
{
"ItemCode": "ACDLK",
"Description": "D-Latch kit",
"UnitAmount": 13.20,
"TaxType": "OUTPUT",
"TaxAmount": 1.20,
"LineAmount": 13.20,
"AccountCode": "200",
"Item": {
"ItemID": "4d82ae29-0ebc-4f97-b89b-627d47f4da2c",
"Name": "D-Latch kit",
"Code": "ACDLK"
},
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "7b4ae883-64e0-4b7e-9786-713d7ee0d0dd",
"AccountID": "7d79b2c8-abb8-4c9d-be90-248c46b1717b",
"ValidationErrors": []
},
{
"ItemCode": "ACGH",
"Description": "Gate Handle",
"UnitAmount": 13.20,
"TaxType": "OUTPUT",
"TaxAmount": 2.40,
"LineAmount": 26.40,
"AccountCode": "200",
"Item": {
"ItemID": "6a78abec-6857-40e0-b986-26597c3be139",
"Name": "Gate Handle",
"Code": "ACGH"
},
"Tracking": [],
"Quantity": 2.0000,
"LineItemID": "0d2567fc-8b4d-48f9-9e12-d70553c79b3e",
"AccountID": "7d79b2c8-abb8-4c9d-be90-248c46b1717b",
"ValidationErrors": []
},
{
"ItemCode": "ACGST",
"Description": "Gate Stopper",
"UnitAmount": 13.20,
"TaxType": "OUTPUT",
"TaxAmount": 1.20,
"LineAmount": 13.20,
"AccountCode": "200",
"Item": {
"ItemID": "43565477-9367-4db9-998f-383bebdd6f99",
"Name": "Gate Stopper",
"Code": "ACGST"
},
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "fd37d3d2-36da-4962-a806-ce9224721370",
"AccountID": "7d79b2c8-abb8-4c9d-be90-248c46b1717b",
"ValidationErrors": []
}
],
"SubTotal": 931.14,
"TotalTax": 93.11,
"Total": 1024.25,
"UpdatedDateUTC": "\/Date(1775428579226)\/",
"CurrencyCode": "AUD",
"ValidationErrors": [
{
"Message": "ACHTP1257527: Hardwood Timber Post 125x75x2.7m - No items available to sell."
},
{
"Message": "ACRS20: Rapid Set Concrete Mix 20kg - No items available to sell."
},
{
"Message": "ACATGF14: Adjustable Timber Gate Frame up to 1.4m - No items available to sell."
},
{
"Message": "ACDLK: D-Latch kit - No items available to sell."
},
{
"Message": "ACGH: Gate Handle - No items available to sell."
},
{
"Message": "ACGST: Gate Stopper - No items available to sell."
}
]
}
]
} |
|
|