[Upcoming: 2022-10-10] QuickBooks Online - change to Payment Push validation

On October 10, 2022 we will be implementing additional validation to Payment Push functionality for QuickBooks Online.

From this date, for each Payment Line, the sum of all the Line's Link amounts and the Line amount must equal 0.

Action required

Ensure that, when Pushing a Payment to Codat's QuickBooks Online integration, for each Line within the Payment, the sum of all the Line's Link amounts and the Line amount equals 0.

Expected impact if no action is taken

Pushing a Payment to Codat's QuickBooks Online integration that does not meet this additional validation will result in a Push operation failure.

Additional information

Expected response when querying Push Operation, where Pushed Payment data fails validation:

{
  "data": {
    // Pushed data
    },
  "dataType": "payments",
  "companyId": "bd2c35c5-dea3-43e1-b6a0-c49317ad14f5",
  "pushOperationKey": "6459d9ca-ed90-49ec-bc41-403fa326e2f0",
  "dataConnectionKey": "92dec71a-1e08-4984-bad2-66149aedc6e7",
  "requestedOnUtc": "2022-03-29T09:54:45.9546654Z",
  "completedOnUtc": "2022-03-29T09:54:48.6578001Z",
  "status": "Failed",
  "errorMessage": "Push failed for Payment: see validation for more information",
  "validation": {
    "errors": [
      {
        "itemId": "PaymentLine",
        "message": "Failed to push to Payment as PaymentLine[0].Amount (1) and sum of Links (-2.5) do not sum to zero.",
        "validatorName": "Payment"
      }
    ],
    "warnings": []
  },
  "statusCode": 400
}