BankTransaction type is missing the batchPayment object.

Đang mở
#776 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

@miachillgood đang làm issue này rồi.

Từ ngày 11/6/2026.

  • #809 của @miachillgood — đang mở

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
22/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
nodejs, typescript
Lĩnh vực
api

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
TypeScript
Star
264
Fork
177
Merge trung bình
10 giờ 5 phút
Pull request đã merge (30 ngày)
5

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của XeroAPI/xero-node

Tất cả issue của XeroAPI/xero-node

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.