XeroAPI / Xero-NetStandard

A wrapper of the Xero API in the .NetStandard 2.0 framework. Supports Accounting, Payroll AU/US, and Files
MIT License
126 stars 124 forks source link

Missing AllocationID - Xero.NetStandard.OAuth2.Model.Accounting.Allocation #492

Closed Kylevs closed 8 months ago

Kylevs commented 10 months ago

Describe the bug The Xero.NetStandard.OAuth2.Model.Accounting.Allocation model is missing the AllocationID. When using GetOverpaymentsAsync the allocation list has all the data except the ID which is useful when syncing to keep track of which records have been processed vs the remaining ones.

To Reproduce

Call the GetOverpaymentsAsync method and look at the list of Allocations, the ID is not there, Alternatively you can look at the model directly and the ID is not part of the model.

Expected behavior The model returns its ID

Screenshots image

github-actions[bot] commented 10 months ago

PETOSS-368

github-actions[bot] commented 10 months ago

Thanks for raising an issue, a ticket has been created to track your request

Plasma commented 10 months ago

The AllocationId is also missing from the Create Allocation API call response and also when retrieving Allocations for a Credit Note.

manishT72 commented 8 months ago

Hi @Kylevs, Thanks for raising this issue, the missing property AllocationId is added in newer SDK versions(>3.34.1). Please verify if you are still encountering this issue when using the latest version of the SDK.

manishT72 commented 8 months ago

Hi @Kylevs We are closing this issue as it is working correctly in the current version. Feel free to reopen this issue if required. Thanks