{"id":401428,"date":"2026-11-13T16:46:21","date_gmt":"2026-11-13T16:46:21","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/e-facture-france-connecteur-b2brouter\/"},"modified":"2026-11-13T16:51:30","modified_gmt":"2026-11-13T16:51:30","slug":"yoolooops-french-e-invoicing-connector-b2brouter","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/yoolooops-french-e-invoicing-connector-b2brouter\/","author":23602033,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.1.1","stable_tag":"0.1.1","tested":"7.1.4","requires":"6.5","requires_php":"7.4","requires_plugins":null,"header_name":"Sirenly \u2013 Facture \u00e9lectronique for B2Brouter","header_author":"Arthur Mazeau","header_description":"Envoie les factures des commandes B2B fran\u00e7aises (client avec SIREN) \u00e0 la plateforme agr\u00e9\u00e9e B2Brouter.","last_updated":"2026-11-13 16:51:30","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":0,"downloads":98,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"0.1.0":{"tag":"0.1.0","author":"yoolooops","date":"2026-11-13 16:46:00","revision":3800840},"0.1.1":{"tag":"0.1.1","author":"yoolooops","date":"2026-11-13 16:51:30","revision":3800855}},"upgrade_notice":{"0.1.1":"<p>New plugin name, no functional change.<\/p>","0.1.0":"<p>First release.<\/p>"},"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1.0","0.1.1"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[225611,226218,282437,12480,286],"plugin_category":[45],"plugin_contributors":[292613],"plugin_business_model":[],"class_list":["post-401428","plugin","type-plugin","status-publish","hentry","plugin_tags-e-invoicing","plugin_tags-factur-x","plugin_tags-facture-electronique","plugin_tags-invoice","plugin_tags-woocommerce","plugin_category-ecommerce","plugin_contributors-yoolooops","plugin_committers-yoolooops"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/yoolooops-french-e-invoicing-connector-b2brouter.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>From 1 September 2026 every VAT-registered business in France must be able to receive electronic invoices, and from 1 September 2027 small and medium businesses must also issue them through an approved platform (Plateforme Agr\u00e9\u00e9e, PA).<\/p>\n\n<p>This plugin connects your WooCommerce store to <strong>B2Brouter<\/strong>, an approved platform, so that invoices for your French business customers are issued electronically without any manual work.<\/p>\n\n<p><strong>How it works<\/strong><\/p>\n\n<ul>\n<li>Adds an optional <strong>SIREN<\/strong> field to the checkout (checked with the Luhn key) and to the order edit screen.<\/li>\n<li>When an order with a French billing address and a valid SIREN is set to <strong>Completed<\/strong>, the plugin creates the invoice at B2Brouter and sends it.<\/li>\n<li>Every invoice gets a <strong>sequential number with no gaps and no duplicates<\/strong> (FA-000001, FA-000002\u2026), as required by French law, even with simultaneous orders.<\/li>\n<li>Product lines are sent net of discounts, shipping is sent as its own line, and VAT is mapped to the matching French rate: mainland (20, 10, 5.5, 2.1 %), Corsica (13, 0.9 %) and overseas departments (8.5, 1.05 %).<\/li>\n<li>The result (success or error message) is written in the order notes.<\/li>\n<li>Failed sends can be retried from <strong>Order actions &gt; \u00ab Envoyer la facture \u00e9lectronique (B2Brouter) \u00bb<\/strong>. A retry reuses the same invoice number and never creates a duplicate invoice.<\/li>\n<li>The B2Brouter account ID is detected automatically from your API key.<\/li>\n<li>Compatible with WooCommerce High-Performance Order Storage (HPOS).<\/li>\n<\/ul>\n\n<p><strong>What this plugin does not do (yet)<\/strong><\/p>\n\n<ul>\n<li>B2C and international sales (e-reporting) are not sent.<\/li>\n<li>The block-based checkout is not supported: use the classic checkout (<code>[woocommerce_checkout]<\/code> shortcode) so that the SIREN field is shown.<\/li>\n<li>A 0 % rate is sent as \"exempt\" (category E) without an exemption reason.<\/li>\n<\/ul>\n\n<p>The plugin interface is in French.<\/p>\n\n<h3>External services<\/h3>\n\n<p>This plugin connects to the <strong>B2Brouter API<\/strong> (<code>https:\/\/api.b2brouter.net<\/code>), operated by B2Brouter Global S.L., to create and send electronic invoices. It is required for the plugin to work.<\/p>\n\n<ul>\n<li><strong>When<\/strong>: only when an order with a French billing address and a valid SIREN is set to Completed, or when the store manager uses the \u00ab Envoyer la facture \u00e9lectronique (B2Brouter) \u00bb order action. When no account ID is saved, the plugin also asks the API once for the account linked to the API key.<\/li>\n<li><strong>What is sent<\/strong>: the invoice number and date, currency, customer company or name, billing country, billing email, SIREN, and each invoice line (description, quantity, unit price, VAT rate). Your B2Brouter API key is sent in the request headers.<\/li>\n<li><strong>Nothing is sent<\/strong> for orders without a valid SIREN or with a non-French billing address.<\/li>\n<\/ul>\n\n<p>You need a B2Brouter account. B2Brouter terms of service: https:\/\/www.b2brouter.net\/fr\/conditions-generales-du-service \u2014 privacy policy: https:\/\/www.b2brouter.net\/fr\/politique-de-confidentialite<\/p>\n\n<p>This plugin is not affiliated with or endorsed by B2Brouter or WooCommerce.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Install and activate WooCommerce.<\/li>\n<li>Upload the plugin from <strong>Plugins &gt; Add New &gt; Upload Plugin<\/strong>, or install it from the plugin directory, then activate it.<\/li>\n<li>Create a B2Brouter account. For testing, open <strong>Developers &gt; Create Sandbox<\/strong> in B2Brouter: the sandbox API key starts with <code>test_<\/code>.<\/li>\n<li>Go to <strong>WooCommerce &gt; Settings &gt; Advanced &gt; Facture \u00e9lectronique<\/strong> and paste your API key. Leave the account ID empty to have it detected automatically.<\/li>\n<li>Use the classic checkout so the SIREN field is shown to customers.<\/li>\n<li>Place a test order with a valid SIREN and a French billing address, then set it to Completed. The order notes show the result.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"do%20i%20need%20a%20b2brouter%20account%3F\"><h3>Do I need a B2Brouter account?<\/h3><\/dt>\n<dd><p>Yes. The plugin only sends invoices to B2Brouter. A free sandbox lets you test everything before choosing a plan.<\/p><\/dd>\n<dt id=\"how%20do%20i%20test%20without%20sending%20real%20invoices%3F\"><h3>How do I test without sending real invoices?<\/h3><\/dt>\n<dd><p>Use a sandbox API key (starting with <code>test_<\/code>). Invoices then go to your B2Brouter sandbox and are marked as test invoices.<\/p><\/dd>\n<dt id=\"which%20orders%20are%20sent%3F\"><h3>Which orders are sent?<\/h3><\/dt>\n<dd><p>Only orders with a French billing address and a valid SIREN. Other orders are ignored, and a note in the order explains why.<\/p><\/dd>\n<dt id=\"where%20do%20i%20see%20what%20happened%3F\"><h3>Where do I see what happened?<\/h3><\/dt>\n<dd><p>In the order notes of each order: invoice number and B2Brouter ID on success, or the error message returned by B2Brouter.<\/p><\/dd>\n<dt id=\"can%20i%20resend%20an%20invoice%3F\"><h3>Can I resend an invoice?<\/h3><\/dt>\n<dd><p>Yes, from <strong>Order actions &gt; \u00ab Envoyer la facture \u00e9lectronique (B2Brouter) \u00bb<\/strong>. An invoice already sent is never sent twice.<\/p><\/dd>\n<dt id=\"i%20already%20use%20a%20pdf%20invoice%20plugin.\"><h3>I already use a PDF invoice plugin.<\/h3><\/dt>\n<dd><p>Make sure both plugins do not issue two separate invoice number sequences for the same orders. You can change the invoice number prefix in the settings.<\/p><\/dd>\n<dt id=\"does%20it%20work%20with%20the%20block%20checkout%3F\"><h3>Does it work with the block checkout?<\/h3><\/dt>\n<dd><p>Not yet. Use the classic checkout shortcode <code>[woocommerce_checkout]<\/code> on your checkout page.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.1.1<\/h4>\n\n<ul>\n<li>Plugin renamed to Sirenly \u2013 Facture \u00e9lectronique for B2Brouter.<\/li>\n<\/ul>\n\n<h4>0.1.0<\/h4>\n\n<ul>\n<li>First release: SIREN field, automatic send on order completion, manual retry, gap-free invoice numbering, French VAT rates including Corsica and overseas departments, automatic account detection, HPOS support.<\/li>\n<\/ul>","raw_excerpt":"Facture \u00e9lectronique: send French B2B WooCommerce invoices automatically to the B2Brouter approved e-invoicing platform (Plateforme Agr\u00e9\u00e9e).","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/401428","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=401428"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/yoolooops"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=401428"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=401428"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=401428"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=401428"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=401428"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=401428"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}