Skip to content

Conversation

@armordog
Copy link

@armordog armordog commented Mar 3, 2022

tax_rate can't be stored as an integer because many states allow fractional tax rates

This change makes it match credit_notes.json's tax_rate (which stores correctly as a float)

Description of change

Changed invoice schema to prevent tax_rate from being stored as an integer

Potential Risks

I have no idea what this will do with existing tables

@cmerrick
Copy link

cmerrick commented Mar 3, 2022

Hi @armordog, thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes.

@cmerrick
Copy link

cmerrick commented Mar 3, 2022

You did it @armordog!

Thank you for signing the Singer Contribution License Agreement.

@armordog
Copy link
Author

Just a reminder that this is still broken and still reporting incorrect tax rates.

tax_rate can't be stored as an integer because many states allow fractional tax rates

This change makes it match `credit_notes.json` (which stores correctly as a float)
@armordog
Copy link
Author

Aw man I missed this issue's birthday 🎂

@RushiT0122
Copy link

Looking into this.

@RushiT0122
Copy link

This issue is fixed in PR #102.

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

Successfully merging this pull request may close these issues.

3 participants