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

parse cash discounts #692

Open
jstaerk opened this issue Jan 18, 2025 · 0 comments
Open

parse cash discounts #692

jstaerk opened this issue Jan 18, 2025 · 0 comments

Comments

@jstaerk
Copy link
Collaborator

jstaerk commented Jan 18, 2025

when parsing (extractInto) a xrechnung like this

response_1737188708542_xr_skonto.txt

or a zugferd extended like that

response_1737188825551_ext_skonto.txt

the returned invoice should include a cashdiscount object in the cashdiscounts list, to the effect that a serialized cashdiscounts looks similar to this

 "cashDiscounts": [
        {
            "days": 14,
            "percent": 2
        }
    ],
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