| Xero |
Invoice |
INV26040017 |
|
0 |
{
"ErrorNumber": 10,
"Type": "ValidationException",
"Message": "A validation exception occurred",
"Elements": [
{
"Type": "ACCREC",
"InvoiceID": "3ca01727-4caa-4aab-a265-24fbb047c9dc",
"InvoiceNumber": "INV26040107",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 772.26,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"IsDiscounted": false,
"HasErrors": true,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "bcf806a6-a79e-4750-8dc4-1cad2316e4b6",
"ContactStatus": "ACTIVE",
"Name": "AAA Afordable Digger",
"EmailAddress": "elias@jimsdiggers.com.au",
"Addresses": [
{
"AddressType": "POBOX"
},
{
"AddressType": "STREET"
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "097267",
"PhoneAreaCode": "0490"
},
{
"PhoneType": "DDI"
},
{
"PhoneType": "FAX"
},
{
"PhoneType": "MOBILE"
}
],
"UpdatedDateUTC": "\/Date(1764805492110+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": "ACCPS2008018",
"Description": "Concrete Plain Sleeper 200x80x1.8",
"UnitAmount": 38.72,
"TaxType": "OUTPUT",
"TaxAmount": 35.20,
"LineAmount": 387.20,
"AccountCode": "200",
"Item": {
"ItemID": "7d44c5ea-87b2-426b-8299-e392e22c2e15",
"Name": "Concrete Plain Sleeper 200x80x1.8",
"Code": "ACCPS2008018"
},
"Tracking": [],
"Quantity": 10.0000,
"LineItemID": "5b676411-0103-4bb3-b8a4-caf1104c2e06",
"AccountID": "7d79b2c8-abb8-4c9d-be90-248c46b1717b",
"ValidationErrors": []
},
{
"ItemCode": "ACCC100PFC12HDG",
"Description": "C Channel 100PFC 1.2m Hot Dip Galvanised",
"UnitAmount": 33.00,
"TaxType": "OUTPUT",
"TaxAmount": 6.00,
"LineAmount": 66.00,
"AccountCode": "200",
"Item": {
"ItemID": "a2384c07-2cb2-494d-96f7-a760f52ebb7a",
"Name": "C Channel 100PFC 1.2m Hot Dip Galvanised",
"Code": "ACCC100PFC12HDG"
},
"Tracking": [],
"Quantity": 2.0000,
"LineItemID": "dc373c3e-4d74-4b4e-b8b0-5b6e064b8e52",
"AccountID": "7d79b2c8-abb8-4c9d-be90-248c46b1717b",
"ValidationErrors": []
},
{
"ItemCode": "ACHC10010012HDG",
"Description": "RETAINING WALL H-SECTION 100UC - 1200x100x6MM",
"UnitAmount": 45.58,
"TaxType": "OUTPUT",
"TaxAmount": 29.01,
"LineAmount": 319.06,
"AccountCode": "200",
"Item": {
"ItemID": "761d37b1-1a71-4f9a-b9cd-3e749c766fc7",
"Name": "H Channel 100x100 1.2m Hot Dip Galvanised",
"Code": "ACHC10010012HDG"
},
"Tracking": [],
"Quantity": 7.0000,
"LineItemID": "bf0d7071-1224-47fd-b053-1f453e23d538",
"AccountID": "7d79b2c8-abb8-4c9d-be90-248c46b1717b",
"ValidationErrors": []
}
],
"SubTotal": 702.05,
"TotalTax": 70.21,
"Total": 772.26,
"UpdatedDateUTC": "\/Date(1775708136896)\/",
"CurrencyCode": "AUD",
"ValidationErrors": [
{
"Message": "ACCPS2008018: Concrete Plain Sleeper 200x80x1.8 - No items available to sell."
},
{
"Message": "ACCC100PFC12HDG: C Channel 100PFC 1.2m Hot Dip Galvanised - No items available to sell."
},
{
"Message": "ACHC10010012HDG: H Channel 100x100 1.2m Hot Dip Galvanised - No items available to sell."
}
]
}
]
}{
"ErrorNumber": 10,
"Type": "ValidationException",
"Message": "A validation exception occurred",
"Elements": [
{
"Type": "ACCREC",
"InvoiceID": "3ca01727-4caa-4aab-a265-24fbb047c9dc",
"InvoiceNumber": "INV26040107",
"Reference": "",
"Prepayments": [],
"Overpayments": [],
"AmountDue": 772.26,
"AmountPaid": 0.00,
"SentToContact": false,
"CurrencyRate": 1.0000000000,
"IsDiscounted": false,
"HasErrors": true,
"InvoicePaymentServices": [],
"Contact": {
"ContactID": "bcf806a6-a79e-4750-8dc4-1cad2316e4b6",
"ContactStatus": "ACTIVE",
"Name": "AAA Afordable Digger",
"EmailAddress": "elias@jimsdiggers.com.au",
"Addresses": [
{
"AddressType": "POBOX"
},
{
"AddressType": "STREET"
}
],
"Phones": [
{
"PhoneType": "DEFAULT",
"PhoneNumber": "097267",
"PhoneAreaCode": "0490"
},
{
"PhoneType": "DDI"
},
{
"PhoneType": "FAX"
},
{
"PhoneType": "MOBILE"
}
],
"UpdatedDateUTC": "\/Date(1764805492110+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": "ACCPS2008018",
"Description": "Concrete Plain Sleeper 200x80x1.8",
"UnitAmount": 38.72,
"TaxType": "OUTPUT",
"TaxAmount": 35.20,
"LineAmount": 387.20,
"AccountCode": "200",
"Item": {
"ItemID": "7d44c5ea-87b2-426b-8299-e392e22c2e15",
"Name": "Concrete Plain Sleeper 200x80x1.8",
"Code": "ACCPS2008018"
},
"Tracking": [],
"Quantity": 10.0000,
"LineItemID": "5b676411-0103-4bb3-b8a4-caf1104c2e06",
"AccountID": "7d79b2c8-abb8-4c9d-be90-248c46b1717b",
"ValidationErrors": []
},
{
"ItemCode": "ACCC100PFC12HDG",
"Description": "C Channel 100PFC 1.2m Hot Dip Galvanised",
"UnitAmount": 33.00,
"TaxType": "OUTPUT",
"TaxAmount": 6.00,
"LineAmount": 66.00,
"AccountCode": "200",
"Item": {
"ItemID": "a2384c07-2cb2-494d-96f7-a760f52ebb7a",
"Name": "C Channel 100PFC 1.2m Hot Dip Galvanised",
"Code": "ACCC100PFC12HDG"
},
"Tracking": [],
"Quantity": 2.0000,
"LineItemID": "dc373c3e-4d74-4b4e-b8b0-5b6e064b8e52",
"AccountID": "7d79b2c8-abb8-4c9d-be90-248c46b1717b",
"ValidationErrors": []
},
{
"ItemCode": "ACHC10010012HDG",
"Description": "RETAINING WALL H-SECTION 100UC - 1200x100x6MM",
"UnitAmount": 45.58,
"TaxType": "OUTPUT",
"TaxAmount": 29.01,
"LineAmount": 319.06,
"AccountCode": "200",
"Item": {
"ItemID": "761d37b1-1a71-4f9a-b9cd-3e749c766fc7",
"Name": "H Channel 100x100 1.2m Hot Dip Galvanised",
"Code": "ACHC10010012HDG"
},
"Tracking": [],
"Quantity": 7.0000,
"LineItemID": "bf0d7071-1224-47fd-b053-1f453e23d538",
"AccountID": "7d79b2c8-abb8-4c9d-be90-248c46b1717b",
"ValidationErrors": []
}
],
"SubTotal": 702.05,
"TotalTax": 70.21,
"Total": 772.26,
"UpdatedDateUTC": "\/Date(1775708136896)\/",
"CurrencyCode": "AUD",
"ValidationErrors": [
{
"Message": "ACCPS2008018: Concrete Plain Sleeper 200x80x1.8 - No items available to sell."
},
{
"Message": "ACCC100PFC12HDG: C Channel 100PFC 1.2m Hot Dip Galvanised - No items available to sell."
},
{
"Message": "ACHC10010012HDG: H Channel 100x100 1.2m Hot Dip Galvanised - No items available to sell."
}
]
}
]
} |
|
|