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

Support for tax lines #535

Open
2 tasks
bosd opened this issue Nov 4, 2023 · 0 comments
Open
2 tasks

Support for tax lines #535

bosd opened this issue Nov 4, 2023 · 0 comments

Comments

@bosd
Copy link
Collaborator

bosd commented Nov 4, 2023

Invoices / receipts often have a table near the bottom with a summary of the appied VAT taxes.
To correctly process the invoice in accounting programs we need separatly parse the amount per tax type.

Example receipt:
image

Example invoice:
image

Sometimes it is easy to match the tax rate to an invoice line.
In the sample receipt above Tax rate 1 (BTW type in dutch) can be matched to the code 1 of the invoiceline.
code 2 represents 21.00% which can be matched to the last invoice line with the product LPG.
With this usage we are able to reconstruct the over simplified invoicelines to include the VAT information.
Task: Add logic to apply the tax rate on an invoiceline.

In the case when it is not possible to reconstruct the invoiceline. (Example Valk Invoice)
The whole tax summary can be returned in the tax_lines field. So the accounting software can generate a global adjustment lines. So at least the correct taxes can be applied.

Tasks:

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