| Xero |
Invoice |
INV26040017 |
|
0 |
{
"ErrorNumber": 10,
"Type": "ValidationException",
"Message": "A validation exception occurred",
"Elements": [
{
"Type": "ACCREC",
"InvoiceID": "8f7ab93a-804e-47c4-9711-9dfd2e99bfa9",
"InvoiceNumber": "INV26040052",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 212.55,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"IsDiscounted": false,
"HasErrors": true,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "b9f9bf3f-6367-4cc3-a8a0-b236612f284e",
"ContactStatus": "ACTIVE",
"Name": "Kandy Green light",
"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(1775435833237+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2026-04-06T00:00:00",
"Date": "\/Date(1775433600000+0000)\/",
"DueDateString": "2026-04-06T00:00:00",
"DueDate": "\/Date(1775433600000+0000)\/",
"BrandingThemeID": "f47d18be-a773-46f4-9351-149f22f0c836",
"Status": "AUTHORISED",
"LineAmountTypes": "Inclusive",
"LineItems": [
{
"ItemCode": "ACTPR755454",
"Description": "Treated Pine Rail 75x50x5.4",
"UnitAmount": 15.95,
"TaxType": "OUTPUT",
"TaxAmount": 4.35,
"LineAmount": 47.85,
"AccountCode": "200",
"Item": {
"ItemID": "7ad3011c-67b8-4f70-a6c5-24387dff8c8c",
"Name": "Treated Pine Rail 75x50x5.4",
"Code": "ACTPR755454"
},
"Tracking": [],
"Quantity": 3.0000,
"LineItemID": "4ff79dc4-5810-4012-82c6-8af62c001616",
"AccountID": "7d79b2c8-abb8-4c9d-be90-248c46b1717b",
"ValidationErrors": []
},
{
"ItemCode": "ACTPFP100125018",
"Description": "Treated Pine Fence Paling 100x12x1.8",
"UnitAmount": 1.78,
"TaxType": "OUTPUT",
"TaxAmount": 2.43,
"LineAmount": 26.70,
"AccountCode": "200",
"Item": {
"ItemID": "16f516af-08c1-4605-b889-616b2a7ef496",
"Name": "Treated Pine Fence Paling 100x12x1.8",
"Code": "ACTPFP100125018"
},
"Tracking": [],
"Quantity": 15.0000,
"LineItemID": "e26b3de6-1d69-40a6-b8e6-9e13e57508f6",
"AccountID": "7d79b2c8-abb8-4c9d-be90-248c46b1717b",
"ValidationErrors": []
},
{
"ItemCode": "ACTPFP1501218",
"Description": "Treated Pine Fence Paling 150x12x1.8",
"UnitAmount": 2.49,
"TaxType": "OUTPUT",
"TaxAmount": 3.40,
"LineAmount": 37.35,
"AccountCode": "200",
"Item": {
"ItemID": "615393a1-2ab3-428b-abcb-c14935717dfc",
"Name": "Treated Pine Fence Paling 150x12x1.8",
"Code": "ACTPFP1501218"
},
"Tracking": [],
"Quantity": 15.0000,
"LineItemID": "cafb9c66-5b82-41d1-a341-3dd220c0da2a",
"AccountID": "7d79b2c8-abb8-4c9d-be90-248c46b1717b",
"ValidationErrors": []
},
{
"ItemCode": "ACSP652MO",
"Description": "Monument Square Post 65x65x2.0",
"UnitAmount": 49.50,
"TaxType": "OUTPUT",
"TaxAmount": 4.50,
"LineAmount": 49.50,
"AccountCode": "200",
"Item": {
"ItemID": "67b7b1e1-e52a-46d3-8c6e-3f91354e03d3",
"Name": "Monument Square Post 65x65x2.0",
"Code": "ACSP652MO"
},
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "02aa7074-b707-4462-85ec-c3e7e562dbf8",
"AccountID": "7d79b2c8-abb8-4c9d-be90-248c46b1717b",
"ValidationErrors": []
},
{
"ItemCode": "ACTPPL1502554",
"Description": "Treated Pine Plinth 150x25x5.4mm",
"UnitAmount": 16.15,
"TaxType": "OUTPUT",
"TaxAmount": 1.47,
"LineAmount": 16.15,
"AccountCode": "200",
"Item": {
"ItemID": "0b95a9d2-6fb6-4f50-955d-17db41a372af",
"Name": "Treated Pine Plinth 150x25x5.4mm",
"Code": "ACTPPL1502554"
},
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "254d33df-aba8-469a-a035-02150d24ecc8",
"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": 3.18,
"LineAmount": 35.00,
"AccountCode": "200",
"Item": {
"ItemID": "8a8ea4d3-045a-4059-9a9b-f49a56b8da8a",
"Name": "Single Lip Capping 90 X 45 X 5.4m",
"Code": "ACSLC904554"
},
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "bc65488a-4de3-4345-865f-798fa90d542f",
"AccountID": "7d79b2c8-abb8-4c9d-be90-248c46b1717b",
"ValidationErrors": []
}
],
"SubTotal": 193.22,
"TotalTax": 19.33,
"Total": 212.55,
"UpdatedDateUTC": "\/Date(1775435835081)\/",
"CurrencyCode": "AUD",
"ValidationErrors": [
{
"Message": "ACSP652MO: Monument Square Post 65x65x2.0 - No items available to sell."
}
]
}
]
}{
"ErrorNumber": 10,
"Type": "ValidationException",
"Message": "A validation exception occurred",
"Elements": [
{
"Type": "ACCREC",
"InvoiceID": "8f7ab93a-804e-47c4-9711-9dfd2e99bfa9",
"InvoiceNumber": "INV26040052",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 212.55,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"IsDiscounted": false,
"HasErrors": true,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "b9f9bf3f-6367-4cc3-a8a0-b236612f284e",
"ContactStatus": "ACTIVE",
"Name": "Kandy Green light",
"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(1775435833237+0000)\/",
"ContactGroups": [],
"IsSupplier": false,
"IsCustomer": true,
"SalesTrackingCategories": [],
"PurchasesTrackingCategories": [],
"ContactPersons": [],
"HasValidationErrors": false
},
"DateString": "2026-04-06T00:00:00",
"Date": "\/Date(1775433600000+0000)\/",
"DueDateString": "2026-04-06T00:00:00",
"DueDate": "\/Date(1775433600000+0000)\/",
"BrandingThemeID": "f47d18be-a773-46f4-9351-149f22f0c836",
"Status": "AUTHORISED",
"LineAmountTypes": "Inclusive",
"LineItems": [
{
"ItemCode": "ACTPR755454",
"Description": "Treated Pine Rail 75x50x5.4",
"UnitAmount": 15.95,
"TaxType": "OUTPUT",
"TaxAmount": 4.35,
"LineAmount": 47.85,
"AccountCode": "200",
"Item": {
"ItemID": "7ad3011c-67b8-4f70-a6c5-24387dff8c8c",
"Name": "Treated Pine Rail 75x50x5.4",
"Code": "ACTPR755454"
},
"Tracking": [],
"Quantity": 3.0000,
"LineItemID": "4ff79dc4-5810-4012-82c6-8af62c001616",
"AccountID": "7d79b2c8-abb8-4c9d-be90-248c46b1717b",
"ValidationErrors": []
},
{
"ItemCode": "ACTPFP100125018",
"Description": "Treated Pine Fence Paling 100x12x1.8",
"UnitAmount": 1.78,
"TaxType": "OUTPUT",
"TaxAmount": 2.43,
"LineAmount": 26.70,
"AccountCode": "200",
"Item": {
"ItemID": "16f516af-08c1-4605-b889-616b2a7ef496",
"Name": "Treated Pine Fence Paling 100x12x1.8",
"Code": "ACTPFP100125018"
},
"Tracking": [],
"Quantity": 15.0000,
"LineItemID": "e26b3de6-1d69-40a6-b8e6-9e13e57508f6",
"AccountID": "7d79b2c8-abb8-4c9d-be90-248c46b1717b",
"ValidationErrors": []
},
{
"ItemCode": "ACTPFP1501218",
"Description": "Treated Pine Fence Paling 150x12x1.8",
"UnitAmount": 2.49,
"TaxType": "OUTPUT",
"TaxAmount": 3.40,
"LineAmount": 37.35,
"AccountCode": "200",
"Item": {
"ItemID": "615393a1-2ab3-428b-abcb-c14935717dfc",
"Name": "Treated Pine Fence Paling 150x12x1.8",
"Code": "ACTPFP1501218"
},
"Tracking": [],
"Quantity": 15.0000,
"LineItemID": "cafb9c66-5b82-41d1-a341-3dd220c0da2a",
"AccountID": "7d79b2c8-abb8-4c9d-be90-248c46b1717b",
"ValidationErrors": []
},
{
"ItemCode": "ACSP652MO",
"Description": "Monument Square Post 65x65x2.0",
"UnitAmount": 49.50,
"TaxType": "OUTPUT",
"TaxAmount": 4.50,
"LineAmount": 49.50,
"AccountCode": "200",
"Item": {
"ItemID": "67b7b1e1-e52a-46d3-8c6e-3f91354e03d3",
"Name": "Monument Square Post 65x65x2.0",
"Code": "ACSP652MO"
},
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "02aa7074-b707-4462-85ec-c3e7e562dbf8",
"AccountID": "7d79b2c8-abb8-4c9d-be90-248c46b1717b",
"ValidationErrors": []
},
{
"ItemCode": "ACTPPL1502554",
"Description": "Treated Pine Plinth 150x25x5.4mm",
"UnitAmount": 16.15,
"TaxType": "OUTPUT",
"TaxAmount": 1.47,
"LineAmount": 16.15,
"AccountCode": "200",
"Item": {
"ItemID": "0b95a9d2-6fb6-4f50-955d-17db41a372af",
"Name": "Treated Pine Plinth 150x25x5.4mm",
"Code": "ACTPPL1502554"
},
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "254d33df-aba8-469a-a035-02150d24ecc8",
"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": 3.18,
"LineAmount": 35.00,
"AccountCode": "200",
"Item": {
"ItemID": "8a8ea4d3-045a-4059-9a9b-f49a56b8da8a",
"Name": "Single Lip Capping 90 X 45 X 5.4m",
"Code": "ACSLC904554"
},
"Tracking": [],
"Quantity": 1.0000,
"LineItemID": "bc65488a-4de3-4345-865f-798fa90d542f",
"AccountID": "7d79b2c8-abb8-4c9d-be90-248c46b1717b",
"ValidationErrors": []
}
],
"SubTotal": 193.22,
"TotalTax": 19.33,
"Total": 212.55,
"UpdatedDateUTC": "\/Date(1775435835081)\/",
"CurrencyCode": "AUD",
"ValidationErrors": [
{
"Message": "ACSP652MO: Monument Square Post 65x65x2.0 - No items available to sell."
}
]
}
]
} |
|
|