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

CreditNotes implementation #19

Open
phillipp opened this issue Dec 17, 2024 · 0 comments
Open

CreditNotes implementation #19

phillipp opened this issue Dec 17, 2024 · 0 comments

Comments

@phillipp
Copy link
Contributor

phillipp commented Dec 17, 2024

We are going to need CreditNotes (Stornorechnung / Gutschrift) for our business case. The implementation itself is not too complicated, but we should make a decision on the naming scheme and if it is going to be breaking anything or not.

I would propose that we use the Xrechnung::Document as a base class and add a new Xrechnung::Invoice and Xrechnung::CreditNote for the fields that are specific for their respective document types. Other document types (Order etc.) could then be added more easily.

This change would naturally break stuff that uses only Xrechnung::Document so I'd say that would be a good time to release a 1.0 that is more or less complete to use in 95% of business environments.

@corny any thoughts?

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