Skip to content

TrackingOptionId value missing from accountingApi.getInvoices() #777

@awasser-omnispear

Description

@awasser-omnispear

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions