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

Add helper to generate Vats based on receipt entry data. #134

Open
WhyNotHugo opened this issue May 21, 2022 · 0 comments
Open

Add helper to generate Vats based on receipt entry data. #134

WhyNotHugo opened this issue May 21, 2022 · 0 comments

Comments

@WhyNotHugo
Copy link
Owner

From Receipt:

If the taxpayer has taxes or pays VAT, you need to attach :class:~.Tax
and/or :class:~.Vat instances to the Receipt.

Create a helper to generate the Vat instances. It should have a flag to, optionally, also update the Receipt instance's total_amount field.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant