[Skip to main content](#vessel-content)

#   ubl errors

##

- **[duportail](/forum/user/82788-duportail "View duportail's Profile")**
- [![duportail's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/82788-duportail "View duportail's Profile") Topic Author
- [ Offline](/forum/user/82788-duportail)

Less More

- Posts: 91
- Thank you received: 10
-
-

9 months 2 weeks ago [\#370346](#370346) by [duportail](/forum/user/82788-duportail "View duportail's Profile")  *[ubl errors](/forum/27-checkout/910094-ubl-errors#370346 "-- HikaShop version -- : 6.3.0 -- Joomla version -- : 5.4 -- PHP version -- : 8.4  did a ubl test on   www.ubl.be/validator/  but got errors:  UBL.BE : Error  &#91;BR-S-05&#93;-In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is &quot;Standard rated&quot; the Invoiced item VAT rate (BT-152) shall be greater than zero. Specification identifier MUST have the value 'urn:cen.eu:en16931:2017#conformant#urn:UBL.BE:1.0.0.20180214'. &#91;ubl-BE-01&#93;-At least two AdditionalDocumentReference elements must be present. &#91;ubl-BE-10&#93;-cac:cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory/cbc:Name must be in BTCC list : &#91;ubl-BE-14&#93;-Invoice/cac:InvoiceLine/cac:TaxTotal/cbc:TaxAmount is Mandatory. &#91;ubl-BE-15&#93;-cac:ClassifiedTaxCategory/cbc:Name must be present.")* was created by *[duportail](/forum/user/82788-duportail "View duportail's Profile")*

-- HikaShop version -- : 6.3.0
-- Joomla version -- : 5.4
-- PHP version -- : 8.4

did a ubl test on [ www.ubl.be/validator/](https://www.ubl.be/validator/)
but got errors:

UBL.BE : Error

[BR-S-05]-In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Standard rated" the Invoiced item VAT rate (BT-152) shall be greater than zero.
Specification identifier MUST have the value 'urn:cen.eu:en16931:2017#conformant#urn:UBL.BE:1.0.0.20180214'.
[ubl-BE-01]-At least two AdditionalDocumentReference elements must be present.
[ubl-BE-10]-cac:cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory/cbc:Name must be in BTCC list :
[ubl-BE-14]-Invoice/cac:InvoiceLine/cac:TaxTotal/cbc:TaxAmount is Mandatory.
[ubl-BE-15]-cac:ClassifiedTaxCategory/cbc:Name must be present.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkxMDA5NC11YmwtZXJyb3JzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86581
- Thank you received: 14322
-
-

9 months 2 weeks ago [\#370348](#370348) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[ubl errors](/forum/27-checkout/910094-ubl-errors#370348 "-- HikaShop version -- : 6.3.0 -- Joomla version -- : 5.4 -- PHP version -- : 8.4  did a ubl test on   www.ubl.be/validator/  but got errors:  UBL.BE : Error  &#91;BR-S-05&#93;-In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is &quot;Standard rated&quot; the Invoiced item VAT rate (BT-152) shall be greater than zero. Specification identifier MUST have the value 'urn:cen.eu:en16931:2017#conformant#urn:UBL.BE:1.0.0.20180214'. &#91;ubl-BE-01&#93;-At least two AdditionalDocumentReference elements must be present. &#91;ubl-BE-10&#93;-cac:cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory/cbc:Name must be in BTCC list : &#91;ubl-BE-14&#93;-Invoice/cac:InvoiceLine/cac:TaxTotal/cbc:TaxAmount is Mandatory. &#91;ubl-BE-15&#93;-cac:ClassifiedTaxCategory/cbc:Name must be present.")*

Hi,

Thank you for your feedback. We've worked on a new version of the PDF invoice plugin in order to support this.
[ www.hikashop.com/marketplace/product/18-plugin-pdf.html](https://www.hikashop.com/marketplace/product/18-plugin-pdf.html)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkxMDA5NC11YmwtZXJyb3JzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[duportail](/forum/user/82788-duportail "View duportail's Profile")**
- [![duportail's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/82788-duportail "View duportail's Profile") Topic Author
- [ Offline](/forum/user/82788-duportail)

Less More

- Posts: 91
- Thank you received: 10
-
-

9 months 2 weeks ago [\#370349](#370349) by [duportail](/forum/user/82788-duportail "View duportail's Profile")  Replied by *[duportail](/forum/user/82788-duportail "View duportail's Profile")* on topic *[ubl errors](/forum/27-checkout/910094-ubl-errors#370349 "-- HikaShop version -- : 6.3.0 -- Joomla version -- : 5.4 -- PHP version -- : 8.4  did a ubl test on   www.ubl.be/validator/  but got errors:  UBL.BE : Error  &#91;BR-S-05&#93;-In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is &quot;Standard rated&quot; the Invoiced item VAT rate (BT-152) shall be greater than zero. Specification identifier MUST have the value 'urn:cen.eu:en16931:2017#conformant#urn:UBL.BE:1.0.0.20180214'. &#91;ubl-BE-01&#93;-At least two AdditionalDocumentReference elements must be present. &#91;ubl-BE-10&#93;-cac:cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory/cbc:Name must be in BTCC list : &#91;ubl-BE-14&#93;-Invoice/cac:InvoiceLine/cac:TaxTotal/cbc:TaxAmount is Mandatory. &#91;ubl-BE-15&#93;-cac:ClassifiedTaxCategory/cbc:Name must be present.")*

Thanks,
But got error while install:
Copy file failed
Error installing plugin

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkxMDA5NC11YmwtZXJyb3JzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86581
- Thank you received: 14322
-
-

9 months 1 week ago [\#370350](#370350) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[ubl errors](/forum/27-checkout/910094-ubl-errors#370350 "-- HikaShop version -- : 6.3.0 -- Joomla version -- : 5.4 -- PHP version -- : 8.4  did a ubl test on   www.ubl.be/validator/  but got errors:  UBL.BE : Error  &#91;BR-S-05&#93;-In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is &quot;Standard rated&quot; the Invoiced item VAT rate (BT-152) shall be greater than zero. Specification identifier MUST have the value 'urn:cen.eu:en16931:2017#conformant#urn:UBL.BE:1.0.0.20180214'. &#91;ubl-BE-01&#93;-At least two AdditionalDocumentReference elements must be present. &#91;ubl-BE-10&#93;-cac:cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory/cbc:Name must be in BTCC list : &#91;ubl-BE-14&#93;-Invoice/cac:InvoiceLine/cac:TaxTotal/cbc:TaxAmount is Mandatory. &#91;ubl-BE-15&#93;-cac:ClassifiedTaxCategory/cbc:Name must be present.")*

Hi,

I'm not able to reproduce the problem on my end.
I don't think the problem is with the plugin install package (besides the fact that it is big, as before).
You can extract it on your local computer and upload the extracted files and folders in the tmp folder of your website via FTP.
Then, run the install from that folder and it should hopefully circumvent the problem.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkxMDA5NC11YmwtZXJyb3JzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[duportail](/forum/user/82788-duportail "View duportail's Profile")**
- [![duportail's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/82788-duportail "View duportail's Profile") Topic Author
- [ Offline](/forum/user/82788-duportail)

Less More

- Posts: 91
- Thank you received: 10
-
-

9 months 1 week ago -  9 months 1 week ago [\#370355](#370355) by [duportail](/forum/user/82788-duportail "View duportail's Profile")  Replied by *[duportail](/forum/user/82788-duportail "View duportail's Profile")* on topic *[ubl errors](/forum/27-checkout/910094-ubl-errors#370355 "-- HikaShop version -- : 6.3.0 -- Joomla version -- : 5.4 -- PHP version -- : 8.4  did a ubl test on   www.ubl.be/validator/  but got errors:  UBL.BE : Error  &#91;BR-S-05&#93;-In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is &quot;Standard rated&quot; the Invoiced item VAT rate (BT-152) shall be greater than zero. Specification identifier MUST have the value 'urn:cen.eu:en16931:2017#conformant#urn:UBL.BE:1.0.0.20180214'. &#91;ubl-BE-01&#93;-At least two AdditionalDocumentReference elements must be present. &#91;ubl-BE-10&#93;-cac:cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory/cbc:Name must be in BTCC list : &#91;ubl-BE-14&#93;-Invoice/cac:InvoiceLine/cac:TaxTotal/cbc:TaxAmount is Mandatory. &#91;ubl-BE-15&#93;-cac:ClassifiedTaxCategory/cbc:Name must be present.")*

No, still not installable:
joomla debug on:
"There was an error uploading this file to the server."
I have installed yesterday hikashop 6.3.0, all went well.

my config: Maximum upload size: ‎20.00 MB

Last edit: 9 months 1 week ago by [duportail](/forum/user/82788-duportail "View duportail's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkxMDA5NC11YmwtZXJyb3JzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86581
- Thank you received: 14322
-
-

9 months 1 week ago -  9 months 1 week ago [\#370356](#370356) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[ubl errors](/forum/27-checkout/910094-ubl-errors#370356 "-- HikaShop version -- : 6.3.0 -- Joomla version -- : 5.4 -- PHP version -- : 8.4  did a ubl test on   www.ubl.be/validator/  but got errors:  UBL.BE : Error  &#91;BR-S-05&#93;-In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is &quot;Standard rated&quot; the Invoiced item VAT rate (BT-152) shall be greater than zero. Specification identifier MUST have the value 'urn:cen.eu:en16931:2017#conformant#urn:UBL.BE:1.0.0.20180214'. &#91;ubl-BE-01&#93;-At least two AdditionalDocumentReference elements must be present. &#91;ubl-BE-10&#93;-cac:cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory/cbc:Name must be in BTCC list : &#91;ubl-BE-14&#93;-Invoice/cac:InvoiceLine/cac:TaxTotal/cbc:TaxAmount is Mandatory. &#91;ubl-BE-15&#93;-cac:ClassifiedTaxCategory/cbc:Name must be present.")*

Hi,

The error message indicates a problem with the upload of the file, not with the extraction of the package, or with the install process itself.
So, this tells me that you didn't extract the package locally, uploaded the files to the tmp folder of the website and then run the install from that folder. If you did, Joomla wouldn't say that there was an error with the upload.
An error with the upload usually indicates an upload limit being too low, or the tmp folder not being writable or something like that.
As I said, the plugin install package is big, actually way bigger than HikaShop's. So the fact that the upload worked for HikaShop doesn't translate to the PDF invoice plugin upload as the conditions are different.

Your upload limit is 20MB, but the plugin is 18996287 bytes. It is quite close to the limit. I suspect this is your problem.
Please increase the upload limit to 25MB and see how it goes.

Last edit: 9 months 1 week ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkxMDA5NC11YmwtZXJyb3JzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[duportail](/forum/user/82788-duportail "View duportail's Profile")**
- [![duportail's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/82788-duportail "View duportail's Profile") Topic Author
- [ Offline](/forum/user/82788-duportail)

Less More

- Posts: 91
- Thank you received: 10
-
-

9 months 1 week ago [\#370364](#370364) by [duportail](/forum/user/82788-duportail "View duportail's Profile")  Replied by *[duportail](/forum/user/82788-duportail "View duportail's Profile")* on topic *[ubl errors](/forum/27-checkout/910094-ubl-errors#370364 "-- HikaShop version -- : 6.3.0 -- Joomla version -- : 5.4 -- PHP version -- : 8.4  did a ubl test on   www.ubl.be/validator/  but got errors:  UBL.BE : Error  &#91;BR-S-05&#93;-In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is &quot;Standard rated&quot; the Invoiced item VAT rate (BT-152) shall be greater than zero. Specification identifier MUST have the value 'urn:cen.eu:en16931:2017#conformant#urn:UBL.BE:1.0.0.20180214'. &#91;ubl-BE-01&#93;-At least two AdditionalDocumentReference elements must be present. &#91;ubl-BE-10&#93;-cac:cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory/cbc:Name must be in BTCC list : &#91;ubl-BE-14&#93;-Invoice/cac:InvoiceLine/cac:TaxTotal/cbc:TaxAmount is Mandatory. &#91;ubl-BE-15&#93;-cac:ClassifiedTaxCategory/cbc:Name must be present.")*

i have raised it to 25mb.
I also extracted the plugin to the tmp folder , still same error:
Copy file failed
Error installing plugin

in the tmp dir:
drwxr-xr-x 3 www-data www-data 4096 Feb 10 12:46 attachinvoice
-rw-rw-r-- 1 www-data www-data 6488 Feb 9 19:53 attachinvoice_j15.xml
-rw-rw-r-- 1 www-data www-data 76063 Feb 9 19:53 attachinvoice.php
-rw-rw-r-- 1 www-data www-data 12462 Feb 9 19:53 attachinvoice.xml
drwxr-xr-x 2 www-data www-data 4096 Feb 10 12:46 invoices
drwxr-xr-x 3 www-data www-data 4096 Feb 10 12:46 language
drwxr-xr-x 7 www-data www-data 4096 Feb 10 12:47 vendor

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkxMDA5NC11YmwtZXJyb3JzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86581
- Thank you received: 14322
-
-

9 months 1 week ago [\#370366](#370366) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[ubl errors](/forum/27-checkout/910094-ubl-errors#370366 "-- HikaShop version -- : 6.3.0 -- Joomla version -- : 5.4 -- PHP version -- : 8.4  did a ubl test on   www.ubl.be/validator/  but got errors:  UBL.BE : Error  &#91;BR-S-05&#93;-In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is &quot;Standard rated&quot; the Invoiced item VAT rate (BT-152) shall be greater than zero. Specification identifier MUST have the value 'urn:cen.eu:en16931:2017#conformant#urn:UBL.BE:1.0.0.20180214'. &#91;ubl-BE-01&#93;-At least two AdditionalDocumentReference elements must be present. &#91;ubl-BE-10&#93;-cac:cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory/cbc:Name must be in BTCC list : &#91;ubl-BE-14&#93;-Invoice/cac:InvoiceLine/cac:TaxTotal/cbc:TaxAmount is Mandatory. &#91;ubl-BE-15&#93;-cac:ClassifiedTaxCategory/cbc:Name must be present.")*

Hi,

This is not the same error.
Before it was "There was an error uploading this file to the server" now it is "Copy file failed".
The "Copy file failed" error indicates that the destination folder in plugins/hikashop/attachinvoice/ itself, or its subfolder or the files in there are not writable by PHP.
So it's a permission issue.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkxMDA5NC11YmwtZXJyb3JzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[duportail](/forum/user/82788-duportail "View duportail's Profile")**
- [![duportail's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/82788-duportail "View duportail's Profile") Topic Author
- [ Offline](/forum/user/82788-duportail)

Less More

- Posts: 91
- Thank you received: 10
-
-

9 months 1 week ago [\#370371](#370371) by [duportail](/forum/user/82788-duportail "View duportail's Profile")  Replied by *[duportail](/forum/user/82788-duportail "View duportail's Profile")* on topic *[ubl errors](/forum/27-checkout/910094-ubl-errors#370371 "-- HikaShop version -- : 6.3.0 -- Joomla version -- : 5.4 -- PHP version -- : 8.4  did a ubl test on   www.ubl.be/validator/  but got errors:  UBL.BE : Error  &#91;BR-S-05&#93;-In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is &quot;Standard rated&quot; the Invoiced item VAT rate (BT-152) shall be greater than zero. Specification identifier MUST have the value 'urn:cen.eu:en16931:2017#conformant#urn:UBL.BE:1.0.0.20180214'. &#91;ubl-BE-01&#93;-At least two AdditionalDocumentReference elements must be present. &#91;ubl-BE-10&#93;-cac:cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory/cbc:Name must be in BTCC list : &#91;ubl-BE-14&#93;-Invoice/cac:InvoiceLine/cac:TaxTotal/cbc:TaxAmount is Mandatory. &#91;ubl-BE-15&#93;-cac:ClassifiedTaxCategory/cbc:Name must be present.")*

found it: corporate_invoice.php was owned by root.
I do not how this happends.
Solved

The following user(s) said Thank You: [nicolas](/forum/user/63-nicolas "View nicolas's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkxMDA5NC11YmwtZXJyb3JzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.081 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
