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
[IP-939]: Implementing e-invoicing flow #977
base: development
Are you sure you want to change the base?
[IP-939]: Implementing e-invoicing flow #977
Conversation
- Added fields in tables ip_users and ip_clients. - Removed zugferd selection in invoices - setting. - Added e-Invoice format selection choice for client - bank info input fields for user added and grouped - placed xml configuration files in the folder helpers/XMLconfig - placed xml-template files (Zugferd + UBL example) in the folder libraries/XMLtemplates - created the readme file "About e-Invoicing templates" = How to add/setup XML-template files
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are accessibility issues in these changes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👏 You fixed the issue(s)! Great work.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggestions and/or adjustments requested were implemented.
Are there any updates on this pr? Is there still something not working? would klove to have this feature enabled. |
@amauryverschooren I haven't tested the PR yet. As soon as my test starts, I'll let you and the author of the PR know, and the results, of course |
@amauryverschooren, @nielsdrost7, The principle of this module assumes that you set for your customers which e-invoicing format (if the template is present) they want to receive. While sending the pdf invoice, the chosen (e-invoicing) format will automatically be created and sent along with it. Comments:
|
…different-(UBL-CII-++)-formats-InvoicePlane#939
I tried to run it but it doesn't work for me. pulled the branch in and edited the ipconfig php file. then started the containers. i can connect to the db with mysql workbench en when i check the eocker logs it seems that everything is working. when i open my browser and surf to the ip or the ip/index.php/setup nothing happens. just a blank screen. no console logs for errors or something. |
@Verony-makesIT got this error at the bottom of settings page |
I don't know where it's called, but it should be |
yeah i used that. it's called in the partial_settings_invoices.php file at line 394. tried everything but it just doesn't work. @Verony-makesIT What do you have in that file at that line and do you have an idea why it's giving me this eror bcs as far as i can tell there is nothing changed in that file except from the lines from zugfred that were taken awai. |
@amauryverschooren, Personally, I am definitely not in favor of implementing the QR code feature in this way.
|
So let me look if merging that PR introduced that bug. |
I just got it fixed. On line 394 I'm now using email_templates/template-tags and that's working. |
@Verony-makesIT is there a way of transforming a xml example of the einvoice of your country to the php_template or is it just manual work of making a new one for your type? |
I thought that's what those examples were for: |
@nielsdrost7,
|
Nope, no explanation, it's just markdown files as far as I know
Version 1.6 is fine. I would add that documentation in the sections which you touched with the pull-request Look at it this way:
It all depends on which parts of InvoicePlane the pull-request has changed |
@amauryverschooren, Note: if you have customers in the Netherlands and Belgium, you can develop/use the UBL 2.1 (EN 16931) format for these two countries. Countries can specify restrictions and/or additions (CIUS) within the UBL 2.1 / EN 16931 format.
Please take this into account when creating templates.
|
it's mainly for belgium for me. is it correct the e-invoice is not downloadable and is only send with mail? |
@amauryverschooren,
|
…different-(UBL-CII-++)-formats-InvoicePlane#939
…different-(UBL-CII-++)-formats-InvoicePlane#939
Description
The IP user can select which e-invoice format is appropriate for their customer/country.
A pdf, and the appropriate e-invoice format, is then generated and sent to the client.
Related Issue
Feature Request #939 "Implement e-invoicing for UBL/CII formats (EN 16931, Zugferd/Factur-X, PEPPOL, etc...) other than only Zugferd"
See my comments in Feature Request 939.
Motivation and Context
Worldwide, and certainly in Europe, governments, clients and accountants are switching to electronic invoices.
e-Invoices can be used to process these documents machine readable and automatically.
XML templates can be created specifically for a country or client.
How to add an XML template is described in the "About e-Invoicing templates.md" file located in the "helpers/XMLconfigs/" folder.
I have added 2 XML template example files.
The (old) IP Zugferdv10Xml.php file serves as "CII format" example and the Ublexamv20Xml.php file serves as "UBL format" example.
Screenshots (if appropriate):
Pull Request Checklist
Issue Type (Please check one or more)
#939