Giter Club home page Giter Club logo

Comments (3)

kchandola avatar kchandola commented on August 20, 2024

Hi Ian, thanks for raising the issue. From what you’re describing in the web UI, it sounds like those payments were indeed part of a batch payment. You’ve then uncovered a couple of deficiencies in how the API returns the single payment objects that makes things confusing:

  1. There is no identifier on those payments that tells you they belong to a batch payment
  2. The reconciled status of those payments doesn’t reflect the status from the batch (i.e. if the batch payment is marked as reconciled the individual payments are still returned unreconciled)

That said, we would expect you to be getting a response when querying for all BatchPayments in that organisation. You should also be able to use the bankTransactionID param from the url of the web UI and use it to retrieve the individual batch payment e.g. GET https://api.xero.com/api.xro/2.0/BatchPayments/75421a0a-b356-45e7-ab0f-129e261c1132

If you get in touch with support with some more details about the particular app and the org we can check the logs to troubleshoot what’s happening. Perhaps it’s a problem at the SDK level.

from xero-openapi.

SidneyAllen avatar SidneyAllen commented on August 20, 2024

@IanSimpson - this doesn't appear to an issue that can be solved by modifying the OpenAPI specification but is a deficiency API level, and I'll be closing this issue.

from xero-openapi.

kchandola avatar kchandola commented on August 20, 2024

Hi @IanSimpson, I am happy to confirm that with the latest release, we have fixed the above bug around IsReconciled. From now on, when you retrieve payments via the payments endpoint they will show IsReconciled=true if the corresponding batch payment has been reconciled.
No changes on the invoices endpoint though.

from xero-openapi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.