Skip to content

Conversation

@RettBehrens
Copy link
Contributor

@RettBehrens RettBehrens commented Nov 15, 2022

Generates Xero-Python 1.21.0 from Xero-OpenAPI 2.33.1

Accounting API

  • Adds BatchPayment property in Payment model
  • Adds Singapore tax rates for 2023
  • Updates CreateBrandingThemePaymentServices method to accept an array of PaymentService objects instead of just one PaymentService object to match API functionality
  • Updates data type of IsReconciled property of BatchPayment to boolean.
  • Updates data type of TotalAmount property of BatchPayment to decimal

Release Notes

This will result in a small breaking change where any projects currently using the CreateBrandingThemePaymentServices method will need to wrap their PaymentService object in a PaymentServices object like so:

{ "PaymentServices": [ { "PaymentServiceID": "54b3b4f6-0443-4fba-bcd1-61ec0c35ca55", "PaymentServiceName": "PayUpNow", "PaymentServiceUrl": "https://www.payupnow.com/", "PaymentServiceType": "Custom", "PayNowText": "Time To Pay" } ] }

Types of Changes

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

@RettBehrens RettBehrens self-assigned this Nov 15, 2022
@RettBehrens RettBehrens merged commit 007bdd5 into master Nov 29, 2022
@thusithagh
Copy link

This seems like an update to Xero Python adapter. Is this really solving XeroAPI/Xero-NetStandard#453
for .Net as well?

@RettBehrens
Copy link
Contributor Author

@thusithagh good question! While all three of the issues linked above were identified on specific SDKs they would have affected all 6 of our SDKs and the fixes were implemented at OpenAPI spec level.

@thusithagh
Copy link

Thanks for clarifying @RettBehrens !
I see a new release for .Net adapter as well now.

@Raghunath-S-S-J Raghunath-S-S-J deleted the xero-python-1.21.0 branch February 4, 2025 06:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants