XeroAPI / xero-php-oauth2

Xero PHP SDK for oAuth 2 generated from Xero API OpenAPI Spec 3.0
MIT License
92 stars 66 forks source link

Batch Payments & Overpayments #255

Open mariwithin opened 2 years ago

mariwithin commented 2 years ago

SDK you're using (PHP):

Describe the bug

There does not seem to be a way to determine that an overpayment is part of a batch payment? It returns as an additional payment, as the batch payment total amount includes the overpayment amount also.

Expected behavior

The batch total amount should be either reduced by the overpayment amount or we should be able to tell the overpayment is part of that batch so it can be ignored etc