TrackingOptionId value missing from accountingApi.getInvoices()

Abierto
#777 2 comentarios 0 reacciones 0 asignados Ver en GitHub

@miachillgood ya está trabajando en esto.

Desde el 30/6/2026.

  • #813 de @miachillgood — abierto

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
18/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
typescript
Área
api

Línea de trabajo

Start with the open pull request #813 linked to this issue, since it may already address the missing trackingOptionID. Reproduce by comparing the raw GET /Invoice/{invoiceID} response for an invoice with tracking options against what accountingApi.getInvoices() returns for the same line items. Done means trackingOptionID is populated in the SDK output and the mapping is covered by a test.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

SDK you're using:

  • Version 13.3.0

Describe the bug
The trackingOptionID field is present in the TS definition, but the value not getting properly populated/mapped. The other three fields are populated correctly; just the option ID is missing.

To Reproduce
Call GET https://api.xero.com/api.xro/2.0/Invoice/<<invoiceID>> using Postman or the API Explorer. Target an invoice which contain lines with tracking options selected.
Call accountingApi.getInvoices() with the same invoiceID, and notice trackingOptionID is undefined.

Lenguaje dominante
TypeScript
Estrellas
264
Forks
177
Merge medio
10 h 5 min
PR fusionados (30 d)
5

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de XeroAPI/xero-node

Todos los issues de XeroAPI/xero-node

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.