Replies: 1 comment 16 replies
-
Hi @stefalexx Depending on the spec, we switch the implemention here: In this case, you'll want to include the name of the spec for your region and then the system will switch and return the appropriate implementation. You'll also need to update the frontend/s to support the dropdown selector where you can select the einvoice type. $e_invoice_type = $this->invoice->client->getSetting('e_invoice_type'); Or you could simply just return your type immediately above the switch block. |
Beta Was this translation helpful? Give feedback.
16 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello all,
What version of Invoice Ninja are you running?
V5
What environment are you running?
SelfHosted in a docker environment
Have you searched existing issues/requests?
yes
I am currently working on developing a custom EInvoice script for RO EInvoice. So far, I have managed to create it in a proportion of 70% still need some work on the InvoiceLines and TaxTotal.
I have created and tested it by modifying the CreateUBL.php and some other php files in the CleverIT integration and also added some more scripts that RO EInvoice needs in order to export the needed XML file.
RO EInvoice is basically a modified and adapted UBL format for RO.
I would like to add it to the EInvoice drop-down in Settings->E-mail so that it can be exported manually in the invoices tab because at the moment it is only available by sending the invoice to the client via e-mail. Sure I can add my e-mail address to BCC and I receive it also but the clients do not need it on email , I need it so that I can upload it to the gornment website.
My question : Which files do I need to modify in order to make it available in Settings->E-mail->EInvoice drop-down?
If you need / want , after I am finished with developing and testing I can share all scripts with you guys so that you can integrate it in your releases.
Also after I finish working on this I want to modify the script so that it will automatically upload it to the RO government website by using the API and an .env var that you need to specify in order for InvoiceNinja to communicate with RO Government website (also I think I will need a bit of help from you guys also on this matter but we will see).
Thank you and have a great year!
Beta Was this translation helpful? Give feedback.
All reactions