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

Error with [e['taxtable']['percent_sum']] #1

Open
eduncan911 opened this issue Jul 23, 2021 · 0 comments
Open

Error with [e['taxtable']['percent_sum']] #1

eduncan911 opened this issue Jul 23, 2021 · 0 comments

Comments

@eduncan911
Copy link

eduncan911 commented Jul 23, 2021

First of all, it looks like your post nor your reddit post got any of the love it deserves! This is awesome!

In the US, we don't often use tax tables for general invoices. My GNUcash does not have any tax tables.

So when I run your bash script with a new invoice, I get:

WARNING:gcinvoice:Cannot do template for expression [e['taxtable']['percent_sum']]
Traceback (most recent call last):
  File "/home/eric/.local/lib/python3.9/site-packages/gcinvoice/yaptu.py", line 45, in repl
    return str(eval(expr, self.globals, self.locals))
  File "<string>", line 1, in <module>
KeyError: 'taxtable'
ERROR:gcinvoice:Error in template

I tried looking at the tex template and yowser, that hurts my head in trying to figure out how to delete it.

Thoughts?

@eduncan911 eduncan911 changed the title Error w/Tax Table Error with [e['taxtable']['percent_sum']] Jul 23, 2021
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