failedPC-003AUD 495,425.00
Attempt 5: Xero OAuth 400: {"error":"invalid_grant","error_description":"Refresh token has been consumed"}
failedPC-001AUD -48,500.00
Attempt 5: Xero API 400: {
"ErrorNumber": 10,
"Type": "ValidationException",
"Message": "A validation exception occurred",
"Elements": [
{
"Type": "ACCREC",
"InvoiceID": "00000000-0000-0000-0000-000000000000",
"Reference": "PC-001",
"Payments": [],
"CreditNotes": [],
"Prepayments": [],
"Overpayments": [],
"IsDiscounted": false,
"InvoiceAddresses": [],
"HasErrors": true,
"InvoicePaymentServices": [],
"DateString": "2026-06-06T00:00:00",
"Date": "\/Date(1780704000000+0000)\/",
"DueDateString": "2026-06-25T00:00:00",
"DueDate": "\/Date(1782345600000+0000)\/",
"Status": "DRAFT",
"LineAmountTypes": "Exclusive",
"LineItems": [
{
"Description": "SBX — PC-001 — Progress claim (certified)",
"UnitAmount": 0.00,
"TaxType": "OUTPUT",
"TaxAmount": 0.00,
"LineAmount": 0.00,
"AccountCode": "200",
"Tracking": [],
"Quantity": 1.0000,
"AccountID": "3c1eda32-a64f-4a08-acac-fdffb82bcc67",
"ValidationErrors": []
},
{
"Description": "Retention held this period (QLD SOPA)",
"UnitAmount": -48500.00,
"TaxType": "OUTPUT",
"TaxAmount": -4850.00,
"LineAmount": -48500.00,
"AccountCode": "260",
"Tracking": [],
"Quantity": 1.0000,
"AccountID": "83010a76-24be-4f8a-9736-3696abe04c2c",
"ValidationErrors": []
}
],
"SubTotal": -48500.00,
"TotalTax": -4850.00,
"Total": -53350.00,
"CurrencyCode": "AUD",
"ValidationErrors": [
{
"Message": "A Contact must be specified for this type of transaction"
}
]
}
]
}