BankTransaction type is missing the batchPayment object.

Offen
#776 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

@miachillgood arbeitet bereits daran.

Seit 11.6.2026.

  • #809 von @miachillgood — offen

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
22/100
Issue-Typ
Bug
Klarheit
Klar beschrieben
Aktivitätsstatus
Veraltet
Tech-Stack
nodejs, typescript
Bereich
api

Rechercherichtung

The payload points to the BankTransaction schema in Xero's xero_accounting.yaml OpenAPI spec (around line 1281 of the linked commit) as the source of the batchPayment field, and the SDK's generated BankTransaction type as the place it is missing. Check linked pull request #809 first, since it may already cover this. Done means getBankTransactions results include batchPayment with its type mapped.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

SDK you're using (please complete the following information):

  • Version 13.3.0

Describe the bug
The BankTransaction type is missing the entire batchPayment object when using the getBankTransactions function call. v9.3.0 of Xero's OpenAPI specs does include it:
https://github.com/XeroAPI/Xero-OpenAPI/blob/948a97af41332381f63e5a99148b83d644f09f27/xero_accounting.yaml#L1281

Edit: To be clear, both the value and the Type are missing. The API sends the BatchPayment object, but this library does not map it.

Vorherrschende Sprache
TypeScript
Sterne
264
Forks
177
Ø Merge
10 Std. 5 Min.
Gemergte PRs (30 T.)
5

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus XeroAPI/xero-node

Alle Issues in XeroAPI/xero-node

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.