Comments (3)
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:
- There is no identifier on those payments that tells you they belong to a batch payment
- 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.
@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.
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)
- Missing POST BatchPayments
- Collect HOT 1
- Get Invoices paging with IDs HOT 6
- Couldn't create Credit Card account through XERO Accounting API HOT 1
- Github actions test issue HOT 1
- Another github action test with account outside of org HOT 1
- Actions test HOT 2
- more testing HOT 2
- test test test HOT 2
- test
- test HOT 2
- Create Invoice is missing eInvoicing Field HOT 2
- Country in Organisation Address HOT 1
- Unable to build Go SDK from OpenAPI (failures in accounting schema) HOT 4
- Asset Type definition inconsistent with Xero interface HOT 2
- Asset depreciationStartDate not setting HOT 2
- Empty array with status 200 is returned when calling /connections endpoints HOT 4
- AU Payroll API LeaveApplicationID changes when a request is in Scheduled status HOT 3
- LineItems: DiscountRate returned but DiscountAmount does not depending on invoice call query HOT 2
- Organisation Class enum values need updated HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xero-openapi.