e-invoice

  • Posts: 33
  • Thank you received: 2
  • Hikashop Business
1 month 1 week ago #364902

-- HikaShop version -- : 5.1.1
-- Joomla version -- : 5.1
-- PHP version -- : 8.3

Seems like eu companies will have to use peppol.org/ for invoicing.
This is xml invoicing send to peppol and then to customer (only B2B)
Is someone working on a plugin? We have just one year to migrate to peppol.

Please Log in or Create an account to join the conversation.

  • Posts: 83103
  • Thank you received: 13416
  • MODERATOR
1 month 1 week ago #364903

Hi,

For an e-commerce solution, I understand that an integration with PEPPOL would work as follows:
- The customer could select this payment method during checkout.
- The corresponding payment plugin would then ask for their PEPPOL ID.
- At the end of the checkout process, the plugin would generate a UBL file (using, for example, the library github.com/josemmo/einvoicing )
- The plugin would then connect to the merchant's PEPPOL access point to transmit the UBL file.
- The PEPPOL network would then make the invoice available to the customer via their PEPPOL access point.

The main challenge in all of this is the connection between the plugin and the PEPPOL access point. Different access points offer different APIs to transmit the UBL file. For example, here is the API for the peppol.com access point: api.peppol.com/swagger/index.html

The problem is that if we develop a plugin for peppol.com, but you wish to use another access point, it won't work. Thus, we are in a similar situation as with online payment platforms that act as intermediaries between merchants and customers: a specific plugin must be developed for each PEPPOL access point which we would want to support.

For example, the Qvalia access point has developed a specific plugin for WooCommerce to interface with their PEPPOL autobilling service.

In summary, I currently do not have a clear vision of what we will offer for PEPPOL by 2026. However, if it is something you would like us to develop for you, we could create a payment plugin for the access point of your choice for a several hundred euros. So, I don’t think it will be an issue to have a solution in place by then. It’s more a question of who will pay and how it will be implemented for smaller businesses.

At present, supporting this on an e-commerce site requires paying a subscription with a PEPPOL access point and paying for the development of an integration with that access point if no integration is already available between the e-commerce solution and the access point. This makes it quite burdensome for small businesses. It’s unfortunate that PEPPOL has not also standardized an API for transmitting UBL files to and from access points.

Please Log in or Create an account to join the conversation.

  • Posts: 33
  • Thank you received: 2
  • Hikashop Business
1 month 1 week ago #364905

Would it be more simple to just generate the UBL file upon order confirmation. Just like the pdf invoice plugin.?
Maybe it will be possible to send the ubl e-invoice to a chosen peppol access point with e-mail.
You are correct, you cannot offer a peppol plugin with that many peppol access points.
Seems that you only have to e-invoicing if the customer has a VAT number and/or Peppol ID.
example:
www.scrada.be/en/peppol/

Last edit: 1 month 1 week ago by duportail.

Please Log in or Create an account to join the conversation.

  • Posts: 83103
  • Thank you received: 13416
  • MODERATOR
1 month 1 week ago #364906

Hi,

Yes, that would be possible. Generating the UBL file and even adding it to the email notification is the easy part.
The problem is the integration with PEPPOL really.

But yes, as you say, you only want to provide the UBL and go through PEPPOL if the customer wants to go with it. That's why I was saying in my previous message that it would require making it as a payment plugin. That way, the customers could choose to go through PEPPOL or not during the checkout.

Last edit: 1 month 1 week ago by nicolas.

Please Log in or Create an account to join the conversation.

  • Posts: 33
  • Thank you received: 2
  • Hikashop Business
1 month 1 week ago #364907

And what do you mean with a payment plugin? Is this on top of for example paypal or mollie plugin?
I think only a wire banktransfer + peppol payment method will be ok.
I believe the peppol id for eu companies will be the VAT number.

Last edit: 1 month 1 week ago by duportail.

Please Log in or Create an account to join the conversation.

  • Posts: 83103
  • Thank you received: 13416
  • MODERATOR
1 month 1 week ago #364909

Hi,

Well, at the end of the checkout, the payment plugin of the selected payment method will either:
- display the payment information (for bank transfer, collect on delivery, check, etc)
- redirect to the payment gateway for the payment
A payment plugin for PEPPOL would send the einvoice to the PEPPOL platform through the API of the platform and then display the payment information, along with a message to the user telling him that the e-invoice has been sent to his PEPPOL account automatically.

Please Log in or Create an account to join the conversation.

  • Posts: 33
  • Thank you received: 2
  • Hikashop Business
1 month 1 week ago #364916

That looks ok, but peppol invoices should be send only after order confirmation.

Please Log in or Create an account to join the conversation.

  • Posts: 83103
  • Thank you received: 13416
  • MODERATOR
1 month 1 week ago #364917

Hi,

You mean after the payment ?
In that case, it could be made as a stand alone plugin, and be used with any payment plugin.

Please Log in or Create an account to join the conversation.

  • Posts: 33
  • Thank you received: 2
  • Hikashop Business
1 month 1 week ago #364920

For example a customer orders a product and select banktransfer as payment method.
Once we received the payment on our bankaccount, we comfirm the order. Only then the peppol ( i hate it already,,,) invoice should be send.
Ofcourse if the payment method is mollie or paypal, the order is instantly paid and confirmed and peppol invoice can be send.
The reason for that is when a peppol invoice is send for an unpaid order, you cannot undo that. So for unpaid orders you always have to send creditnote to peppol.
Seems like that companies in the EU with VAT number , you do not need to send peppol invoice
As normal customers must not have peppol invoice (also not possibel). Only domestic companies with VAT number can receive peppol invoice.
For now, I believe (correct me if i am wrong) it should be enough to generate a UBL peppol invoice, in order to send (or with api)manually to access point .
(Pdf invoice e-mail must always stay.)
Or maybe a standalone plugin for companies with peppol id
Because the plugin will have to check the peppol id. Aldo this can be done just like VAT number check.

Please Log in or Create an account to join the conversation.

  • Posts: 83103
  • Thank you received: 13416
  • MODERATOR
1 month 1 week ago #364921

Hi,

I think you'll have to send an e-invoice for EU companies with VAT number. Where did you find that this was not the case ?

I'm not clear on whether it will be enough to generate the UBL and send it together with the PDF invoice or if the UBL has to be sent through PEPPOL.
I seems it should be enough but I couldn't find clear information on that.

Please Log in or Create an account to join the conversation.

  • Posts: 33
  • Thank you received: 2
  • Hikashop Business
1 month 1 week ago #364923

E-invoice between companies in Belgium will be mandatory on 1/1/2026.
E-invoice between companies in the EU not yet mandatory on 1/1/2026, but it will come.
I found this one:
www.scrada.be/en/peppol/

ademico-software.com/peppol-rest-api/#section/Introduction

Last edit: 1 month 1 week ago by duportail.

Please Log in or Create an account to join the conversation.

  • Posts: 83103
  • Thank you received: 13416
  • MODERATOR
1 month 1 week ago #364924

Ah yes. It will come.

And yes, Scrada.be will be one of the hundreds of PEPPOL access point, each one with their own API :/

I've looked at several APIs for PEPPOL. Many will require providing a UBL file. Some will allow the plugin to provide the details of the invoice with parameters of their API, like Scrada.be does. Some will also ask or offer the possibility to include the PDF of the invoice, like Scrada.be does.
So, for some PEPPOL plugins, an integration with the PDF invoice plugin will be necessary to generate the PDF file to send to the API of the access point.

Please Log in or Create an account to join the conversation.

  • Posts: 33
  • Thank you received: 2
  • Hikashop Business
1 month 1 week ago #364928

I hope that some access points will make a hikashop plugin.
I think generating a pdf and peppol invoice would be enough for now.
Maybe a setting to set a mail address of the access point.
github.com/gflohr/e-invoice-eu?tab=readme-ov-file
www.guido-flohr.net/creating-electronic-...pen-source-software/

Please Log in or Create an account to join the conversation.

  • Posts: 83103
  • Thank you received: 13416
  • MODERATOR
1 month 1 week ago #364929

Hi,

I doubt access points will make plugins.
Having the PDF invoice plugin generate a UBL file will be a good start indeed.

The github can't be used. It's for Node.JS on local networks. We need something in PHP.
As I was saying in my first message, this for example: github.com/josemmo/einvoicing

And yes, it will require extra settings. Not for the email address, but for other things.

Please Log in or Create an account to join the conversation.

  • Posts: 33
  • Thank you received: 2
  • Hikashop Business
2 weeks 19 hours ago #365169

I see that there is a new plugin with e-invoice. Must i purchase the new one, or can i update the one I purchased a few months ago?

guy

Please Log in or Create an account to join the conversation.

  • Posts: 83103
  • Thank you received: 13416
  • MODERATOR
2 weeks 15 hours ago #365170

Hi,

If you have already purchased the PDF invoice plugin, then you can use the same download link you've received at the time of the purchase to retrieve the latest version from our website.

Please Log in or Create an account to join the conversation.

  • Posts: 33
  • Thank you received: 2
  • Hikashop Business
1 week 6 days ago #365179

Looks good, but would it be better to send an ubl invoice to all customers? B2C is not yet mandatory, but you never know. And customers from countries outside EU have no Vat number, but maybe like to have an e-invoice.
I would not let the e-invoice depend on whether there is a VAT number or not.
Seems easier to always send a pdf and e-invoice with an e-mail.

Please Log in or Create an account to join the conversation.

  • Posts: 83103
  • Thank you received: 13416
  • MODERATOR
1 week 6 days ago #365180

Hi,

The plugin implements the standard Peppol BIS Billing 3.0 :
docs.peppol.eu/poacc/billing/3.0/syntax/ubl-invoice/
This standard is made for B2B, not B2C, and UBL invoice files without a VAT number for the client are invalid per this standard.
Allowing for UBL invoice files without a VAT number for the client would generate invalid UBL files which would be refused by systems compatible with that standard. I don't think it is a good idea to send the UBL file if it is invalid.
Now, if this standard were to change in a future version to allow B2C, then I suppose the VAT number wont be required, and at that point we'll be able to generate UBL invoice files without a VAT number.
Note also that this is applicable only to the UBL file automatically attached to the emails.
If you edit an order in the backend, you'll get a new "UBL invoice" button and this button will generate you a UBL invoice file even without a VAT number for the client. However, in that case, the UBL invoice will be invalid as per the Peppol BIS Billing 3.0 standard.
So the plugin is capable of doing it, if necessary.

Note also that customers outside the EU can provide a VAT number (or the equivalent in their country, like a company ID or something, in the same field) and the plugin will take it into account and generate a UBL invoice for them.

Please Log in or Create an account to join the conversation.

  • Posts: 33
  • Thank you received: 2
  • Hikashop Business
1 week 6 days ago #365183

Ok, sounds ok.
I cannot test it because i do not have a peppol id yet.

What i have problems with is ID issuer code.
I do not find what i need to fill in for that. Could it be 0193?

Last edit: 1 week 6 days ago by duportail.

Please Log in or Create an account to join the conversation.

  • Posts: 33
  • Thank you received: 2
  • Hikashop Business
1 week 6 days ago #365190

I did fill in all info in the plugin. When I try to generate an UBL invoice on existing order (customer with or without vat nr) i get this error:
An error has occurred.

0 NumNum\UBL\TaxSubTotal::setTaxCategory(): Argument #1 ($taxCategory) must be of type NumNum\UBL\TaxCategory, null given, called in /var/www/ubuntushopbiz/plugins/hikashop/attachinvoice/attachinvoice.php on line 1024
It could be because i did edit the file a while ago.
A normal pdf invoice has no errors.
i have attached the file

Attachments:

Please Log in or Create an account to join the conversation.

Time to create page: 0.091 seconds
Powered by Kunena Forum