[Completed: 2022-07-11] QuickBooks Online - change to Bill Payment Push validation

On July 11, 2022 we will be implementing additional validation to Bill Payment Push functionality for QuickBooks Online.

From this date, for each Bill 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 Bill Payment to Codat's QuickBooks Online integration, for each Line within the Bill 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 Bill 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 Bill Payment data fails validation:

{
  "data": {
    // Pushed data
    },
  "dataType": "billPayments",
  "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 BillPayment: see validation for more information",
  "validation": {
    "errors": [
      {
        "itemId": "BillPaymentLine",
        "message": "Failed to push to BillPayment as BillPaymentLine[0].Amount (1) and sum of Links (-2.5) do not sum to zero.",
        "validatorName": "BillPayment"
      }
    ],
    "warnings": []
  },
  "statusCode": 400
}