18
edits
mNo edit summary Tag: 2017 source edit |
(VATEX info) |
||
| Line 3: | Line 3: | ||
Links below will be automatically replicated on translated pages by PolyglotBot --> | Links below will be automatically replicated on translated pages by PolyglotBot --> | ||
<!-- END interlang links --> | <!-- END interlang links --> | ||
[[Category:Complementary modules]] | [[Category:Complementary modules]] | ||
{{TemplateDocDevEn}} | {{TemplateDocDevEn}} | ||
| Line 80: | Line 79: | ||
[[File:Warning.png]] By default, you can enter only one set of credentials for the Production mode and one set of credentials for the Test mode, so if your Dolibarr instance is a test instance, enter test credentials and set the switch to Test, and if your Dolibarr instance is a production instance, enter credentials of production and set the switch to Production. Even if you can switch from one environment to another one, it is seriously not recommended to save and use both Test and Production credentials in the same Dolibarr instance; Only the Access Point environment is different but your Dolibarr is the same. So if you mix two Access Point environments (Test and Prod) in the same Dolibarr, you may get or send tests invoices on your production instance (and the opposite), so the best thing to avoid this is to enter credentials only for one environment and never for the other. See chapter "Usage in sandbox for test" for more information on how to use the module in a sandbox context. | [[File:Warning.png]] By default, you can enter only one set of credentials for the Production mode and one set of credentials for the Test mode, so if your Dolibarr instance is a test instance, enter test credentials and set the switch to Test, and if your Dolibarr instance is a production instance, enter credentials of production and set the switch to Production. Even if you can switch from one environment to another one, it is seriously not recommended to save and use both Test and Production credentials in the same Dolibarr instance; Only the Access Point environment is different but your Dolibarr is the same. So if you mix two Access Point environments (Test and Prod) in the same Dolibarr, you may get or send tests invoices on your production instance (and the opposite), so the best thing to avoid this is to enter credentials only for one environment and never for the other. See chapter "Usage in sandbox for test" for more information on how to use the module in a sandbox context. | ||
== Setup VAT exemptions (VATEX), if applicable == | |||
If your business is exempted of VAT, tell Dolibarr the default reason of exemption that will be exported in the EInvoice. | |||
Take note of the VATEX-xxxx code that matches your business and save it into Dolibarr: | |||
* In Dolibarr <= 23, go to "Configuration - Misc" and add a new variable '''MAIN_VAT_EXEMPTION_CODE_FOR_0''' with the VATEX-xx-xxxx matching your situation. | |||
* In Dolibarr >24, save it to the VAT dictionary | |||
''Example: French companies concerned with Art 293B of CGI will type <code>VATEX-FR-FRANCHISE</code>'' | |||
==Setup with Esalink/Hubtimize Access point== | ==Setup with Esalink/Hubtimize Access point== | ||
| Line 118: | Line 125: | ||
You can also switch the Test / Production mode from the main tab of the setup section of the module. WARNING: Using the switch is dangerous as it allows mixing invoices from different networks in the same Dolibarr instance. | You can also switch the Test / Production mode from the main tab of the setup section of the module. WARNING: Using the switch is dangerous as it allows mixing invoices from different networks in the same Dolibarr instance. | ||
==Using the sandbox and Peppol test Network for tests using several Access Points == | ==Using the sandbox and Peppol test Network for tests using several Access Points== | ||
If you are using credentials to use the sandbox mode of SuperPDP, you may need to modify the setup of your company (Menu Home - Setup - Company/Organization) to record the same SIREN than the one of the test company provided by SuperPDP sandbox (So "000000001" for Tricatel or "000000002" for Burger Queen). | If you are using credentials to use the sandbox mode of SuperPDP, you may need to modify the setup of your company (Menu Home - Setup - Company/Organization) to record the same SIREN than the one of the test company provided by SuperPDP sandbox (So "000000001" for Tricatel or "000000002" for Burger Queen). | ||
| Line 133: | Line 140: | ||
[[File:Einvoice setup customer address.png|border]] | [[File:Einvoice setup customer address.png|border]] | ||
= Tools = | =Tools= | ||
== E-Invoicing annuaries == | ==E-Invoicing annuaries== | ||
=== Test annuary=== | ===Test annuary=== | ||
To check or see companies/Einvoice ID in an annuary, you can use one of this tool | To check or see companies/Einvoice ID in an annuary, you can use one of this tool | ||
* [https://test-directory.peppol.eu/public/locale-en_US/ Test Peppol annuary] | *[https://test-directory.peppol.eu/public/locale-en_US/ Test Peppol annuary] | ||
* [https://www.superpdp.tech/outils/info-annuaire/?query=493861496&mode=fr&env=sandbox SuperPDP tool] | *[https://www.superpdp.tech/outils/info-annuaire/?query=493861496&mode=fr&env=sandbox SuperPDP tool] | ||
=== Production annuary === | ===Production annuary=== | ||
You can use one of this tool to check if a company is in the production annuary. | You can use one of this tool to check if a company is in the production annuary. | ||
* [https://directory.peppol.eu/public/locale-en_US/ Peppol annuary] | *[https://directory.peppol.eu/public/locale-en_US/ Peppol annuary] | ||
* [https://facturation.chorus-pro.gouv.fr/annuaire/#/ French governement annuary] | *[https://facturation.chorus-pro.gouv.fr/annuaire/#/ French governement annuary] | ||
* [https://www.superpdp.tech/outils/info-annuaire/?query=493861496&mode=fr&env=production SuperPDP annuary] | *[https://www.superpdp.tech/outils/info-annuaire/?query=493861496&mode=fr&env=production SuperPDP annuary] | ||
==Validation of an EInvoice== | ==Validation of an EInvoice== | ||
To validate an existing einvoice, you can use one of this tool: | To validate an existing einvoice, you can use one of this tool: | ||
* [https://www.superpdp.tech/outils/validateur-facture-electronique From SuperPDP (CII or Factur-X einvoices)] | *[https://www.superpdp.tech/outils/validateur-facture-electronique From SuperPDP (CII or Factur-X einvoices)] | ||
* [https://services.fnfe-mpe.org/account/home From FNFE (Factur-X only, need an account)] | *[https://services.fnfe-mpe.org/account/home From FNFE (Factur-X only, need an account)] | ||
* [https://www.itb.ec.europa.eu/invoice/upload From Europa.eu (CII or UBL)] | *[https://www.itb.ec.europa.eu/invoice/upload From Europa.eu (CII or UBL)] | ||
* [https://ecosio.com/en/peppol-e-invoice-xml-document-validator/ From Ecosi (CII choose CrossIndustryInvoice D16B)] | *[https://ecosio.com/en/peppol-e-invoice-xml-document-validator/ From Ecosi (CII choose CrossIndustryInvoice D16B)] | ||
| Line 163: | Line 170: | ||
[[File:Le cycle de vie d’une facture électronique.png|border|1200x1200px|Lifecycle of an electronic invoice]] | [[File:Le cycle de vie d’une facture électronique.png|border|1200x1200px|Lifecycle of an electronic invoice]] | ||
== Current error cases == | ==Current error cases== | ||
* Error: HTTP 400 - CREATE_ERROR - pre-check: receiver address does not accept this document. | |||
*Error: HTTP 400 - CREATE_ERROR - pre-check: receiver address does not accept this document. | |||
Check the SIREN and the Einvoice address of the customer. If you set only a SIREN with no specific Einvoice addess (the most common case), check that this SIREN exists that an Einvoice address in the network annuary exists with for this SIREN value. If you used a specific Einvoice address in addition to the SIREN, check that the couple SIREN/Einvoice address is a valid existing couple in the annuary. | Check the SIREN and the Einvoice address of the customer. If you set only a SIREN with no specific Einvoice addess (the most common case), check that this SIREN exists that an Einvoice address in the network annuary exists with for this SIREN value. If you used a specific Einvoice address in addition to the SIREN, check that the couple SIREN/Einvoice address is a valid existing couple in the annuary. | ||
=Development= | =Development= | ||
== Still to do == | ==Still to do== | ||
* Management of discounts on lines (sending and reception). In progress. | |||
* Management of credit notes. In progress. | *Management of discounts on lines (sending and reception). In progress. | ||
* The E-reporting (mandatory in France the 1st september 2027), to report sales done by the Point of Sale module for example. Planned for begin of 2027. | *Management of credit notes. In progress. | ||
* More tests | *The E-reporting (mandatory in France the 1st september 2027), to report sales done by the Point of Sale module for example. Planned for begin of 2027. | ||
* Add Einvoice validator button | *More tests | ||
* More documentation | *Add Einvoice validator button | ||
* Feature to install or update module from Dolibarr interface directly | *More documentation | ||
*Feature to install or update module from Dolibarr interface directly | |||
==Sources== | ==Sources== | ||
edits