{"id":338900,"date":"2026-07-12T10:17:48","date_gmt":"2026-07-12T10:17:48","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/comptabilite-et-export-fec-for-woocommerce\/"},"modified":"2026-07-12T10:49:43","modified_gmt":"2026-07-12T10:49:43","slug":"compta-fec-for-woocommerce","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/compta-fec-for-woocommerce\/","author":23531072,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.1.1","stable_tag":"0.1.1","tested":"7.0.1","requires":"6.5","requires_php":"7.4","requires_plugins":null,"header_name":"Comptabilit\u00e9 et Export FEC for WooCommerce","header_author":"Studio Ferreiro","header_description":"Transforme vos commandes WooCommerce en \u00e9critures comptables \u00e9quilibr\u00e9es, exportables en CSV et au format FEC.","assets_banners_color":"5a1515","last_updated":"2026-07-12 10:49:43","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":0,"downloads":31,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"0.1.1":{"tag":"0.1.1","author":"studioferreiro","date":"2026-07-12 10:49:43"}},"upgrade_notice":{"0.1.0":"<p>First public release.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3604655,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3604655,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3604655,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3604655,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3604655,"resolution":"1","location":"assets","locale":"","width":1861,"height":851},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3604655,"resolution":"2","location":"assets","locale":"","width":1492,"height":118},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3604655,"resolution":"3","location":"assets","locale":"","width":1488,"height":293},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3604655,"resolution":"4","location":"assets","locale":"","width":1521,"height":550},"screenshot-5.png":{"filename":"screenshot-5.png","revision":3604655,"resolution":"5","location":"assets","locale":"","width":1458,"height":532}},"screenshots":{"1":"The accounting journal: every order produces a balanced entry, and the journal footer checks that debits equal credits.","2":"The summary: revenue excluding tax, VAT collected, shipping charged and total collected, per account.","3":"History replay: pick an anchor date and replay the orders placed before installation.","4":"The CSV export, opened in a spreadsheet: one row per movement, ready for your accountant.","5":"The FEC export: the 18 mandatory columns of the Fichier des \u00c9critures Comptables."}},"plugin_section":[],"plugin_tags":[2526,2525,13410,45957,19126],"plugin_category":[],"plugin_contributors":[271193],"plugin_business_model":[],"class_list":["post-338900","plugin","type-plugin","status-publish","hentry","plugin_tags-accounting","plugin_tags-bookkeeping","plugin_tags-csv-export","plugin_tags-fec","plugin_tags-vat","plugin_contributors-studioferreiro","plugin_committers-studioferreiro"],"banners":{"banner":"https:\/\/ps.w.org\/compta-fec-for-woocommerce\/assets\/banner-772x250.png?rev=3604655","banner_2x":"https:\/\/ps.w.org\/compta-fec-for-woocommerce\/assets\/banner-1544x500.png?rev=3604655","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/compta-fec-for-woocommerce\/assets\/icon-128x128.png?rev=3604655","icon_2x":"https:\/\/ps.w.org\/compta-fec-for-woocommerce\/assets\/icon-256x256.png?rev=3604655","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/compta-fec-for-woocommerce\/assets\/screenshot-1.png?rev=3604655","caption":"The accounting journal: every order produces a balanced entry, and the journal footer checks that debits equal credits."},{"src":"https:\/\/ps.w.org\/compta-fec-for-woocommerce\/assets\/screenshot-2.png?rev=3604655","caption":"The summary: revenue excluding tax, VAT collected, shipping charged and total collected, per account."},{"src":"https:\/\/ps.w.org\/compta-fec-for-woocommerce\/assets\/screenshot-3.png?rev=3604655","caption":"History replay: pick an anchor date and replay the orders placed before installation."},{"src":"https:\/\/ps.w.org\/compta-fec-for-woocommerce\/assets\/screenshot-4.png?rev=3604655","caption":"The CSV export, opened in a spreadsheet: one row per movement, ready for your accountant."},{"src":"https:\/\/ps.w.org\/compta-fec-for-woocommerce\/assets\/screenshot-5.png?rev=3604655","caption":"The FEC export: the 18 mandatory columns of the Fichier des \u00c9critures Comptables."}],"raw_content":"<!--section=description-->\n<p>Watch the plugin in action (45 seconds, in French):<\/p>\n\n<p>https:\/\/youtu.be\/bMwDPQmEEBQ<\/p>\n\n<p>Is your accountant asking for a file? Your WooCommerce store knows how to sell,\nbut it does not keep an accounting journal. This plugin fills that gap.<\/p>\n\n<p>Every time an order is paid, it automatically writes a balanced accounting entry\nthat follows the French chart of accounts (Plan comptable g\u00e9n\u00e9ral): revenue, VAT\ncollected per rate, shipping charged to the customer, and the payment received.\nYou read the journal from your dashboard, and export it whenever you are asked\nto.<\/p>\n\n<p>This plugin targets French e-commerce: it produces entries for the French chart\nof accounts and an FEC file (Fichier des \u00c9critures Comptables), the ledger export\nthat French tax authorities may request during an audit.<\/p>\n\n<h4>What the plugin does<\/h4>\n\n<ul>\n<li><strong>Automatic entries.<\/strong> A paid order creates an entry. A refund is <strong>reversed<\/strong>\n(contra entry), never deleted: the audit trail stays intact.<\/li>\n<li><strong>Multi-rate VAT.<\/strong> A single order may carry 20%, 10% and 5.5% items. Each rate\ngets its own VAT line. Shipping is posted separately, with its own VAT.<\/li>\n<li><strong>History replay.<\/strong> Installing today but selling for two years? Pick an anchor\ndate and replay your past orders. The operation is idempotent: running it again\nnever creates duplicates.<\/li>\n<li><strong>Readable journal.<\/strong> One screen, one list, a permanent balance check\n(sum of debits = sum of credits) and a summary of balances per account.<\/li>\n<li><strong>CSV export<\/strong> for your spreadsheet or your accountant, and <strong>FEC export<\/strong>\n(18 mandatory columns) for the tax authorities.<\/li>\n<li><strong>HPOS compatible<\/strong> (High-Performance Order Storage), as well as legacy storage.<\/li>\n<\/ul>\n\n<h4>Accounts used<\/h4>\n\n<p>These are the default numbers. There is no settings screen: a developer can\noverride each of them with a filter, for instance <code>comptafec_account_ventes<\/code> to post\nrevenue to <code>706<\/code> instead of <code>707<\/code>.<\/p>\n\n<ul>\n<li><code>411<\/code> Clients \u2014 customer receivable, the pivot of the sale<\/li>\n<li><code>707<\/code> Ventes de marchandises \u2014 revenue, excluding tax<\/li>\n<li><code>44571<\/code> TVA collect\u00e9e \u2014 VAT collected, one line per rate<\/li>\n<li><code>7085<\/code> Ports et frais accessoires factur\u00e9s \u2014 shipping charged<\/li>\n<li><code>5115<\/code> Cartes bancaires \u00e0 l'encaissement \u2014 card payments in transit<\/li>\n<\/ul>\n\n<h4>What the plugin does not do (and why)<\/h4>\n\n<p>We would rather say it before you install.<\/p>\n\n<p>Payments are posted to account <strong>5115<\/strong> (\"card payments in transit\"), not\ndirectly to the bank account (<code>512<\/code>). This is not a shortcut: when a customer\npays by card, the money first sits with the payment provider, which deducts its\nfee and settles the remainder later, often bundling several orders together. The\namount actually credited to your bank account is therefore only known afterwards.<\/p>\n\n<p>The trade-off is deliberate: <strong>your revenue and your VAT are correct<\/strong>, but\naccount <code>5115<\/code> stays open until the provider's payout has been reconciled against\nyour bank statement. That reconciliation, and the recording of provider fees, are\noutside the scope of this free version.<\/p>\n\n<p>The plugin also assumes a store selling in <strong>euros<\/strong>, under <strong>French VAT<\/strong>, to\nconsumers.<\/p>\n\n<h4>Your data<\/h4>\n\n<p>No data leaves your server. The plugin calls no external service. The accounting\nexport aggregates sales on the collective account <code>411 Clients<\/code>: <strong>it contains no\ncustomer name, address or email address<\/strong>.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Install and activate <strong>WooCommerce<\/strong> first.<\/li>\n<li>Upload the plugin to <code>\/wp-content\/plugins\/<\/code>, or install it from\nPlugins \u2192 Add New.<\/li>\n<li>Activate the plugin. The journal tables are created automatically.<\/li>\n<li>Go to <strong>WooCommerce \u2192 Comptabilit\u00e9<\/strong>.<\/li>\n<li>Your next paid orders will generate their entries immediately. For your past\norders, pick an anchor date and click <strong>Rejouer l'historique<\/strong> (Replay history).<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"is%20the%20fec%20file%20compliant%3F\"><h3>Is the FEC file compliant?<\/h3><\/dt>\n<dd><p>The file follows the mandatory 18-column structure defined by French tax law\n(article A. 47 A-1 of the Livre des proc\u00e9dures fiscales): dates as YYYYMMDD,\ndecimal comma, balanced entries. Compliance of a FEC file also depends on the\nconsistency of your bookkeeping as a whole: have it reviewed by your chartered\naccountant before any audit.<\/p><\/dd>\n<dt id=\"what%20happens%20when%20i%20refund%20an%20order%3F\"><h3>What happens when I refund an order?<\/h3><\/dt>\n<dd><p>The plugin records a reversing entry (contra entry), prorated for a partial\nrefund. The original entry is neither modified nor deleted: that is the rule in\naccounting, and it is what makes the journal trustworthy.<\/p><\/dd>\n<dt id=\"can%20i%20safely%20run%20the%20history%20replay%20again%3F\"><h3>Can I safely run the history replay again?<\/h3><\/dt>\n<dd><p>Yes. Every entry is tied to its source order; an order already recorded is\nskipped. A second replay therefore reports zero entries created.<\/p><\/dd>\n<dt id=\"why%20does%20my%205115%20account%20never%20clear%3F\"><h3>Why does my 5115 account never clear?<\/h3><\/dt>\n<dd><p>That is the expected behaviour of the free version. Account <code>5115<\/code> receives the\nmoney collected by your payment provider. It is only cleared when that provider's\ntransfer reaches your bank account \u2014 a reconciliation step that is not included\nhere. See \"What the plugin does not do\".<\/p><\/dd>\n<dt id=\"i%20open%20the%20fec%20file%20in%20excel%20and%20the%20accents%20are%20broken.%20is%20it%20a%20bug%3F\"><h3>I open the FEC file in Excel and the accents are broken. Is it a bug?<\/h3><\/dt>\n<dd><p>No, the file is correct. The FEC is encoded in plain UTF-8, without a byte order\nmark, because it is meant for tax authorities and accounting software, some of\nwhich reject that mark. Excel guesses the encoding and gets it wrong.<\/p>\n\n<p>To read it comfortably: in Excel, use <strong>Data \u2192 From Text<\/strong>, then choose the\n<strong>UTF-8<\/strong> encoding and the <strong>tab<\/strong> separator. The file you hand to your accountant\nneeds no change. The CSV export, designed for spreadsheets, opens directly.<\/p><\/dd>\n<dt id=\"can%20my%20theme%20or%20my%20other%20plugins%20distort%20the%20entries%3F\"><h3>Can my theme or my other plugins distort the entries?<\/h3><\/dt>\n<dd><p>The plugin reads orders through the official WooCommerce API, relying on the\ntotals computed by WooCommerce itself. If your order totals are right, your\nentries are right.<\/p><\/dd>\n<dt id=\"does%20the%20plugin%20handle%20several%20currencies%2C%20intra-eu%20vat%20or%20b2b%3F\"><h3>Does the plugin handle several currencies, intra-EU VAT or B2B?<\/h3><\/dt>\n<dd><p>Not in this version. The store is assumed to sell in euros, under French VAT, to\nconsumers.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.1.0<\/h4>\n\n<ul>\n<li>First release.<\/li>\n<li>Automatic entries on paid orders and refunds (contra entries).<\/li>\n<li>Multi-rate VAT per order line, shipping posted separately.<\/li>\n<li>Idempotent history replay from an anchor date.<\/li>\n<li>Journal, balance check and account summary in the admin.<\/li>\n<li>CSV and FEC exports.<\/li>\n<li>HPOS compatibility declared.<\/li>\n<\/ul>","raw_excerpt":"Turns your WooCommerce orders into balanced accounting entries, exportable as CSV and as a French FEC file.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/338900","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=338900"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/studioferreiro"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=338900"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=338900"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=338900"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=338900"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=338900"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=338900"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}