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

Reverse-Charge Example? #21

Open
hschneider opened this issue Nov 10, 2024 · 2 comments
Open

Reverse-Charge Example? #21

hschneider opened this issue Nov 10, 2024 · 2 comments

Comments

@hschneider
Copy link

hschneider commented Nov 10, 2024

At first thanks for this awesome package.

There is still one thing unclear to me:
How can I apply the tax codes (e.g. "E", "AE") to the invoice and the billing lines in the GOBL JSON?
Can you post a short example for this?

@samlown
Copy link
Contributor

samlown commented Nov 11, 2024

Great to hear this is useful! So the tax code handling was recently improved and moved into the core GOBL library as part of the eu-en16931-v2017 addon included with de-xrechnung-v3. You can see an example here: https://github.com/invopop/gobl/blob/main/examples/de/invoice-de-es-b2b.yaml, with the output here.

The issue however is that this gobl.xinvoice library is out of date, and we've been focussing on the github.com/invopop/gobl.cii library instead, whose latest PR implements the correct mapping. We hope to release that this week and deprecate this package. I'll leave this issue open so that I remember to provide an update when ready.

@hschneider
Copy link
Author

I see - thanks for the info!

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

2 participants