Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Events Schema Blocks Negative Round Off Values #18

Open
williebsweet opened this issue Sep 13, 2019 · 0 comments
Open

Events Schema Blocks Negative Round Off Values #18

williebsweet opened this issue Sep 13, 2019 · 0 comments

Comments

@williebsweet
Copy link

We have negative round off values for some of our Chargebee event-based credit notes. For example, rounding from 13.10 to 13.00 results in a -0.10 round off whcih is replresented as -10 in the event data - resulting in the following error:

Failed validating 'minimum' in schema['properties']['content']['properties']['credit_note']['properties']['round_off_amount']:
    {'minimum': 0, 'type': ['null', 'integer']}

On instance['content']['credit_note']['round_off_amount']:
    -10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant