From 67a74924e9eb62989fafbe2a85daa3413af69247 Mon Sep 17 00:00:00 2001 From: Gabriel Radureau Date: Thu, 13 Aug 2026 21:04:55 +0200 Subject: [PATCH] =?UTF-8?q?feat(erp):=20indemnit=C3=A9=20d'occupation=20ja?= =?UTF-8?q?nv=E2=86=92juil=202026=20=E2=80=94=20paiements=20divers,=20sans?= =?UTF-8?q?=20tiers?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Appliqué en production : 7 écritures, 1 483,23 EUR, compte courant d'associé porté de -429,75 à -1 912,98. Grand livre auxiliaire intact — 12 tiers, 15 factures fournisseur, inchangés. La première approche créait un tiers fournisseur « Radureau Gabriel » et lui adressait 7 factures. C'était faux : le gérant n'est pas un fournisseur de sa société, et lui ouvrir une fiche l'aurait fait apparaître au grand livre auxiliaire, dans les balances âgées et les états de dettes fournisseurs — l'objection exacte déjà opposée à l'URSSAF dans RUNBOOK_charges_sociales.md, que j'ai reproduite en la contredisant. L'existant le disait pourtant : les 8 dettes déjà portées au compte courant sont toutes des factures de fournisseurs RÉELS payées personnellement, le tiers n'étant jamais le gérant. Le modèle correct est direct. Le compte bancaire CCA1 (id 3) porte le numéro comptable 45511 et son propre journal ; un paiement divers en sens débit, code 613000 Locations, produit débit 613000 Locations (la charge) crédit 45511 G. RADUREAU, compte courant (la dette envers l'associé) Correction au passage : le plan comptable EST chargé (358 comptes, dont un 455110 dédié au compte courant du gérant). adc-009 affirme « module comptabilité pas déployé » en confondant trois choses — le plan chargé, l'API REST absente, et le dictionnaire des types de charges sans code comptable. Deux bugs de ma main, trouvés en répétition : - l'idempotence comparait les 24 PREMIERS CARACTÈRES du libellé, or « Indemnité d'occupation — » en fait exactement 24 : mars reconnaissait février et se déclarait déjà enregistré. Six mois silencieusement sautés. On compare désormais le libellé entier, avec tolérance à la troncature « … » de Dolibarr. recordSocialCharge.ts porte le même défaut, latent : ses libellés diffèrent avant le 24e caractère, aujourd'hui seulement. - une boucle shell utilisait `set -- $m`, qui ne découpe pas les mots en zsh : la date devenait « 2026-- ». Le script a correctement refusé d'écrire. /variouspayments répond « API not found » : le pipeline gated, qui parle REST, ne peut pas porter cette opération — comme pour les charges sociales. Le script en garde la discipline (répétition sandbox, relecture par la liste, opt-in production explicite) sans le juge ni l'artefact de gate. Le run gated abandonné est conservé sous fleet/harness/runs/ avec ABANDONNE.md : il documente ce que le harness a vu, et surtout ce qu'il n'a pas vu. Co-Authored-By: Claude Opus 5 (1M context) --- .../03-gate.json | 9 + .../04-applied.json | 5951 +++++++++++++++++ .../ABANDONNE.md | 59 + .../journal.jsonl | 2 + test/recordVariousPayment.ts | 184 + 5 files changed, 6205 insertions(+) create mode 100644 fleet/harness/runs/2026-08-13-indemnite-occupation/03-gate.json create mode 100644 fleet/harness/runs/2026-08-13-indemnite-occupation/04-applied.json create mode 100644 fleet/harness/runs/2026-08-13-indemnite-occupation/ABANDONNE.md create mode 100644 test/recordVariousPayment.ts diff --git a/fleet/harness/runs/2026-08-13-indemnite-occupation/03-gate.json b/fleet/harness/runs/2026-08-13-indemnite-occupation/03-gate.json new file mode 100644 index 0000000..8d3b86d --- /dev/null +++ b/fleet/harness/runs/2026-08-13-indemnite-occupation/03-gate.json @@ -0,0 +1,9 @@ +{ + "at": "2026-08-13T18:47:51+00:00", + "decision": "approved", + "by": "Gabriel Radureau — instruction donnée en session le 2026-08-13 : « Enregistre oui, en lien avec mon compte courant d'associé », puis « il faut enregistrer la dette envers mon compte courant ». Approbation portée par l'agent, non saisie au clavier par l'opérateur.", + "manifest_digest": "db12d6d16e3c5b3d", + "judge_verdict": "BLOCK", + "override_of_judge": true, + "override_of_failed_rehearsal": false +} \ No newline at end of file diff --git a/fleet/harness/runs/2026-08-13-indemnite-occupation/04-applied.json b/fleet/harness/runs/2026-08-13-indemnite-occupation/04-applied.json new file mode 100644 index 0000000..d927426 --- /dev/null +++ b/fleet/harness/runs/2026-08-13-indemnite-occupation/04-applied.json @@ -0,0 +1,5951 @@ +{ + "at": "2026-08-13T18:48:23+00:00", + "target": "https://erp.arcodange.lab", + "approved_by": "Gabriel Radureau — instruction donnée en session le 2026-08-13 : « Enregistre oui, en lien avec mon compte courant d'associé », puis « il faut enregistrer la dette envers mon compte courant ». Approbation portée par l'agent, non saisie au clavier par l'opérateur.", + "manifest_digest": "db12d6d16e3c5b3d", + "results": [ + { + "label": "tiers: Radureau Gabriel (metteur à disposition)", + "method": "POST", + "path": "/thirdparties", + "result": { + "_error": 403, + "_body": "{\n \"error\": {\n \"code\": 403,\n \"message\": \"Forbidden\"\n },\n \"debug\": {\n \"source\": \"api_thirdparties.class.php:308 at call stage\",\n \"stages\": {\n \"success\": [\n \"get\",\n \"route\",\n \"negotiate\",\n \"auth" + }, + "ok": false + } + ], + "observed_after": { + "/thirdparties?limit=200": [ + { + "module": "societe", + "id": "1", + "entity": "1", + "import_key": null, + "array_options": [], + "array_languages": null, + "contacts_ids": null, + "contacts_ids_internal": null, + "linkedObjectsIds": null, + "canvas": null, + "fk_project": null, + "contact_id": null, + "user": null, + "origin_type": null, + "origin_id": null, + "ref": "KissMetrics", + "ref_ext": null, + "statut": null, + "status": "1", + "country_id": "11", + "country_code": "US", + "state_id": "1167", + "region_id": "297", + "barcode_type": null, + "barcode_type_coder": null, + "mode_reglement_id": null, + "cond_reglement_id": null, + "demand_reason_id": null, + "transport_mode_id": null, + "shipping_method_id": null, + "shipping_method": null, + "fk_multicurrency": "0", + "multicurrency_code": "", + "multicurrency_tx": null, + "multicurrency_total_ht": null, + "multicurrency_total_tva": null, + "multicurrency_total_localtax1": null, + "multicurrency_total_localtax2": null, + "multicurrency_total_ttc": null, + "last_main_doc": null, + "fk_account": "0", + "note_public": "Client Arcodange. Delaware corp, CEO Evan Sforzo, COO Hendrik Rootering (contact principal, Slack-first). Contrat cadre à effet du 2026-04-23 (rétro-daté) — SIGNATURE eIDAS EN COURS (set signable SAFE TO SIGN 2026-06-28 ; PR kissmetrics_contract_proposal#1 mergée 2026-07-15). 6 mois actifs (→2026-10-23), différé jusqu'à 2027-01-23, base engagée $33,000. Rémunération : $5 500/mois ($2 500 fixe net 30 + $3 000 différé +3 mois), FACTURÉ EN USD, réglé EUR au taux BCE du jour du paiement (lock 1.1650 supprimé le 2026-06-28). 4 % cash collected sur clients net-new signés dans les 6 mois post-launch (launch ~juil. 2026, date à confirmer), sur les 12 premiers mois de chaque client, payé au fil des encaissements net 30, sans plafond. Capacité ~10 j-h/mois au référentiel 500 €/j, Arcodange organise à sa discrétion. Droit français, T. com. Paris (CCIP-CA), médiation CMAP. Wires possibles via l'affilié Kissmetrics Holdings Inc (Art. 1). W-8BEN-E à déposer chez KM ; US EIN : à collecter (→ idprof1). Repo : arcodange-org/kissmetrics_contract_proposal (main). Darnis Operations = apport d'affaires (10 % an 1, 5 % perpétuel, sur fee standard différé inclus, 4 % exclu).", + "note_private": null, + "actiontypecode": null, + "name": "KissMetrics", + "lastname": null, + "firstname": null, + "civility_id": null, + "civility_code": null, + "date_creation": 1769898064, + "date_validation": null, + "date_modification": 1785012584, + "tms": null, + "date_cloture": null, + "user_author": null, + "user_creation": null, + "user_creation_id": "1", + "user_valid": null, + "user_validation": null, + "user_validation_id": null, + "user_closing_id": null, + "user_modification": null, + "user_modification_id": "3", + "fk_user_creat": null, + "fk_user_modif": null, + "specimen": 0, + "totalpaid": null, + "extraparams": [], + "product": null, + "cond_reglement_supplier_id": null, + "deposit_percent": null, + "retained_warranty_fk_cond_reglement": null, + "warehouse_id": null, + "SupplierCategories": [], + "prefixCustomerIsRequired": null, + "name_alias": "KissMetrics Inc.", + "phone": null, + "phone_mobile": null, + "fax": null, + "email": "evan@kissmetrics.io", + "no_email": null, + "skype": null, + "twitter": null, + "facebook": null, + "linkedin": null, + "url": null, + "barcode": null, + "idprof1": "", + "idprof2": "", + "idprof3": "", + "idprof4": "", + "idprof5": "", + "idprof6": "", + "idprof7": null, + "idprof8": null, + "idprof9": null, + "idprof10": null, + "socialobject": null, + "tva_assuj": "0", + "tva_intra": "", + "vat_reverse_charge": 0, + "localtax1_assuj": "0", + "localtax1_value": "0.0000", + "localtax2_assuj": "0", + "localtax2_value": "0.0000", + "managers": null, + "capital": null, + "typent_id": "3", + "typent_code": "TE_MEDIUM", + "effectif": "1 - 5", + "effectif_id": "1", + "forme_juridique_code": null, + "forme_juridique": "", + "remise_percent": 0, + "remise_supplier_percent": "0", + "mode_reglement_supplier_id": null, + "transport_mode_supplier_id": null, + "fk_prospectlevel": "", + "client": "1", + "prospect": 0, + "fournisseur": "0", + "code_client": "CL0001", + "code_fournisseur": null, + "code_compta_client": "411KISSME", + "accountancy_code_customer_general": null, + "accountancy_code_customer": null, + "code_compta_fournisseur": null, + "accountancy_code_supplier_general": null, + "accountancy_code_supplier": null, + "code_compta_product": null, + "stcomm_id": "0", + "stcomm_picto": null, + "status_prospect_label": "Never contacted", + "price_level": null, + "outstanding_limit": null, + "order_min_amount": null, + "supplier_order_min_amount": null, + "parent": null, + "default_lang": null, + "ip": null, + "webservices_url": null, + "webservices_key": null, + "logo": null, + "logo_small": null, + "logo_mini": null, + "logo_squarred": null, + "logo_squarred_small": null, + "logo_squarred_mini": null, + "accountancy_code_sell": "", + "accountancy_code_buy": "", + "currency_code": null, + "fk_warehouse": null, + "termsofsale": null, + "partnerships": [], + "bank_account": null, + "code_compta": null, + "fk_incoterms": "0", + "label_incoterms": null, + "location_incoterms": null, + "socialnetworks": [], + "address": "2850 34th Street North, 307", + "zip": "33713", + "town": "St. Petersburg" + }, + { + "module": "societe", + "id": "2", + "entity": "1", + "import_key": null, + "array_options": [], + "array_languages": null, + "contacts_ids": null, + "contacts_ids_internal": null, + "linkedObjectsIds": null, + "canvas": null, + "fk_project": null, + "contact_id": null, + "user": null, + "origin_type": null, + "origin_id": null, + "ref": "Wise Europe SA", + "ref_ext": null, + "statut": null, + "status": "1", + "country_id": "2", + "country_code": "BE", + "state_id": null, + "region_id": null, + "barcode_type": null, + "barcode_type_coder": null, + "mode_reglement_id": null, + "cond_reglement_id": null, + "demand_reason_id": null, + "transport_mode_id": null, + "shipping_method_id": null, + "shipping_method": null, + "fk_multicurrency": "0", + "multicurrency_code": "", + "multicurrency_tx": null, + "multicurrency_total_ht": null, + "multicurrency_total_tva": null, + "multicurrency_total_localtax1": null, + "multicurrency_total_localtax2": null, + "multicurrency_total_ttc": null, + "last_main_doc": null, + "fk_account": "0", + "note_public": null, + "note_private": null, + "actiontypecode": null, + "name": "Wise Europe SA", + "lastname": null, + "firstname": null, + "civility_id": null, + "civility_code": null, + "date_creation": 1771931380, + "date_validation": null, + "date_modification": 1771927780, + "tms": null, + "date_cloture": null, + "user_author": null, + "user_creation": null, + "user_creation_id": "2", + "user_valid": null, + "user_validation": null, + "user_validation_id": null, + "user_closing_id": null, + "user_modification": null, + "user_modification_id": "2", + "fk_user_creat": null, + "fk_user_modif": null, + "specimen": 0, + "totalpaid": null, + "extraparams": [], + "product": null, + "cond_reglement_supplier_id": null, + "deposit_percent": null, + "retained_warranty_fk_cond_reglement": null, + "warehouse_id": null, + "SupplierCategories": [], + "prefixCustomerIsRequired": null, + "name_alias": "Wise", + "phone": null, + "phone_mobile": null, + "fax": null, + "email": null, + "no_email": null, + "skype": null, + "twitter": null, + "facebook": null, + "linkedin": null, + "url": "wise.com", + "barcode": null, + "idprof1": "", + "idprof2": "", + "idprof3": "", + "idprof4": "", + "idprof5": "", + "idprof6": "", + "idprof7": null, + "idprof8": null, + "idprof9": null, + "idprof10": null, + "socialobject": null, + "tva_assuj": "0", + "tva_intra": "", + "vat_reverse_charge": 0, + "localtax1_assuj": null, + "localtax1_value": "0.0000", + "localtax2_assuj": null, + "localtax2_value": "0.0000", + "managers": null, + "capital": null, + "typent_id": "0", + "typent_code": null, + "effectif": "", + "effectif_id": null, + "forme_juridique_code": null, + "forme_juridique": "", + "remise_percent": 0, + "remise_supplier_percent": "0", + "mode_reglement_supplier_id": null, + "transport_mode_supplier_id": null, + "fk_prospectlevel": "", + "client": "0", + "prospect": 0, + "fournisseur": "1", + "code_client": null, + "code_fournisseur": "FO0001", + "code_compta_client": null, + "accountancy_code_customer_general": null, + "accountancy_code_customer": null, + "code_compta_fournisseur": "401WISEEU", + "accountancy_code_supplier_general": null, + "accountancy_code_supplier": null, + "code_compta_product": null, + "stcomm_id": "0", + "stcomm_picto": null, + "status_prospect_label": "Never contacted", + "price_level": null, + "outstanding_limit": null, + "order_min_amount": null, + "supplier_order_min_amount": null, + "parent": null, + "default_lang": null, + "ip": null, + "webservices_url": null, + "webservices_key": null, + "logo": null, + "logo_small": null, + "logo_mini": null, + "logo_squarred": null, + "logo_squarred_small": null, + "logo_squarred_mini": null, + "accountancy_code_sell": "", + "accountancy_code_buy": "", + "currency_code": null, + "fk_warehouse": null, + "termsofsale": null, + "partnerships": [], + "bank_account": null, + "code_compta": null, + "fk_incoterms": "0", + "label_incoterms": null, + "location_incoterms": null, + "socialnetworks": [], + "address": "Rue du Trône 100, 3rd floor", + "zip": "1050", + "town": "Brussels" + }, + { + "module": "societe", + "id": "3", + "entity": "1", + "import_key": null, + "array_options": [], + "array_languages": null, + "contacts_ids": null, + "contacts_ids_internal": null, + "linkedObjectsIds": null, + "canvas": null, + "fk_project": null, + "contact_id": null, + "user": null, + "origin_type": null, + "origin_id": null, + "ref": "Greffe du tribunal de commerce Évry", + "ref_ext": null, + "statut": null, + "status": "1", + "country_id": "1", + "country_code": "FR", + "state_id": "394", + "region_id": "109", + "barcode_type": null, + "barcode_type_coder": null, + "mode_reglement_id": null, + "cond_reglement_id": null, + "demand_reason_id": null, + "transport_mode_id": null, + "shipping_method_id": null, + "shipping_method": null, + "fk_multicurrency": "0", + "multicurrency_code": "", + "multicurrency_tx": null, + "multicurrency_total_ht": null, + "multicurrency_total_tva": null, + "multicurrency_total_localtax1": null, + "multicurrency_total_localtax2": null, + "multicurrency_total_ttc": null, + "last_main_doc": null, + "fk_account": "0", + "note_public": null, + "note_private": null, + "actiontypecode": null, + "name": "Greffe du tribunal de commerce Évry", + "lastname": null, + "firstname": null, + "civility_id": null, + "civility_code": null, + "date_creation": 1772104437, + "date_validation": null, + "date_modification": 1772100837, + "tms": null, + "date_cloture": null, + "user_author": null, + "user_creation": null, + "user_creation_id": "2", + "user_valid": null, + "user_validation": null, + "user_validation_id": null, + "user_closing_id": null, + "user_modification": null, + "user_modification_id": "2", + "fk_user_creat": null, + "fk_user_modif": null, + "specimen": 0, + "totalpaid": null, + "extraparams": [], + "product": null, + "cond_reglement_supplier_id": null, + "deposit_percent": null, + "retained_warranty_fk_cond_reglement": null, + "warehouse_id": null, + "SupplierCategories": [], + "prefixCustomerIsRequired": null, + "name_alias": "greffe tc Evry", + "phone": "0169473650", + "phone_mobile": null, + "fax": null, + "email": null, + "no_email": null, + "skype": null, + "twitter": null, + "facebook": null, + "linkedin": null, + "url": "www.greffe-tc-evry.fr", + "barcode": null, + "idprof1": "326467370", + "idprof2": "32646737000028", + "idprof3": "", + "idprof4": "", + "idprof5": "", + "idprof6": "", + "idprof7": null, + "idprof8": null, + "idprof9": null, + "idprof10": null, + "socialobject": null, + "tva_assuj": "1", + "tva_intra": "FR09326467370", + "vat_reverse_charge": 0, + "localtax1_assuj": null, + "localtax1_value": "0.0000", + "localtax2_assuj": null, + "localtax2_value": "0.0000", + "managers": null, + "capital": null, + "typent_id": "5", + "typent_code": "TE_ADMIN", + "effectif": "", + "effectif_id": null, + "forme_juridique_code": "71", + "forme_juridique": "Administration de l état", + "remise_percent": 0, + "remise_supplier_percent": "0", + "mode_reglement_supplier_id": null, + "transport_mode_supplier_id": null, + "fk_prospectlevel": "", + "client": "0", + "prospect": 0, + "fournisseur": "1", + "code_client": null, + "code_fournisseur": "FO0002", + "code_compta_client": null, + "accountancy_code_customer_general": null, + "accountancy_code_customer": null, + "code_compta_fournisseur": "401GREFFE", + "accountancy_code_supplier_general": null, + "accountancy_code_supplier": null, + "code_compta_product": null, + "stcomm_id": "0", + "stcomm_picto": null, + "status_prospect_label": "Never contacted", + "price_level": null, + "outstanding_limit": null, + "order_min_amount": null, + "supplier_order_min_amount": null, + "parent": null, + "default_lang": null, + "ip": null, + "webservices_url": null, + "webservices_key": null, + "logo": null, + "logo_small": null, + "logo_mini": null, + "logo_squarred": null, + "logo_squarred_small": null, + "logo_squarred_mini": null, + "accountancy_code_sell": "", + "accountancy_code_buy": "", + "currency_code": null, + "fk_warehouse": null, + "termsofsale": null, + "partnerships": [], + "bank_account": null, + "code_compta": null, + "fk_incoterms": "0", + "label_incoterms": null, + "location_incoterms": null, + "socialnetworks": [], + "address": "1 rue de la Patinoire", + "zip": "91011 CEDEX", + "town": "EVRY" + }, + { + "module": "societe", + "id": "4", + "entity": "1", + "import_key": null, + "array_options": [], + "array_languages": null, + "contacts_ids": null, + "contacts_ids_internal": null, + "linkedObjectsIds": null, + "canvas": null, + "fk_project": null, + "contact_id": null, + "user": null, + "origin_type": null, + "origin_id": null, + "ref": "YOLAW", + "ref_ext": null, + "statut": null, + "status": "1", + "country_id": "1", + "country_code": "FR", + "state_id": "378", + "region_id": "109", + "barcode_type": null, + "barcode_type_coder": null, + "mode_reglement_id": null, + "cond_reglement_id": null, + "demand_reason_id": null, + "transport_mode_id": null, + "shipping_method_id": null, + "shipping_method": null, + "fk_multicurrency": "0", + "multicurrency_code": "", + "multicurrency_tx": null, + "multicurrency_total_ht": null, + "multicurrency_total_tva": null, + "multicurrency_total_localtax1": null, + "multicurrency_total_localtax2": null, + "multicurrency_total_ttc": null, + "last_main_doc": null, + "fk_account": "0", + "note_public": null, + "note_private": null, + "actiontypecode": null, + "name": "YOLAW", + "lastname": null, + "firstname": null, + "civility_id": null, + "civility_code": null, + "date_creation": 1772113168, + "date_validation": null, + "date_modification": 1772109612, + "tms": null, + "date_cloture": null, + "user_author": null, + "user_creation": null, + "user_creation_id": "2", + "user_valid": null, + "user_validation": null, + "user_validation_id": null, + "user_closing_id": null, + "user_modification": null, + "user_modification_id": "2", + "fk_user_creat": null, + "fk_user_modif": null, + "specimen": 0, + "totalpaid": null, + "extraparams": [], + "product": null, + "cond_reglement_supplier_id": null, + "deposit_percent": null, + "retained_warranty_fk_cond_reglement": null, + "warehouse_id": null, + "SupplierCategories": [], + "prefixCustomerIsRequired": null, + "name_alias": "Legalstart", + "phone": "0176390060", + "phone_mobile": null, + "fax": null, + "email": null, + "no_email": null, + "skype": null, + "twitter": null, + "facebook": null, + "linkedin": null, + "url": null, + "barcode": null, + "idprof1": "753892926", + "idprof2": "75389292600035", + "idprof3": "5829C", + "idprof4": "Paris", + "idprof5": "", + "idprof6": "", + "idprof7": null, + "idprof8": null, + "idprof9": null, + "idprof10": null, + "socialobject": null, + "tva_assuj": "1", + "tva_intra": "FR18753892926", + "vat_reverse_charge": 0, + "localtax1_assuj": null, + "localtax1_value": "0.0000", + "localtax2_assuj": null, + "localtax2_value": "0.0000", + "managers": null, + "capital": "11.05100000", + "typent_id": "0", + "typent_code": null, + "effectif": "", + "effectif_id": null, + "forme_juridique_code": "57", + "forme_juridique": "Société par actions simplifiée (SAS)", + "remise_percent": 0, + "remise_supplier_percent": "0", + "mode_reglement_supplier_id": null, + "transport_mode_supplier_id": null, + "fk_prospectlevel": "", + "client": "0", + "prospect": 0, + "fournisseur": "1", + "code_client": null, + "code_fournisseur": "FO0003", + "code_compta_client": null, + "accountancy_code_customer_general": null, + "accountancy_code_customer": null, + "code_compta_fournisseur": "401YOLAW", + "accountancy_code_supplier_general": null, + "accountancy_code_supplier": null, + "code_compta_product": null, + "stcomm_id": "0", + "stcomm_picto": null, + "status_prospect_label": "Never contacted", + "price_level": null, + "outstanding_limit": null, + "order_min_amount": null, + "supplier_order_min_amount": null, + "parent": null, + "default_lang": null, + "ip": null, + "webservices_url": null, + "webservices_key": null, + "logo": null, + "logo_small": null, + "logo_mini": null, + "logo_squarred": null, + "logo_squarred_small": null, + "logo_squarred_mini": null, + "accountancy_code_sell": "", + "accountancy_code_buy": "", + "currency_code": null, + "fk_warehouse": null, + "termsofsale": null, + "partnerships": [], + "bank_account": null, + "code_compta": null, + "fk_incoterms": "0", + "label_incoterms": null, + "location_incoterms": null, + "socialnetworks": [], + "address": "50 rue d'Hauteville", + "zip": "75010", + "town": "Paris" + }, + { + "module": "societe", + "id": "5", + "entity": "1", + "import_key": null, + "array_options": [], + "array_languages": null, + "contacts_ids": null, + "contacts_ids_internal": null, + "linkedObjectsIds": null, + "canvas": null, + "fk_project": null, + "contact_id": null, + "user": null, + "origin_type": null, + "origin_id": null, + "ref": "Medialex", + "ref_ext": null, + "statut": null, + "status": "1", + "country_id": "1", + "country_code": "FR", + "state_id": "338", + "region_id": "116", + "barcode_type": null, + "barcode_type_coder": null, + "mode_reglement_id": null, + "cond_reglement_id": null, + "demand_reason_id": null, + "transport_mode_id": null, + "shipping_method_id": null, + "shipping_method": null, + "fk_multicurrency": "0", + "multicurrency_code": "", + "multicurrency_tx": null, + "multicurrency_total_ht": null, + "multicurrency_total_tva": null, + "multicurrency_total_localtax1": null, + "multicurrency_total_localtax2": null, + "multicurrency_total_ttc": null, + "last_main_doc": null, + "fk_account": "0", + "note_public": null, + "note_private": null, + "actiontypecode": null, + "name": "Medialex", + "lastname": null, + "firstname": null, + "civility_id": null, + "civility_code": null, + "date_creation": 1772114148, + "date_validation": null, + "date_modification": 1772110548, + "tms": null, + "date_cloture": null, + "user_author": null, + "user_creation": null, + "user_creation_id": "2", + "user_valid": null, + "user_validation": null, + "user_validation_id": null, + "user_closing_id": null, + "user_modification": null, + "user_modification_id": "2", + "fk_user_creat": null, + "fk_user_modif": null, + "specimen": 0, + "totalpaid": null, + "extraparams": [], + "product": null, + "cond_reglement_supplier_id": null, + "deposit_percent": null, + "retained_warranty_fk_cond_reglement": null, + "warehouse_id": null, + "SupplierCategories": [], + "prefixCustomerIsRequired": null, + "name_alias": "20minutes.fr", + "phone": "0299264200", + "phone_mobile": null, + "fax": null, + "email": null, + "no_email": null, + "skype": null, + "twitter": null, + "facebook": null, + "linkedin": null, + "url": null, + "barcode": null, + "idprof1": "353403074", + "idprof2": "", + "idprof3": "7312Z", + "idprof4": "", + "idprof5": "", + "idprof6": "", + "idprof7": null, + "idprof8": null, + "idprof9": null, + "idprof10": null, + "socialobject": null, + "tva_assuj": "1", + "tva_intra": "", + "vat_reverse_charge": 0, + "localtax1_assuj": null, + "localtax1_value": "0.0000", + "localtax2_assuj": null, + "localtax2_value": "0.0000", + "managers": null, + "capital": "480000.00000000", + "typent_id": "0", + "typent_code": null, + "effectif": "", + "effectif_id": null, + "forme_juridique_code": "57", + "forme_juridique": "Société par actions simplifiée (SAS)", + "remise_percent": 0, + "remise_supplier_percent": "0", + "mode_reglement_supplier_id": null, + "transport_mode_supplier_id": null, + "fk_prospectlevel": "", + "client": "0", + "prospect": 0, + "fournisseur": "1", + "code_client": null, + "code_fournisseur": "FO0004", + "code_compta_client": null, + "accountancy_code_customer_general": null, + "accountancy_code_customer": null, + "code_compta_fournisseur": "401MEDIAL", + "accountancy_code_supplier_general": null, + "accountancy_code_supplier": null, + "code_compta_product": null, + "stcomm_id": "0", + "stcomm_picto": null, + "status_prospect_label": "Never contacted", + "price_level": null, + "outstanding_limit": null, + "order_min_amount": null, + "supplier_order_min_amount": null, + "parent": null, + "default_lang": null, + "ip": null, + "webservices_url": null, + "webservices_key": null, + "logo": null, + "logo_small": null, + "logo_mini": null, + "logo_squarred": null, + "logo_squarred_small": null, + "logo_squarred_mini": null, + "accountancy_code_sell": "", + "accountancy_code_buy": "", + "currency_code": null, + "fk_warehouse": null, + "termsofsale": null, + "partnerships": [], + "bank_account": null, + "code_compta": null, + "fk_incoterms": "0", + "label_incoterms": null, + "location_incoterms": null, + "socialnetworks": [], + "address": "10 rue du Breil", + "zip": "35063", + "town": "Rennes" + }, + { + "module": "societe", + "id": "6", + "entity": "1", + "import_key": null, + "array_options": [], + "array_languages": null, + "contacts_ids": null, + "contacts_ids_internal": null, + "linkedObjectsIds": null, + "canvas": null, + "fk_project": null, + "contact_id": null, + "user": null, + "origin_type": null, + "origin_id": null, + "ref": "Qonto", + "ref_ext": null, + "statut": null, + "status": "1", + "country_id": "1", + "country_code": "FR", + "state_id": "378", + "region_id": "109", + "barcode_type": null, + "barcode_type_coder": null, + "mode_reglement_id": null, + "cond_reglement_id": null, + "demand_reason_id": null, + "transport_mode_id": null, + "shipping_method_id": null, + "shipping_method": null, + "fk_multicurrency": "0", + "multicurrency_code": "", + "multicurrency_tx": null, + "multicurrency_total_ht": null, + "multicurrency_total_tva": null, + "multicurrency_total_localtax1": null, + "multicurrency_total_localtax2": null, + "multicurrency_total_ttc": null, + "last_main_doc": null, + "fk_account": "0", + "note_public": null, + "note_private": null, + "actiontypecode": null, + "name": "Qonto", + "lastname": null, + "firstname": null, + "civility_id": null, + "civility_code": null, + "date_creation": 1772118051, + "date_validation": null, + "date_modification": 1772114548, + "tms": null, + "date_cloture": null, + "user_author": null, + "user_creation": null, + "user_creation_id": "2", + "user_valid": null, + "user_validation": null, + "user_validation_id": null, + "user_closing_id": null, + "user_modification": null, + "user_modification_id": "2", + "fk_user_creat": null, + "fk_user_modif": null, + "specimen": 0, + "totalpaid": null, + "extraparams": [], + "product": null, + "cond_reglement_supplier_id": null, + "deposit_percent": null, + "retained_warranty_fk_cond_reglement": null, + "warehouse_id": null, + "SupplierCategories": [], + "prefixCustomerIsRequired": null, + "name_alias": "Qonto", + "phone": null, + "phone_mobile": null, + "fax": null, + "email": "hello@qonto.com", + "no_email": null, + "skype": null, + "twitter": null, + "facebook": null, + "linkedin": null, + "url": null, + "barcode": null, + "idprof1": "819489626", + "idprof2": "", + "idprof3": "", + "idprof4": "", + "idprof5": "", + "idprof6": "", + "idprof7": null, + "idprof8": null, + "idprof9": null, + "idprof10": null, + "socialobject": null, + "tva_assuj": "1", + "tva_intra": "FR10819489626", + "vat_reverse_charge": 0, + "localtax1_assuj": null, + "localtax1_value": "0.0000", + "localtax2_assuj": null, + "localtax2_value": "0.0000", + "managers": null, + "capital": "300488.74000000", + "typent_id": "0", + "typent_code": null, + "effectif": "", + "effectif_id": null, + "forme_juridique_code": null, + "forme_juridique": "", + "remise_percent": 0, + "remise_supplier_percent": "0", + "mode_reglement_supplier_id": null, + "transport_mode_supplier_id": null, + "fk_prospectlevel": "", + "client": "0", + "prospect": 0, + "fournisseur": "1", + "code_client": null, + "code_fournisseur": "FO0005", + "code_compta_client": null, + "accountancy_code_customer_general": null, + "accountancy_code_customer": null, + "code_compta_fournisseur": "401QONTO", + "accountancy_code_supplier_general": null, + "accountancy_code_supplier": null, + "code_compta_product": null, + "stcomm_id": "0", + "stcomm_picto": null, + "status_prospect_label": "Never contacted", + "price_level": null, + "outstanding_limit": null, + "order_min_amount": null, + "supplier_order_min_amount": null, + "parent": null, + "default_lang": null, + "ip": null, + "webservices_url": null, + "webservices_key": null, + "logo": null, + "logo_small": null, + "logo_mini": null, + "logo_squarred": null, + "logo_squarred_small": null, + "logo_squarred_mini": null, + "accountancy_code_sell": "", + "accountancy_code_buy": "", + "currency_code": null, + "fk_warehouse": null, + "termsofsale": null, + "partnerships": [], + "bank_account": null, + "code_compta": null, + "fk_incoterms": "0", + "label_incoterms": null, + "location_incoterms": null, + "socialnetworks": [], + "address": "18 rue de Navarin", + "zip": "75009", + "town": "Paris" + }, + { + "module": "societe", + "id": "7", + "entity": "1", + "import_key": null, + "array_options": [], + "array_languages": null, + "contacts_ids": null, + "contacts_ids_internal": null, + "linkedObjectsIds": null, + "canvas": null, + "fk_project": null, + "contact_id": null, + "user": null, + "origin_type": null, + "origin_id": null, + "ref": "OVH", + "ref_ext": null, + "statut": null, + "status": "1", + "country_id": "1", + "country_code": "FR", + "state_id": "362", + "region_id": "113", + "barcode_type": null, + "barcode_type_coder": null, + "mode_reglement_id": null, + "cond_reglement_id": null, + "demand_reason_id": null, + "transport_mode_id": null, + "shipping_method_id": null, + "shipping_method": null, + "fk_multicurrency": "0", + "multicurrency_code": "", + "multicurrency_tx": null, + "multicurrency_total_ht": null, + "multicurrency_total_tva": null, + "multicurrency_total_localtax1": null, + "multicurrency_total_localtax2": null, + "multicurrency_total_ttc": null, + "last_main_doc": null, + "fk_account": "0", + "note_public": null, + "note_private": null, + "actiontypecode": null, + "name": "OVH", + "lastname": null, + "firstname": null, + "civility_id": null, + "civility_code": null, + "date_creation": 1772118645, + "date_validation": null, + "date_modification": 1772115045, + "tms": null, + "date_cloture": null, + "user_author": null, + "user_creation": null, + "user_creation_id": "2", + "user_valid": null, + "user_validation": null, + "user_validation_id": null, + "user_closing_id": null, + "user_modification": null, + "user_modification_id": "2", + "fk_user_creat": null, + "fk_user_modif": null, + "specimen": 0, + "totalpaid": null, + "extraparams": [], + "product": null, + "cond_reglement_supplier_id": null, + "deposit_percent": null, + "retained_warranty_fk_cond_reglement": null, + "warehouse_id": null, + "SupplierCategories": [], + "prefixCustomerIsRequired": null, + "name_alias": "OVH cloud", + "phone": null, + "phone_mobile": null, + "fax": null, + "email": null, + "no_email": null, + "skype": null, + "twitter": null, + "facebook": null, + "linkedin": null, + "url": "ovh.com", + "barcode": null, + "idprof1": "424761419", + "idprof2": "42476141900045", + "idprof3": "2620Z", + "idprof4": "Lille", + "idprof5": "", + "idprof6": "", + "idprof7": null, + "idprof8": null, + "idprof9": null, + "idprof10": null, + "socialobject": null, + "tva_assuj": "1", + "tva_intra": "FR22424761419", + "vat_reverse_charge": 0, + "localtax1_assuj": null, + "localtax1_value": "0.0000", + "localtax2_assuj": null, + "localtax2_value": "0.0000", + "managers": null, + "capital": "10174560.00000000", + "typent_id": "0", + "typent_code": null, + "effectif": "", + "effectif_id": null, + "forme_juridique_code": "57", + "forme_juridique": "Société par actions simplifiée (SAS)", + "remise_percent": 0, + "remise_supplier_percent": "0", + "mode_reglement_supplier_id": null, + "transport_mode_supplier_id": null, + "fk_prospectlevel": "", + "client": "0", + "prospect": 0, + "fournisseur": "1", + "code_client": null, + "code_fournisseur": "FO0006", + "code_compta_client": null, + "accountancy_code_customer_general": null, + "accountancy_code_customer": null, + "code_compta_fournisseur": "401OVH", + "accountancy_code_supplier_general": null, + "accountancy_code_supplier": null, + "code_compta_product": null, + "stcomm_id": "0", + "stcomm_picto": null, + "status_prospect_label": "Never contacted", + "price_level": null, + "outstanding_limit": null, + "order_min_amount": null, + "supplier_order_min_amount": null, + "parent": null, + "default_lang": null, + "ip": null, + "webservices_url": null, + "webservices_key": null, + "logo": null, + "logo_small": null, + "logo_mini": null, + "logo_squarred": null, + "logo_squarred_small": null, + "logo_squarred_mini": null, + "accountancy_code_sell": "", + "accountancy_code_buy": "", + "currency_code": null, + "fk_warehouse": null, + "termsofsale": null, + "partnerships": [], + "bank_account": null, + "code_compta": null, + "fk_incoterms": "0", + "label_incoterms": null, + "location_incoterms": null, + "socialnetworks": [], + "address": "2 rue kellermann", + "zip": "59053", + "town": "ROUBAIX" + }, + { + "module": "societe", + "id": "8", + "entity": "1", + "import_key": null, + "array_options": [], + "array_languages": null, + "contacts_ids": null, + "contacts_ids_internal": null, + "linkedObjectsIds": null, + "canvas": null, + "fk_project": null, + "contact_id": null, + "user": null, + "origin_type": null, + "origin_id": null, + "ref": "La Poste", + "ref_ext": null, + "statut": null, + "status": "1", + "country_id": "1", + "country_code": "FR", + "state_id": "378", + "region_id": "109", + "barcode_type": null, + "barcode_type_coder": null, + "mode_reglement_id": null, + "cond_reglement_id": null, + "demand_reason_id": null, + "transport_mode_id": null, + "shipping_method_id": null, + "shipping_method": null, + "fk_multicurrency": "0", + "multicurrency_code": "", + "multicurrency_tx": null, + "multicurrency_total_ht": null, + "multicurrency_total_tva": null, + "multicurrency_total_localtax1": null, + "multicurrency_total_localtax2": null, + "multicurrency_total_ttc": null, + "last_main_doc": null, + "fk_account": "0", + "note_public": null, + "note_private": null, + "actiontypecode": null, + "name": "La Poste", + "lastname": null, + "firstname": null, + "civility_id": null, + "civility_code": null, + "date_creation": 1772317957, + "date_validation": null, + "date_modification": 1772314357, + "tms": null, + "date_cloture": null, + "user_author": null, + "user_creation": null, + "user_creation_id": "2", + "user_valid": null, + "user_validation": null, + "user_validation_id": null, + "user_closing_id": null, + "user_modification": null, + "user_modification_id": "2", + "fk_user_creat": null, + "fk_user_modif": null, + "specimen": 0, + "totalpaid": null, + "extraparams": [], + "product": null, + "cond_reglement_supplier_id": null, + "deposit_percent": null, + "retained_warranty_fk_cond_reglement": null, + "warehouse_id": null, + "SupplierCategories": [], + "prefixCustomerIsRequired": null, + "name_alias": "La Poste", + "phone": null, + "phone_mobile": null, + "fax": null, + "email": null, + "no_email": null, + "skype": null, + "twitter": null, + "facebook": null, + "linkedin": null, + "url": null, + "barcode": null, + "idprof1": "356000000", + "idprof2": "35600000000048", + "idprof3": "53.10", + "idprof4": "", + "idprof5": "FR356000000", + "idprof6": "", + "idprof7": null, + "idprof8": null, + "idprof9": null, + "idprof10": null, + "socialobject": null, + "tva_assuj": "1", + "tva_intra": "FR39356000000", + "vat_reverse_charge": 0, + "localtax1_assuj": null, + "localtax1_value": "0.0000", + "localtax2_assuj": null, + "localtax2_value": "0.0000", + "managers": null, + "capital": null, + "typent_id": "5", + "typent_code": "TE_ADMIN", + "effectif": "> 500", + "effectif_id": "6", + "forme_juridique_code": "55", + "forme_juridique": "Société anonyme à conseil d'administration", + "remise_percent": 0, + "remise_supplier_percent": "0", + "mode_reglement_supplier_id": null, + "transport_mode_supplier_id": null, + "fk_prospectlevel": "", + "client": "0", + "prospect": 0, + "fournisseur": "1", + "code_client": null, + "code_fournisseur": "FO0007", + "code_compta_client": null, + "accountancy_code_customer_general": null, + "accountancy_code_customer": null, + "code_compta_fournisseur": "401LAPOST", + "accountancy_code_supplier_general": null, + "accountancy_code_supplier": null, + "code_compta_product": null, + "stcomm_id": "0", + "stcomm_picto": null, + "status_prospect_label": "Never contacted", + "price_level": null, + "outstanding_limit": null, + "order_min_amount": null, + "supplier_order_min_amount": null, + "parent": null, + "default_lang": null, + "ip": null, + "webservices_url": null, + "webservices_key": null, + "logo": null, + "logo_small": null, + "logo_mini": null, + "logo_squarred": null, + "logo_squarred_small": null, + "logo_squarred_mini": null, + "accountancy_code_sell": "", + "accountancy_code_buy": "", + "currency_code": null, + "fk_warehouse": null, + "termsofsale": null, + "partnerships": [], + "bank_account": null, + "code_compta": null, + "fk_incoterms": "0", + "label_incoterms": null, + "location_incoterms": null, + "socialnetworks": [], + "address": "LA POSTE, DIRECTION GENERALE DE LA POSTE 9 RUE DU COLONEL PIERRE AVIA", + "zip": "75015", + "town": "PARIS" + }, + { + "module": "societe", + "id": "9", + "entity": "1", + "import_key": null, + "array_options": [], + "array_languages": null, + "contacts_ids": null, + "contacts_ids_internal": null, + "linkedObjectsIds": null, + "canvas": null, + "fk_project": null, + "contact_id": null, + "user": null, + "origin_type": null, + "origin_id": null, + "ref": "Infogreffe", + "ref_ext": null, + "statut": null, + "status": "1", + "country_id": "1", + "country_code": "FR", + "state_id": "397", + "region_id": "109", + "barcode_type": null, + "barcode_type_coder": null, + "mode_reglement_id": null, + "cond_reglement_id": null, + "demand_reason_id": null, + "transport_mode_id": null, + "shipping_method_id": null, + "shipping_method": null, + "fk_multicurrency": "0", + "multicurrency_code": "", + "multicurrency_tx": null, + "multicurrency_total_ht": null, + "multicurrency_total_tva": null, + "multicurrency_total_localtax1": null, + "multicurrency_total_localtax2": null, + "multicurrency_total_ttc": null, + "last_main_doc": null, + "fk_account": "0", + "note_public": null, + "note_private": null, + "actiontypecode": null, + "name": "Infogreffe", + "lastname": null, + "firstname": null, + "civility_id": null, + "civility_code": null, + "date_creation": 1772469740, + "date_validation": null, + "date_modification": 1772466140, + "tms": null, + "date_cloture": null, + "user_author": null, + "user_creation": null, + "user_creation_id": "2", + "user_valid": null, + "user_validation": null, + "user_validation_id": null, + "user_closing_id": null, + "user_modification": null, + "user_modification_id": "2", + "fk_user_creat": null, + "fk_user_modif": null, + "specimen": 0, + "totalpaid": null, + "extraparams": [], + "product": null, + "cond_reglement_supplier_id": null, + "deposit_percent": null, + "retained_warranty_fk_cond_reglement": null, + "warehouse_id": null, + "SupplierCategories": [], + "prefixCustomerIsRequired": null, + "name_alias": "", + "phone": null, + "phone_mobile": null, + "fax": null, + "email": null, + "no_email": null, + "skype": null, + "twitter": null, + "facebook": null, + "linkedin": null, + "url": null, + "barcode": null, + "idprof1": "338885718", + "idprof2": "", + "idprof3": "", + "idprof4": "", + "idprof5": "", + "idprof6": "", + "idprof7": null, + "idprof8": null, + "idprof9": null, + "idprof10": null, + "socialobject": null, + "tva_assuj": "1", + "tva_intra": "FR69338885718", + "vat_reverse_charge": 0, + "localtax1_assuj": null, + "localtax1_value": "0.0000", + "localtax2_assuj": null, + "localtax2_value": "0.0000", + "managers": null, + "capital": null, + "typent_id": "0", + "typent_code": null, + "effectif": "", + "effectif_id": null, + "forme_juridique_code": null, + "forme_juridique": "", + "remise_percent": 0, + "remise_supplier_percent": "0", + "mode_reglement_supplier_id": null, + "transport_mode_supplier_id": null, + "fk_prospectlevel": "", + "client": "0", + "prospect": 0, + "fournisseur": "1", + "code_client": null, + "code_fournisseur": "FO0008", + "code_compta_client": null, + "accountancy_code_customer_general": null, + "accountancy_code_customer": null, + "code_compta_fournisseur": "401INFOGR", + "accountancy_code_supplier_general": null, + "accountancy_code_supplier": null, + "code_compta_product": null, + "stcomm_id": "0", + "stcomm_picto": null, + "status_prospect_label": "Never contacted", + "price_level": null, + "outstanding_limit": null, + "order_min_amount": null, + "supplier_order_min_amount": null, + "parent": null, + "default_lang": null, + "ip": null, + "webservices_url": null, + "webservices_key": null, + "logo": null, + "logo_small": null, + "logo_mini": null, + "logo_squarred": null, + "logo_squarred_small": null, + "logo_squarred_mini": null, + "accountancy_code_sell": "", + "accountancy_code_buy": "", + "currency_code": null, + "fk_warehouse": null, + "termsofsale": null, + "partnerships": [], + "bank_account": null, + "code_compta": null, + "fk_incoterms": "0", + "label_incoterms": null, + "location_incoterms": null, + "socialnetworks": [], + "address": "Immeuble Le Parisien - 5-7, avenue de Paris", + "zip": "94300", + "town": "Vincennes" + }, + { + "module": "societe", + "id": "10", + "entity": "1", + "import_key": null, + "array_options": [], + "array_languages": null, + "contacts_ids": null, + "contacts_ids_internal": null, + "linkedObjectsIds": null, + "canvas": null, + "fk_project": null, + "contact_id": null, + "user": null, + "origin_type": null, + "origin_id": null, + "ref": "Darnis Operations", + "ref_ext": null, + "statut": null, + "status": "1", + "country_id": "1", + "country_code": "FR", + "state_id": "378", + "region_id": "109", + "barcode_type": null, + "barcode_type_coder": null, + "mode_reglement_id": null, + "cond_reglement_id": null, + "demand_reason_id": null, + "transport_mode_id": null, + "shipping_method_id": null, + "shipping_method": null, + "fk_multicurrency": "0", + "multicurrency_code": "", + "multicurrency_tx": null, + "multicurrency_total_ht": null, + "multicurrency_total_tva": null, + "multicurrency_total_localtax1": null, + "multicurrency_total_localtax2": null, + "multicurrency_total_ttc": null, + "last_main_doc": null, + "fk_account": "1", + "note_public": null, + "note_private": null, + "actiontypecode": null, + "name": "Darnis Operations", + "lastname": null, + "firstname": null, + "civility_id": null, + "civility_code": null, + "date_creation": 1773412204, + "date_validation": null, + "date_modification": 1773410691, + "tms": null, + "date_cloture": null, + "user_author": null, + "user_creation": null, + "user_creation_id": "2", + "user_valid": null, + "user_validation": null, + "user_validation_id": null, + "user_closing_id": null, + "user_modification": null, + "user_modification_id": "2", + "fk_user_creat": null, + "fk_user_modif": null, + "specimen": 0, + "totalpaid": null, + "extraparams": [], + "product": null, + "cond_reglement_supplier_id": "1", + "deposit_percent": null, + "retained_warranty_fk_cond_reglement": null, + "warehouse_id": null, + "SupplierCategories": [], + "prefixCustomerIsRequired": null, + "name_alias": "Clément Darnis", + "phone": null, + "phone_mobile": "+33788106845", + "fax": null, + "email": "cdarnis.pro@gmail.com", + "no_email": null, + "skype": null, + "twitter": null, + "facebook": null, + "linkedin": null, + "url": null, + "barcode": null, + "idprof1": "920267531", + "idprof2": "92026753100019", + "idprof3": "", + "idprof4": "920267531", + "idprof5": "", + "idprof6": "", + "idprof7": null, + "idprof8": null, + "idprof9": null, + "idprof10": null, + "socialobject": null, + "tva_assuj": "1", + "tva_intra": "FR51920267531", + "vat_reverse_charge": 0, + "localtax1_assuj": null, + "localtax1_value": "0.0000", + "localtax2_assuj": null, + "localtax2_value": "0.0000", + "managers": null, + "capital": "1000.00000000", + "typent_id": "0", + "typent_code": null, + "effectif": "", + "effectif_id": null, + "forme_juridique_code": "57", + "forme_juridique": "Société par actions simplifiée (SAS)", + "remise_percent": 0, + "remise_supplier_percent": "0", + "mode_reglement_supplier_id": "2", + "transport_mode_supplier_id": null, + "fk_prospectlevel": "", + "client": "0", + "prospect": 0, + "fournisseur": "1", + "code_client": null, + "code_fournisseur": "FO0009", + "code_compta_client": null, + "accountancy_code_customer_general": null, + "accountancy_code_customer": null, + "code_compta_fournisseur": "401DARNIS", + "accountancy_code_supplier_general": null, + "accountancy_code_supplier": null, + "code_compta_product": null, + "stcomm_id": "0", + "stcomm_picto": null, + "status_prospect_label": "Never contacted", + "price_level": null, + "outstanding_limit": null, + "order_min_amount": null, + "supplier_order_min_amount": null, + "parent": null, + "default_lang": null, + "ip": null, + "webservices_url": null, + "webservices_key": null, + "logo": null, + "logo_small": null, + "logo_mini": null, + "logo_squarred": null, + "logo_squarred_small": null, + "logo_squarred_mini": null, + "accountancy_code_sell": "", + "accountancy_code_buy": "", + "currency_code": null, + "fk_warehouse": null, + "termsofsale": null, + "partnerships": [], + "bank_account": null, + "code_compta": null, + "fk_incoterms": "0", + "label_incoterms": null, + "location_incoterms": null, + "socialnetworks": [], + "address": "14 Rue Bausset", + "zip": "75015", + "town": "Paris" + }, + { + "module": "societe", + "id": "11", + "entity": "1", + "import_key": null, + "array_options": [], + "array_languages": null, + "contacts_ids": null, + "contacts_ids_internal": null, + "linkedObjectsIds": null, + "canvas": null, + "fk_project": null, + "contact_id": null, + "user": null, + "origin_type": null, + "origin_id": null, + "ref": "Anthropic Ireland Limited", + "ref_ext": null, + "statut": null, + "status": "1", + "country_id": null, + "country_code": "", + "state_id": null, + "region_id": null, + "barcode_type": null, + "barcode_type_coder": null, + "mode_reglement_id": null, + "cond_reglement_id": null, + "demand_reason_id": null, + "transport_mode_id": null, + "shipping_method_id": null, + "shipping_method": null, + "fk_multicurrency": "0", + "multicurrency_code": "", + "multicurrency_tx": null, + "multicurrency_total_ht": null, + "multicurrency_total_tva": null, + "multicurrency_total_localtax1": null, + "multicurrency_total_localtax2": null, + "multicurrency_total_ttc": null, + "last_main_doc": null, + "fk_account": "0", + "note_public": null, + "note_private": null, + "actiontypecode": null, + "name": "Anthropic Ireland Limited", + "lastname": null, + "firstname": null, + "civility_id": null, + "civility_code": null, + "date_creation": 1782749474, + "date_validation": null, + "date_modification": 1784128394, + "tms": null, + "date_cloture": null, + "user_author": null, + "user_creation": null, + "user_creation_id": "3", + "user_valid": null, + "user_validation": null, + "user_validation_id": null, + "user_closing_id": null, + "user_modification": null, + "user_modification_id": "3", + "fk_user_creat": null, + "fk_user_modif": null, + "specimen": 0, + "totalpaid": null, + "extraparams": [], + "product": null, + "cond_reglement_supplier_id": null, + "deposit_percent": null, + "retained_warranty_fk_cond_reglement": null, + "warehouse_id": null, + "SupplierCategories": [], + "prefixCustomerIsRequired": null, + "name_alias": "", + "phone": null, + "phone_mobile": null, + "fax": null, + "email": null, + "no_email": null, + "skype": null, + "twitter": null, + "facebook": null, + "linkedin": null, + "url": null, + "barcode": null, + "idprof1": "", + "idprof2": "", + "idprof3": "", + "idprof4": "", + "idprof5": "", + "idprof6": "", + "idprof7": null, + "idprof8": null, + "idprof9": null, + "idprof10": null, + "socialobject": null, + "tva_assuj": "1", + "tva_intra": "", + "vat_reverse_charge": 0, + "localtax1_assuj": "0", + "localtax1_value": "0.0000", + "localtax2_assuj": "0", + "localtax2_value": "0.0000", + "managers": null, + "capital": null, + "typent_id": "0", + "typent_code": null, + "effectif": "", + "effectif_id": null, + "forme_juridique_code": null, + "forme_juridique": "", + "remise_percent": 0, + "remise_supplier_percent": "0", + "mode_reglement_supplier_id": null, + "transport_mode_supplier_id": null, + "fk_prospectlevel": "", + "client": "0", + "prospect": 0, + "fournisseur": "1", + "code_client": null, + "code_fournisseur": "FO0010", + "code_compta_client": null, + "accountancy_code_customer_general": null, + "accountancy_code_customer": null, + "code_compta_fournisseur": "401ANTHRO", + "accountancy_code_supplier_general": null, + "accountancy_code_supplier": null, + "code_compta_product": null, + "stcomm_id": "0", + "stcomm_picto": null, + "status_prospect_label": "Never contacted", + "price_level": null, + "outstanding_limit": null, + "order_min_amount": null, + "supplier_order_min_amount": null, + "parent": null, + "default_lang": null, + "ip": null, + "webservices_url": null, + "webservices_key": null, + "logo": null, + "logo_small": null, + "logo_mini": null, + "logo_squarred": null, + "logo_squarred_small": null, + "logo_squarred_mini": null, + "accountancy_code_sell": "", + "accountancy_code_buy": "", + "currency_code": null, + "fk_warehouse": null, + "termsofsale": null, + "partnerships": [], + "bank_account": null, + "code_compta": null, + "fk_incoterms": "0", + "label_incoterms": null, + "location_incoterms": null, + "socialnetworks": [], + "address": "", + "zip": null, + "town": null + }, + { + "module": "societe", + "id": "12", + "entity": "1", + "import_key": null, + "array_options": [], + "array_languages": null, + "contacts_ids": null, + "contacts_ids_internal": null, + "linkedObjectsIds": null, + "canvas": null, + "fk_project": null, + "contact_id": null, + "user": null, + "origin_type": null, + "origin_id": null, + "ref": "Mistral AI SAS", + "ref_ext": null, + "statut": null, + "status": "1", + "country_id": null, + "country_code": "", + "state_id": null, + "region_id": null, + "barcode_type": null, + "barcode_type_coder": null, + "mode_reglement_id": null, + "cond_reglement_id": null, + "demand_reason_id": null, + "transport_mode_id": null, + "shipping_method_id": null, + "shipping_method": null, + "fk_multicurrency": "0", + "multicurrency_code": "", + "multicurrency_tx": null, + "multicurrency_total_ht": null, + "multicurrency_total_tva": null, + "multicurrency_total_localtax1": null, + "multicurrency_total_localtax2": null, + "multicurrency_total_ttc": null, + "last_main_doc": null, + "fk_account": "0", + "note_public": null, + "note_private": null, + "actiontypecode": null, + "name": "Mistral AI SAS", + "lastname": null, + "firstname": null, + "civility_id": null, + "civility_code": null, + "date_creation": 1782749493, + "date_validation": null, + "date_modification": 1784128395, + "tms": null, + "date_cloture": null, + "user_author": null, + "user_creation": null, + "user_creation_id": "3", + "user_valid": null, + "user_validation": null, + "user_validation_id": null, + "user_closing_id": null, + "user_modification": null, + "user_modification_id": "3", + "fk_user_creat": null, + "fk_user_modif": null, + "specimen": 0, + "totalpaid": null, + "extraparams": [], + "product": null, + "cond_reglement_supplier_id": null, + "deposit_percent": null, + "retained_warranty_fk_cond_reglement": null, + "warehouse_id": null, + "SupplierCategories": [], + "prefixCustomerIsRequired": null, + "name_alias": "", + "phone": null, + "phone_mobile": null, + "fax": null, + "email": null, + "no_email": null, + "skype": null, + "twitter": null, + "facebook": null, + "linkedin": null, + "url": null, + "barcode": null, + "idprof1": "", + "idprof2": "", + "idprof3": "", + "idprof4": "", + "idprof5": "", + "idprof6": "", + "idprof7": null, + "idprof8": null, + "idprof9": null, + "idprof10": null, + "socialobject": null, + "tva_assuj": "1", + "tva_intra": "", + "vat_reverse_charge": 0, + "localtax1_assuj": "0", + "localtax1_value": "0.0000", + "localtax2_assuj": "0", + "localtax2_value": "0.0000", + "managers": null, + "capital": null, + "typent_id": "0", + "typent_code": null, + "effectif": "", + "effectif_id": null, + "forme_juridique_code": null, + "forme_juridique": "", + "remise_percent": 0, + "remise_supplier_percent": "0", + "mode_reglement_supplier_id": null, + "transport_mode_supplier_id": null, + "fk_prospectlevel": "", + "client": "0", + "prospect": 0, + "fournisseur": "1", + "code_client": null, + "code_fournisseur": "FO0011", + "code_compta_client": null, + "accountancy_code_customer_general": null, + "accountancy_code_customer": null, + "code_compta_fournisseur": "401MISTRA", + "accountancy_code_supplier_general": null, + "accountancy_code_supplier": null, + "code_compta_product": null, + "stcomm_id": "0", + "stcomm_picto": null, + "status_prospect_label": "Never contacted", + "price_level": null, + "outstanding_limit": null, + "order_min_amount": null, + "supplier_order_min_amount": null, + "parent": null, + "default_lang": null, + "ip": null, + "webservices_url": null, + "webservices_key": null, + "logo": null, + "logo_small": null, + "logo_mini": null, + "logo_squarred": null, + "logo_squarred_small": null, + "logo_squarred_mini": null, + "accountancy_code_sell": "", + "accountancy_code_buy": "", + "currency_code": null, + "fk_warehouse": null, + "termsofsale": null, + "partnerships": [], + "bank_account": null, + "code_compta": null, + "fk_incoterms": "0", + "label_incoterms": null, + "location_incoterms": null, + "socialnetworks": [], + "address": "", + "zip": null, + "town": null + } + ], + "/supplierinvoices?sortfield=t.rowid&sortorder=DESC&limit=10": [ + { + "module": null, + "id": "30", + "entity": "1", + "import_key": null, + "array_options": [], + "array_languages": null, + "contacts_ids": null, + "contacts_ids_internal": null, + "linkedObjectsIds": null, + "canvas": null, + "fk_project": null, + "contact_id": null, + "user": null, + "origin_type": null, + "origin_id": null, + "ref": "FAF2026014", + "ref_ext": "", + "statut": "1", + "status": "1", + "country_id": null, + "country_code": null, + "state_id": null, + "region_id": null, + "mode_reglement_id": null, + "cond_reglement_id": null, + "demand_reason_id": null, + "transport_mode_id": null, + "shipping_method_id": null, + "shipping_method": null, + "fk_multicurrency": "0", + "multicurrency_code": "EUR", + "multicurrency_tx": "1.00000000", + "multicurrency_total_ht": "218.50000000", + "multicurrency_total_tva": "43.70000000", + "multicurrency_total_localtax1": null, + "multicurrency_total_localtax2": null, + "multicurrency_total_ttc": "262.20000000", + "last_main_doc": null, + "fk_account": null, + "note_public": "Apport d'affaire Arcodange — commission de 10 % sur l'encaissement KissMetrics du 20/07/2026 (2 185,00 € reçus, virement Wise tx 2259306802).\nContrat d'apport d'affaires du 23/01/2026 (CT2601-0001), art. 6 : 10 % du CA HT effectivement encaissé pendant les douze premiers mois suivant la première facturation au client référé ; art. 7 : commission exigible après encaissement effectif.\nLe libellé fournisseur indique « août 2026 » ; le fait générateur est l'encaissement de juillet.", + "note_private": "", + "total_ht": "218.50000000", + "total_tva": "43.70000000", + "total_localtax1": "0.00000000", + "total_localtax2": "0.00000000", + "total_ttc": "262.20000000", + "lines": [ + { + "module": null, + "id": "25", + "entity": null, + "import_key": null, + "array_options": [], + "array_languages": null, + "contacts_ids": null, + "contacts_ids_internal": null, + "linkedObjectsIds": null, + "canvas": null, + "origin_type": null, + "origin_id": null, + "ref": null, + "ref_ext": null, + "statut": null, + "status": null, + "state_id": null, + "region_id": null, + "demand_reason_id": null, + "transport_mode_id": null, + "shipping_method": null, + "multicurrency_tx": null, + "multicurrency_total_ht": "218.50000000", + "multicurrency_total_tva": "43.70000000", + "multicurrency_total_localtax1": null, + "multicurrency_total_localtax2": null, + "multicurrency_total_ttc": "262.20000000", + "last_main_doc": null, + "fk_account": null, + "total_ht": "218.50000000", + "total_tva": "43.70000000", + "total_localtax1": "0.00000000", + "total_localtax2": "0.00000000", + "total_ttc": "262.20000000", + "lines": null, + "actiontypecode": null, + "civility_code": null, + "date_creation": null, + "date_validation": null, + "date_modification": null, + "tms": null, + "date_cloture": null, + "user_author": null, + "user_creation": null, + "user_creation_id": null, + "user_valid": null, + "user_validation": null, + "user_validation_id": null, + "user_closing_id": null, + "user_modification": null, + "user_modification_id": null, + "fk_user_creat": null, + "fk_user_modif": null, + "specimen": 0, + "totalpaid": null, + "extraparams": [], + "product": null, + "cond_reglement_supplier_id": null, + "deposit_percent": null, + "retained_warranty_fk_cond_reglement": null, + "warehouse_id": null, + "parent_element": "facture_fourn", + "fk_parent_attribute": "fk_facture_fourn", + "fk_unit": null, + "date_debut_prevue": null, + "date_debut_reel": null, + "date_fin_prevue": null, + "date_fin_reel": null, + "weight": null, + "weight_units": null, + "length": null, + "length_units": null, + "width": null, + "width_units": null, + "height": null, + "height_units": null, + "surface": null, + "surface_units": null, + "volume": null, + "volume_units": null, + "multilangs": null, + "product_type": "1", + "fk_product": null, + "desc": "Apport d'affaire Arcodange — commission 10 % sur encaissement KM du 20/07/2026", + "description": "Apport d'affaire Arcodange — commission 10 % sur encaissement KM du 20/07/2026", + "product_ref": null, + "product_label": null, + "product_barcode": null, + "product_desc": null, + "fk_product_type": null, + "qty": "1", + "duree": null, + "remise_percent": "0", + "info_bits": "0", + "special_code": "0", + "subprice": "218.50000000", + "subprice_ttc": null, + "tva_tx": "20.0000", + "multicurrency_subprice": "218.50000000", + "multicurrency_subprice_ttc": null, + "ref_supplier": "", + "pu_ht": "218.50000000", + "pu_ttc": "262.20000000", + "fk_facture_fourn": "30", + "label": null, + "date_start": "", + "date_end": "", + "fk_code_ventilation": null, + "situation_percent": null, + "fk_prev_id": null, + "vat_src_code": "", + "localtax1_tx": "0.0000", + "localtax2_tx": "0.0000", + "pa_ht": null, + "fk_remise_except": null, + "fk_parent_line": null, + "rang": "0", + "localtax1_type": "0", + "localtax2_type": "0", + "libelle": null, + "fk_accounting_account": "0" + } + ], + "actiontypecode": null, + "name": null, + "lastname": null, + "firstname": null, + "civility_id": null, + "civility_code": null, + "date_creation": null, + "date_validation": null, + "date_modification": null, + "tms": 1786603552, + "date_cloture": null, + "user_author": null, + "user_creation": null, + "user_creation_id": "5", + "user_valid": null, + "user_validation": null, + "user_validation_id": "5", + "user_closing_id": null, + "user_modification": null, + "user_modification_id": null, + "fk_user_creat": null, + "fk_user_modif": null, + "specimen": 0, + "totalpaid": null, + "extraparams": [], + "product": null, + "cond_reglement_supplier_id": null, + "deposit_percent": null, + "retained_warranty_fk_cond_reglement": null, + "warehouse_id": null, + "title": null, + "type": 0, + "subtype": 0, + "fk_soc": null, + "socid": "10", + "paye": "0", + "date": 1788127200, + "date_lim_reglement": null, + "cond_reglement_code": null, + "cond_reglement_label": null, + "cond_reglement_doc": null, + "mode_reglement_code": null, + "revenuestamp": null, + "totaldeposits": null, + "totalcreditnotes": null, + "sumpayed": null, + "sumpayed_multicurrency": null, + "sumdeposit": null, + "sumdeposit_multicurrency": null, + "sumcreditnote": null, + "sumcreditnote_multicurrency": null, + "remaintopay": null, + "nbofopendirectdebitorcredittransfer": null, + "creditnote_ids": null, + "stripechargedone": null, + "stripechargeerror": null, + "description": null, + "ref_client": null, + "situation_cycle_ref": null, + "close_code": null, + "close_note": null, + "postactionmessages": null, + "fk_incoterms": "0", + "label_incoterms": null, + "location_incoterms": "", + "ref_supplier": "F1048", + "libelle": "", + "label": "", + "fk_statut": "1", + "paid": "0", + "datec": 1786610752, + "date_echeance": 1788127200, + "amount": 0, + "remise": 0, + "tva": null, + "localtax1": null, + "localtax2": null, + "propalid": null, + "vat_reverse_charge": 0, + "fournisseur": null, + "fk_facture_source": null, + "fac_rec": null, + "fk_fac_rec_source": null, + "fk_user_valid": null + }, + { + "module": null, + "id": "29", + "entity": "1", + "import_key": null, + "array_options": [], + "array_languages": null, + "contacts_ids": null, + "contacts_ids_internal": null, + "linkedObjectsIds": null, + "canvas": null, + "fk_project": null, + "contact_id": null, + "user": null, + "origin_type": null, + "origin_id": null, + "ref": "FAF2026013", + "ref_ext": "", + "statut": "2", + "status": "2", + "country_id": null, + "country_code": null, + "state_id": null, + "region_id": null, + "mode_reglement_id": null, + "cond_reglement_id": null, + "demand_reason_id": null, + "transport_mode_id": null, + "shipping_method_id": null, + "shipping_method": null, + "fk_multicurrency": "0", + "multicurrency_code": "EUR", + "multicurrency_tx": "1.00000000", + "multicurrency_total_ht": "214.70000000", + "multicurrency_total_tva": "42.94000000", + "multicurrency_total_localtax1": null, + "multicurrency_total_localtax2": null, + "multicurrency_total_ttc": "257.64000000", + "last_main_doc": null, + "fk_account": null, + "note_public": "", + "note_private": "", + "total_ht": "214.70000000", + "total_tva": "42.94000000", + "total_localtax1": "0.00000000", + "total_localtax2": "0.00000000", + "total_ttc": "257.64000000", + "lines": [ + { + "module": null, + "id": "24", + "entity": null, + "import_key": null, + "array_options": [], + "array_languages": null, + "contacts_ids": null, + "contacts_ids_internal": null, + "linkedObjectsIds": null, + "canvas": null, + "origin_type": null, + "origin_id": null, + "ref": null, + "ref_ext": null, + "statut": null, + "status": null, + "state_id": null, + "region_id": null, + "demand_reason_id": null, + "transport_mode_id": null, + "shipping_method": null, + "multicurrency_tx": null, + "multicurrency_total_ht": "214.70000000", + "multicurrency_total_tva": "42.94000000", + "multicurrency_total_localtax1": null, + "multicurrency_total_localtax2": null, + "multicurrency_total_ttc": "257.64000000", + "last_main_doc": null, + "fk_account": null, + "total_ht": "214.70000000", + "total_tva": "42.94000000", + "total_localtax1": "0.00000000", + "total_localtax2": "0.00000000", + "total_ttc": "257.64000000", + "lines": null, + "actiontypecode": null, + "civility_code": null, + "date_creation": null, + "date_validation": null, + "date_modification": null, + "tms": null, + "date_cloture": null, + "user_author": null, + "user_creation": null, + "user_creation_id": null, + "user_valid": null, + "user_validation": null, + "user_validation_id": null, + "user_closing_id": null, + "user_modification": null, + "user_modification_id": null, + "fk_user_creat": null, + "fk_user_modif": null, + "specimen": 0, + "totalpaid": null, + "extraparams": [], + "product": null, + "cond_reglement_supplier_id": null, + "deposit_percent": null, + "retained_warranty_fk_cond_reglement": null, + "warehouse_id": null, + "parent_element": "facture_fourn", + "fk_parent_attribute": "fk_facture_fourn", + "fk_unit": null, + "date_debut_prevue": null, + "date_debut_reel": null, + "date_fin_prevue": null, + "date_fin_reel": null, + "weight": null, + "weight_units": null, + "length": null, + "length_units": null, + "width": null, + "width_units": null, + "height": null, + "height_units": null, + "surface": null, + "surface_units": null, + "volume": null, + "volume_units": null, + "multilangs": null, + "product_type": "1", + "fk_product": null, + "desc": "Apport d'affaire Arcodange - Projet — juin 2026 (facture Hiway F1045 du 30/06/2026)", + "description": "Apport d'affaire Arcodange - Projet — juin 2026 (facture Hiway F1045 du 30/06/2026)", + "product_ref": null, + "product_label": null, + "product_barcode": null, + "product_desc": null, + "fk_product_type": null, + "qty": "1", + "duree": null, + "remise_percent": "0", + "info_bits": "0", + "special_code": "0", + "subprice": "214.70000000", + "subprice_ttc": null, + "tva_tx": "20.0000", + "multicurrency_subprice": "214.70000000", + "multicurrency_subprice_ttc": null, + "ref_supplier": "", + "pu_ht": "214.70000000", + "pu_ttc": "257.64000000", + "fk_facture_fourn": "29", + "label": null, + "date_start": "", + "date_end": "", + "fk_code_ventilation": null, + "situation_percent": null, + "fk_prev_id": null, + "vat_src_code": "", + "localtax1_tx": "0.0000", + "localtax2_tx": "0.0000", + "pa_ht": null, + "fk_remise_except": null, + "fk_parent_line": null, + "rang": "0", + "localtax1_type": "0", + "localtax2_type": "0", + "libelle": null, + "fk_accounting_account": "0" + } + ], + "actiontypecode": null, + "name": null, + "lastname": null, + "firstname": null, + "civility_id": null, + "civility_code": null, + "date_creation": null, + "date_validation": null, + "date_modification": null, + "tms": 1784128432, + "date_cloture": null, + "user_author": null, + "user_creation": null, + "user_creation_id": "3", + "user_valid": null, + "user_validation": null, + "user_validation_id": "3", + "user_closing_id": null, + "user_modification": null, + "user_modification_id": null, + "fk_user_creat": null, + "fk_user_modif": null, + "specimen": 0, + "totalpaid": null, + "extraparams": [], + "product": null, + "cond_reglement_supplier_id": null, + "deposit_percent": null, + "retained_warranty_fk_cond_reglement": null, + "warehouse_id": null, + "title": null, + "type": 0, + "subtype": 0, + "fk_soc": null, + "socid": "10", + "paye": "1", + "date": 1782770400, + "date_lim_reglement": null, + "cond_reglement_code": null, + "cond_reglement_label": null, + "cond_reglement_doc": null, + "mode_reglement_code": null, + "revenuestamp": null, + "totaldeposits": null, + "totalcreditnotes": null, + "sumpayed": null, + "sumpayed_multicurrency": null, + "sumdeposit": null, + "sumdeposit_multicurrency": null, + "sumcreditnote": null, + "sumcreditnote_multicurrency": null, + "remaintopay": null, + "nbofopendirectdebitorcredittransfer": null, + "creditnote_ids": null, + "stripechargedone": null, + "stripechargeerror": null, + "description": null, + "ref_client": null, + "situation_cycle_ref": null, + "close_code": null, + "close_note": null, + "postactionmessages": null, + "fk_incoterms": "0", + "label_incoterms": null, + "location_incoterms": "", + "ref_supplier": "F1045", + "libelle": "", + "label": "", + "fk_statut": "2", + "paid": "1", + "datec": 1784135632, + "date_echeance": "", + "amount": 0, + "remise": 0, + "tva": null, + "localtax1": null, + "localtax2": null, + "propalid": null, + "vat_reverse_charge": 0, + "fournisseur": null, + "fk_facture_source": null, + "fac_rec": null, + "fk_fac_rec_source": null, + "fk_user_valid": null + }, + { + "module": null, + "id": "15", + "entity": "1", + "import_key": null, + "array_options": [], + "array_languages": null, + "contacts_ids": null, + "contacts_ids_internal": null, + "linkedObjectsIds": null, + "canvas": null, + "fk_project": null, + "contact_id": null, + "user": null, + "origin_type": null, + "origin_id": null, + "ref": "FAF2026012", + "ref_ext": "MSTRL-API-814045-001", + "statut": "2", + "status": "2", + "country_id": null, + "country_code": null, + "state_id": null, + "region_id": null, + "mode_reglement_id": null, + "cond_reglement_id": null, + "demand_reason_id": null, + "transport_mode_id": null, + "shipping_method_id": null, + "shipping_method": null, + "fk_multicurrency": "0", + "multicurrency_code": "EUR", + "multicurrency_tx": "1.00000000", + "multicurrency_total_ht": "0.00000000", + "multicurrency_total_tva": "0.00000000", + "multicurrency_total_localtax1": null, + "multicurrency_total_localtax2": null, + "multicurrency_total_ttc": "0.00000000", + "last_main_doc": null, + "fk_account": null, + "note_public": "", + "note_private": "", + "total_ht": "143.90000000", + "total_tva": "28.78000000", + "total_localtax1": "0.00000000", + "total_localtax2": "0.00000000", + "total_ttc": "172.68000000", + "lines": [ + { + "module": null, + "id": "21", + "entity": null, + "import_key": null, + "array_options": [], + "array_languages": null, + "contacts_ids": null, + "contacts_ids_internal": null, + "linkedObjectsIds": null, + "canvas": null, + "origin_type": null, + "origin_id": null, + "ref": null, + "ref_ext": null, + "statut": null, + "status": null, + "state_id": null, + "region_id": null, + "demand_reason_id": null, + "transport_mode_id": null, + "shipping_method": null, + "multicurrency_tx": null, + "multicurrency_total_ht": "0.00000000", + "multicurrency_total_tva": "0.00000000", + "multicurrency_total_localtax1": null, + "multicurrency_total_localtax2": null, + "multicurrency_total_ttc": "0.00000000", + "last_main_doc": null, + "fk_account": null, + "total_ht": "0.00000000", + "total_tva": "0.00000000", + "total_localtax1": "0.00000000", + "total_localtax2": "0.00000000", + "total_ttc": "0.00000000", + "lines": null, + "actiontypecode": null, + "civility_code": null, + "date_creation": null, + "date_validation": null, + "date_modification": null, + "tms": null, + "date_cloture": null, + "user_author": null, + "user_creation": null, + "user_creation_id": null, + "user_valid": null, + "user_validation": null, + "user_validation_id": null, + "user_closing_id": null, + "user_modification": null, + "user_modification_id": null, + "fk_user_creat": null, + "fk_user_modif": null, + "specimen": 0, + "totalpaid": null, + "extraparams": [], + "product": null, + "cond_reglement_supplier_id": null, + "deposit_percent": null, + "retained_warranty_fk_cond_reglement": null, + "warehouse_id": null, + "parent_element": "facture_fourn", + "fk_parent_attribute": "fk_facture_fourn", + "fk_unit": null, + "date_debut_prevue": null, + "date_debut_reel": null, + "date_fin_prevue": null, + "date_fin_reel": null, + "weight": null, + "weight_units": null, + "length": null, + "length_units": null, + "width": null, + "width_units": null, + "height": null, + "height_units": null, + "surface": null, + "surface_units": null, + "volume": null, + "volume_units": null, + "multilangs": null, + "product_type": "0", + "fk_product": null, + "desc": "", + "description": "", + "product_ref": null, + "product_label": null, + "product_barcode": null, + "product_desc": null, + "fk_product_type": null, + "qty": "0", + "duree": null, + "remise_percent": "0", + "info_bits": "0", + "special_code": "0", + "subprice": "0.00000000", + "subprice_ttc": null, + "tva_tx": "0.0000", + "multicurrency_subprice": "0.00000000", + "multicurrency_subprice_ttc": null, + "ref_supplier": "", + "pu_ht": "0.00000000", + "pu_ttc": "0.00000000", + "fk_facture_fourn": "15", + "label": null, + "date_start": 1775088000, + "date_end": 1806537600, + "fk_code_ventilation": null, + "situation_percent": null, + "fk_prev_id": null, + "vat_src_code": "", + "localtax1_tx": "0.0000", + "localtax2_tx": "0.0000", + "pa_ht": null, + "fk_remise_except": null, + "fk_parent_line": null, + "rang": "0", + "localtax1_type": "0", + "localtax2_type": "0", + "libelle": null, + "fk_accounting_account": "0" + } + ], + "actiontypecode": null, + "name": null, + "lastname": null, + "firstname": null, + "civility_id": null, + "civility_code": null, + "date_creation": null, + "date_validation": null, + "date_modification": null, + "tms": 1784128433, + "date_cloture": null, + "user_author": null, + "user_creation": null, + "user_creation_id": "3", + "user_valid": null, + "user_validation": null, + "user_validation_id": "3", + "user_closing_id": null, + "user_modification": null, + "user_modification_id": null, + "fk_user_creat": null, + "fk_user_modif": null, + "specimen": 0, + "totalpaid": null, + "extraparams": [], + "product": null, + "cond_reglement_supplier_id": null, + "deposit_percent": null, + "retained_warranty_fk_cond_reglement": null, + "warehouse_id": null, + "title": null, + "type": 0, + "subtype": 0, + "fk_soc": null, + "socid": "12", + "paye": "1", + "date": 1775080800, + "date_lim_reglement": null, + "cond_reglement_code": null, + "cond_reglement_label": null, + "cond_reglement_doc": null, + "mode_reglement_code": null, + "revenuestamp": null, + "totaldeposits": null, + "totalcreditnotes": null, + "sumpayed": null, + "sumpayed_multicurrency": null, + "sumdeposit": null, + "sumdeposit_multicurrency": null, + "sumcreditnote": null, + "sumcreditnote_multicurrency": null, + "remaintopay": null, + "nbofopendirectdebitorcredittransfer": null, + "creditnote_ids": null, + "stripechargedone": null, + "stripechargeerror": null, + "description": null, + "ref_client": null, + "situation_cycle_ref": null, + "close_code": null, + "close_note": null, + "postactionmessages": null, + "fk_incoterms": "0", + "label_incoterms": null, + "location_incoterms": "", + "ref_supplier": "MSTRL-API-814045-001", + "libelle": "", + "label": "", + "fk_statut": "2", + "paid": "1", + "datec": 1782749496, + "date_echeance": "", + "amount": 0, + "remise": 0, + "tva": null, + "localtax1": null, + "localtax2": null, + "propalid": null, + "vat_reverse_charge": 0, + "fournisseur": null, + "fk_facture_source": null, + "fac_rec": null, + "fk_fac_rec_source": null, + "fk_user_valid": null + }, + { + "module": null, + "id": "14", + "entity": "1", + "import_key": null, + "array_options": [], + "array_languages": null, + "contacts_ids": null, + "contacts_ids_internal": null, + "linkedObjectsIds": null, + "canvas": null, + "fk_project": null, + "contact_id": null, + "user": null, + "origin_type": null, + "origin_id": null, + "ref": "FAF2026011", + "ref_ext": "IE4276970QH", + "statut": "2", + "status": "2", + "country_id": null, + "country_code": null, + "state_id": null, + "region_id": null, + "mode_reglement_id": null, + "cond_reglement_id": null, + "demand_reason_id": null, + "transport_mode_id": null, + "shipping_method_id": null, + "shipping_method": null, + "fk_multicurrency": "0", + "multicurrency_code": "EUR", + "multicurrency_tx": "1.00000000", + "multicurrency_total_ht": "180.00000000", + "multicurrency_total_tva": "0.00000000", + "multicurrency_total_localtax1": null, + "multicurrency_total_localtax2": null, + "multicurrency_total_ttc": "180.00000000", + "last_main_doc": null, + "fk_account": null, + "note_public": "", + "note_private": "", + "total_ht": "180.00000000", + "total_tva": "0.00000000", + "total_localtax1": "0.00000000", + "total_localtax2": "0.00000000", + "total_ttc": "180.00000000", + "lines": [ + { + "module": null, + "id": "23", + "entity": null, + "import_key": null, + "array_options": [], + "array_languages": null, + "contacts_ids": null, + "contacts_ids_internal": null, + "linkedObjectsIds": null, + "canvas": null, + "origin_type": null, + "origin_id": null, + "ref": null, + "ref_ext": null, + "statut": null, + "status": null, + "state_id": null, + "region_id": null, + "demand_reason_id": null, + "transport_mode_id": null, + "shipping_method": null, + "multicurrency_tx": null, + "multicurrency_total_ht": "180.00000000", + "multicurrency_total_tva": "0.00000000", + "multicurrency_total_localtax1": null, + "multicurrency_total_localtax2": null, + "multicurrency_total_ttc": "180.00000000", + "last_main_doc": null, + "fk_account": null, + "total_ht": "180.00000000", + "total_tva": "0.00000000", + "total_localtax1": "0.00000000", + "total_localtax2": "0.00000000", + "total_ttc": "180.00000000", + "lines": null, + "actiontypecode": null, + "civility_code": null, + "date_creation": null, + "date_validation": null, + "date_modification": null, + "tms": null, + "date_cloture": null, + "user_author": null, + "user_creation": null, + "user_creation_id": null, + "user_valid": null, + "user_validation": null, + "user_validation_id": null, + "user_closing_id": null, + "user_modification": null, + "user_modification_id": null, + "fk_user_creat": null, + "fk_user_modif": null, + "specimen": 0, + "totalpaid": null, + "extraparams": [], + "product": null, + "cond_reglement_supplier_id": null, + "deposit_percent": null, + "retained_warranty_fk_cond_reglement": null, + "warehouse_id": null, + "parent_element": "facture_fourn", + "fk_parent_attribute": "fk_facture_fourn", + "fk_unit": null, + "date_debut_prevue": null, + "date_debut_reel": null, + "date_fin_prevue": null, + "date_fin_reel": null, + "weight": null, + "weight_units": null, + "length": null, + "length_units": null, + "width": null, + "width_units": null, + "height": null, + "height_units": null, + "surface": null, + "surface_units": null, + "volume": null, + "volume_units": null, + "multilangs": null, + "product_type": "1", + "fk_product": null, + "desc": "Claude Pro — abonnement avril 2026 (facture 9BF0758D-695749, autoliquidation UE)", + "description": "Claude Pro — abonnement avril 2026 (facture 9BF0758D-695749, autoliquidation UE)", + "product_ref": null, + "product_label": null, + "product_barcode": null, + "product_desc": null, + "fk_product_type": null, + "qty": "1", + "duree": null, + "remise_percent": "0", + "info_bits": "0", + "special_code": "0", + "subprice": "180.00000000", + "subprice_ttc": null, + "tva_tx": "0.0000", + "multicurrency_subprice": "180.00000000", + "multicurrency_subprice_ttc": null, + "ref_supplier": "", + "pu_ht": "180.00000000", + "pu_ttc": "180.00000000", + "fk_facture_fourn": "14", + "label": null, + "date_start": "", + "date_end": "", + "fk_code_ventilation": null, + "situation_percent": null, + "fk_prev_id": null, + "vat_src_code": "", + "localtax1_tx": "0.0000", + "localtax2_tx": "0.0000", + "pa_ht": null, + "fk_remise_except": null, + "fk_parent_line": null, + "rang": "0", + "localtax1_type": "0", + "localtax2_type": "0", + "libelle": null, + "fk_accounting_account": "0" + } + ], + "actiontypecode": null, + "name": null, + "lastname": null, + "firstname": null, + "civility_id": null, + "civility_code": null, + "date_creation": null, + "date_validation": null, + "date_modification": null, + "tms": 1784128434, + "date_cloture": null, + "user_author": null, + "user_creation": null, + "user_creation_id": "3", + "user_valid": null, + "user_validation": null, + "user_validation_id": "3", + "user_closing_id": null, + "user_modification": null, + "user_modification_id": null, + "fk_user_creat": null, + "fk_user_modif": null, + "specimen": 0, + "totalpaid": null, + "extraparams": [], + "product": null, + "cond_reglement_supplier_id": null, + "deposit_percent": null, + "retained_warranty_fk_cond_reglement": null, + "warehouse_id": null, + "title": null, + "type": 0, + "subtype": 0, + "fk_soc": null, + "socid": "11", + "paye": "1", + "date": 1775944800, + "date_lim_reglement": null, + "cond_reglement_code": null, + "cond_reglement_label": null, + "cond_reglement_doc": null, + "mode_reglement_code": null, + "revenuestamp": null, + "totaldeposits": null, + "totalcreditnotes": null, + "sumpayed": null, + "sumpayed_multicurrency": null, + "sumdeposit": null, + "sumdeposit_multicurrency": null, + "sumcreditnote": null, + "sumcreditnote_multicurrency": null, + "remaintopay": null, + "nbofopendirectdebitorcredittransfer": null, + "creditnote_ids": null, + "stripechargedone": null, + "stripechargeerror": null, + "description": null, + "ref_client": null, + "situation_cycle_ref": null, + "close_code": null, + "close_note": null, + "postactionmessages": null, + "fk_incoterms": "0", + "label_incoterms": null, + "location_incoterms": "", + "ref_supplier": "9BF0758D-695749", + "libelle": "", + "label": "", + "fk_statut": "2", + "paid": "1", + "datec": 1782749490, + "date_echeance": "", + "amount": 0, + "remise": 0, + "tva": null, + "localtax1": null, + "localtax2": null, + "propalid": null, + "vat_reverse_charge": 0, + "fournisseur": null, + "fk_facture_source": null, + "fac_rec": null, + "fk_fac_rec_source": null, + "fk_user_valid": null + }, + { + "module": null, + "id": "12", + "entity": "1", + "import_key": null, + "array_options": [], + "array_languages": null, + "contacts_ids": null, + "contacts_ids_internal": null, + "linkedObjectsIds": null, + "canvas": null, + "fk_project": null, + "contact_id": null, + "user": null, + "origin_type": null, + "origin_id": null, + "ref": "FAF2026010", + "ref_ext": "F1046", + "statut": "2", + "status": "2", + "country_id": null, + "country_code": null, + "state_id": null, + "region_id": null, + "mode_reglement_id": null, + "cond_reglement_id": null, + "demand_reason_id": null, + "transport_mode_id": null, + "shipping_method_id": null, + "shipping_method": null, + "fk_multicurrency": "0", + "multicurrency_code": "EUR", + "multicurrency_tx": "1.00000000", + "multicurrency_total_ht": "219.50000000", + "multicurrency_total_tva": "43.90000000", + "multicurrency_total_localtax1": null, + "multicurrency_total_localtax2": null, + "multicurrency_total_ttc": "263.40000000", + "last_main_doc": null, + "fk_account": null, + "note_public": "", + "note_private": "", + "total_ht": "219.50000000", + "total_tva": "43.90000000", + "total_localtax1": "0.00000000", + "total_localtax2": "0.00000000", + "total_ttc": "263.40000000", + "lines": [ + { + "module": null, + "id": "22", + "entity": null, + "import_key": null, + "array_options": [], + "array_languages": null, + "contacts_ids": null, + "contacts_ids_internal": null, + "linkedObjectsIds": null, + "canvas": null, + "origin_type": null, + "origin_id": null, + "ref": null, + "ref_ext": null, + "statut": null, + "status": null, + "state_id": null, + "region_id": null, + "demand_reason_id": null, + "transport_mode_id": null, + "shipping_method": null, + "multicurrency_tx": null, + "multicurrency_total_ht": "219.50000000", + "multicurrency_total_tva": "43.90000000", + "multicurrency_total_localtax1": null, + "multicurrency_total_localtax2": null, + "multicurrency_total_ttc": "263.40000000", + "last_main_doc": null, + "fk_account": null, + "total_ht": "219.50000000", + "total_tva": "43.90000000", + "total_localtax1": "0.00000000", + "total_localtax2": "0.00000000", + "total_ttc": "263.40000000", + "lines": null, + "actiontypecode": null, + "civility_code": null, + "date_creation": null, + "date_validation": null, + "date_modification": null, + "tms": null, + "date_cloture": null, + "user_author": null, + "user_creation": null, + "user_creation_id": null, + "user_valid": null, + "user_validation": null, + "user_validation_id": null, + "user_closing_id": null, + "user_modification": null, + "user_modification_id": null, + "fk_user_creat": null, + "fk_user_modif": null, + "specimen": 0, + "totalpaid": null, + "extraparams": [], + "product": null, + "cond_reglement_supplier_id": null, + "deposit_percent": null, + "retained_warranty_fk_cond_reglement": null, + "warehouse_id": null, + "parent_element": "facture_fourn", + "fk_parent_attribute": "fk_facture_fourn", + "fk_unit": null, + "date_debut_prevue": null, + "date_debut_reel": null, + "date_fin_prevue": null, + "date_fin_reel": null, + "weight": null, + "weight_units": null, + "length": null, + "length_units": null, + "width": null, + "width_units": null, + "height": null, + "height_units": null, + "surface": null, + "surface_units": null, + "volume": null, + "volume_units": null, + "multilangs": null, + "product_type": "1", + "fk_product": null, + "desc": "Apport d affaire Arcodange - Projet — juin 2026 (Hiway F1046)", + "description": "Apport d affaire Arcodange - Projet — juin 2026 (Hiway F1046)", + "product_ref": null, + "product_label": null, + "product_barcode": null, + "product_desc": null, + "fk_product_type": null, + "qty": "1", + "duree": null, + "remise_percent": "0", + "info_bits": "0", + "special_code": "0", + "subprice": "219.50000000", + "subprice_ttc": null, + "tva_tx": "20.0000", + "multicurrency_subprice": "219.50000000", + "multicurrency_subprice_ttc": null, + "ref_supplier": "", + "pu_ht": "219.50000000", + "pu_ttc": "263.40000000", + "fk_facture_fourn": "12", + "label": null, + "date_start": "", + "date_end": "", + "fk_code_ventilation": null, + "situation_percent": null, + "fk_prev_id": null, + "vat_src_code": "", + "localtax1_tx": "0.0000", + "localtax2_tx": "0.0000", + "pa_ht": null, + "fk_remise_except": null, + "fk_parent_line": null, + "rang": "0", + "localtax1_type": "0", + "localtax2_type": "0", + "libelle": null, + "fk_accounting_account": "0" + } + ], + "actiontypecode": null, + "name": null, + "lastname": null, + "firstname": null, + "civility_id": null, + "civility_code": null, + "date_creation": null, + "date_validation": null, + "date_modification": null, + "tms": 1784128433, + "date_cloture": null, + "user_author": null, + "user_creation": null, + "user_creation_id": "3", + "user_valid": null, + "user_validation": null, + "user_validation_id": "3", + "user_closing_id": null, + "user_modification": null, + "user_modification_id": null, + "fk_user_creat": null, + "fk_user_modif": null, + "specimen": 0, + "totalpaid": null, + "extraparams": [], + "product": null, + "cond_reglement_supplier_id": null, + "deposit_percent": null, + "retained_warranty_fk_cond_reglement": null, + "warehouse_id": null, + "title": null, + "type": 0, + "subtype": 0, + "fk_soc": null, + "socid": "10", + "paye": "1", + "date": 1782684000, + "date_lim_reglement": null, + "cond_reglement_code": null, + "cond_reglement_label": null, + "cond_reglement_doc": null, + "mode_reglement_code": null, + "revenuestamp": null, + "totaldeposits": null, + "totalcreditnotes": null, + "sumpayed": null, + "sumpayed_multicurrency": null, + "sumdeposit": null, + "sumdeposit_multicurrency": null, + "sumcreditnote": null, + "sumcreditnote_multicurrency": null, + "remaintopay": null, + "nbofopendirectdebitorcredittransfer": null, + "creditnote_ids": null, + "stripechargedone": null, + "stripechargeerror": null, + "description": null, + "ref_client": null, + "situation_cycle_ref": null, + "close_code": null, + "close_note": null, + "postactionmessages": null, + "fk_incoterms": "0", + "label_incoterms": null, + "location_incoterms": "", + "ref_supplier": "F1046", + "libelle": "", + "label": "", + "fk_statut": "2", + "paid": "1", + "datec": 1782746820, + "date_echeance": "", + "amount": 0, + "remise": 0, + "tva": null, + "localtax1": null, + "localtax2": null, + "propalid": null, + "vat_reverse_charge": 0, + "fournisseur": null, + "fk_facture_source": null, + "fac_rec": null, + "fk_fac_rec_source": null, + "fk_user_valid": null + }, + { + "module": null, + "id": "11", + "entity": "1", + "import_key": null, + "array_options": [], + "array_languages": null, + "contacts_ids": null, + "contacts_ids_internal": null, + "linkedObjectsIds": null, + "canvas": null, + "fk_project": null, + "contact_id": null, + "user": null, + "origin_type": null, + "origin_id": null, + "ref": "FAF2026009", + "ref_ext": "", + "statut": "2", + "status": "2", + "country_id": null, + "country_code": null, + "state_id": null, + "region_id": null, + "mode_reglement_id": "2", + "cond_reglement_id": "1", + "demand_reason_id": null, + "transport_mode_id": null, + "shipping_method_id": null, + "shipping_method": null, + "fk_multicurrency": "0", + "multicurrency_code": "EUR", + "multicurrency_tx": "1.00000000", + "multicurrency_total_ht": "255.00000000", + "multicurrency_total_tva": "51.00000000", + "multicurrency_total_localtax1": null, + "multicurrency_total_localtax2": null, + "multicurrency_total_ttc": "306.00000000", + "last_main_doc": null, + "fk_account": "1", + "note_public": "", + "note_private": "", + "total_ht": "255.00000000", + "total_tva": "51.00000000", + "total_localtax1": "0.00000000", + "total_localtax2": "0.00000000", + "total_ttc": "306.00000000", + "lines": [ + { + "module": null, + "id": "18", + "entity": null, + "import_key": null, + "array_options": [], + "array_languages": null, + "contacts_ids": null, + "contacts_ids_internal": null, + "linkedObjectsIds": null, + "canvas": null, + "origin_type": null, + "origin_id": null, + "ref": null, + "ref_ext": null, + "statut": null, + "status": null, + "state_id": null, + "region_id": null, + "demand_reason_id": null, + "transport_mode_id": null, + "shipping_method": null, + "multicurrency_tx": null, + "multicurrency_total_ht": "255.00000000", + "multicurrency_total_tva": "51.00000000", + "multicurrency_total_localtax1": null, + "multicurrency_total_localtax2": null, + "multicurrency_total_ttc": "306.00000000", + "last_main_doc": null, + "fk_account": null, + "total_ht": "255.00000000", + "total_tva": "51.00000000", + "total_localtax1": "0.00000000", + "total_localtax2": "0.00000000", + "total_ttc": "306.00000000", + "lines": null, + "actiontypecode": null, + "civility_code": null, + "date_creation": null, + "date_validation": null, + "date_modification": null, + "tms": null, + "date_cloture": null, + "user_author": null, + "user_creation": null, + "user_creation_id": null, + "user_valid": null, + "user_validation": null, + "user_validation_id": null, + "user_closing_id": null, + "user_modification": null, + "user_modification_id": null, + "fk_user_creat": null, + "fk_user_modif": null, + "specimen": 0, + "totalpaid": null, + "extraparams": [], + "product": null, + "cond_reglement_supplier_id": null, + "deposit_percent": null, + "retained_warranty_fk_cond_reglement": null, + "warehouse_id": null, + "parent_element": "facture_fourn", + "fk_parent_attribute": "fk_facture_fourn", + "fk_unit": null, + "date_debut_prevue": null, + "date_debut_reel": null, + "date_fin_prevue": null, + "date_fin_reel": null, + "weight": null, + "weight_units": null, + "length": null, + "length_units": null, + "width": null, + "width_units": null, + "height": null, + "height_units": null, + "surface": null, + "surface_units": null, + "volume": null, + "volume_units": null, + "multilangs": null, + "product_type": "1", + "fk_product": null, + "desc": "Apport d'affaire Arcodange ", + "description": "Apport d'affaire Arcodange ", + "product_ref": null, + "product_label": null, + "product_barcode": null, + "product_desc": null, + "fk_product_type": null, + "qty": "0.5", + "duree": null, + "remise_percent": "0", + "info_bits": "0", + "special_code": "0", + "subprice": "510.00000000", + "subprice_ttc": null, + "tva_tx": "20.0000", + "multicurrency_subprice": "510.00000000", + "multicurrency_subprice_ttc": null, + "ref_supplier": "", + "pu_ht": "510.00000000", + "pu_ttc": "612.00000000", + "fk_facture_fourn": "11", + "label": null, + "date_start": "", + "date_end": "", + "fk_code_ventilation": null, + "situation_percent": null, + "fk_prev_id": null, + "vat_src_code": "", + "localtax1_tx": "0.0000", + "localtax2_tx": "0.0000", + "pa_ht": null, + "fk_remise_except": null, + "fk_parent_line": null, + "rang": "0", + "localtax1_type": "0", + "localtax2_type": "0", + "libelle": null, + "fk_accounting_account": "0" + } + ], + "actiontypecode": null, + "name": null, + "lastname": null, + "firstname": null, + "civility_id": null, + "civility_code": null, + "date_creation": null, + "date_validation": null, + "date_modification": null, + "tms": 1778430994, + "date_cloture": null, + "user_author": null, + "user_creation": null, + "user_creation_id": "1", + "user_valid": null, + "user_validation": null, + "user_validation_id": "1", + "user_closing_id": null, + "user_modification": null, + "user_modification_id": null, + "fk_user_creat": null, + "fk_user_modif": null, + "specimen": 0, + "totalpaid": null, + "extraparams": [], + "product": null, + "cond_reglement_supplier_id": null, + "deposit_percent": null, + "retained_warranty_fk_cond_reglement": null, + "warehouse_id": null, + "title": null, + "type": 0, + "subtype": 0, + "fk_soc": null, + "socid": "10", + "paye": "1", + "date": 1772233200, + "date_lim_reglement": null, + "cond_reglement_code": "RECEP", + "cond_reglement_label": "Due upon receipt", + "cond_reglement_doc": "Due upon receipt", + "mode_reglement_code": "VIR", + "revenuestamp": null, + "totaldeposits": null, + "totalcreditnotes": null, + "sumpayed": null, + "sumpayed_multicurrency": null, + "sumdeposit": null, + "sumdeposit_multicurrency": null, + "sumcreditnote": null, + "sumcreditnote_multicurrency": null, + "remaintopay": null, + "nbofopendirectdebitorcredittransfer": null, + "creditnote_ids": null, + "stripechargedone": null, + "stripechargeerror": null, + "description": null, + "ref_client": null, + "situation_cycle_ref": null, + "close_code": null, + "close_note": null, + "postactionmessages": null, + "fk_incoterms": "0", + "label_incoterms": null, + "location_incoterms": "", + "ref_supplier": "F1042", + "libelle": "Apport d'affaire Arcodange", + "label": "Apport d'affaire Arcodange", + "fk_statut": "2", + "paid": "1", + "datec": 1778419118, + "date_echeance": 1772319600, + "amount": 0, + "remise": 0, + "tva": null, + "localtax1": null, + "localtax2": null, + "propalid": null, + "vat_reverse_charge": 0, + "fournisseur": null, + "fk_facture_source": null, + "fac_rec": null, + "fk_fac_rec_source": null, + "fk_user_valid": null + }, + { + "module": null, + "id": "9", + "entity": "1", + "import_key": null, + "array_options": [], + "array_languages": null, + "contacts_ids": null, + "contacts_ids_internal": null, + "linkedObjectsIds": null, + "canvas": null, + "fk_project": null, + "contact_id": null, + "user": null, + "origin_type": null, + "origin_id": null, + "ref": "FAF2026008", + "ref_ext": "", + "statut": "2", + "status": "2", + "country_id": null, + "country_code": null, + "state_id": null, + "region_id": null, + "mode_reglement_id": "2", + "cond_reglement_id": "1", + "demand_reason_id": null, + "transport_mode_id": null, + "shipping_method_id": null, + "shipping_method": null, + "fk_multicurrency": "0", + "multicurrency_code": "EUR", + "multicurrency_tx": "1.00000000", + "multicurrency_total_ht": "510.00000000", + "multicurrency_total_tva": "102.00000000", + "multicurrency_total_localtax1": null, + "multicurrency_total_localtax2": null, + "multicurrency_total_ttc": "612.00000000", + "last_main_doc": null, + "fk_account": "1", + "note_public": "", + "note_private": "", + "total_ht": "510.00000000", + "total_tva": "102.00000000", + "total_localtax1": "0.00000000", + "total_localtax2": "0.00000000", + "total_ttc": "612.00000000", + "lines": [ + { + "module": null, + "id": "17", + "entity": null, + "import_key": null, + "array_options": [], + "array_languages": null, + "contacts_ids": null, + "contacts_ids_internal": null, + "linkedObjectsIds": null, + "canvas": null, + "origin_type": null, + "origin_id": null, + "ref": null, + "ref_ext": null, + "statut": null, + "status": null, + "state_id": null, + "region_id": null, + "demand_reason_id": null, + "transport_mode_id": null, + "shipping_method": null, + "multicurrency_tx": null, + "multicurrency_total_ht": "510.00000000", + "multicurrency_total_tva": "102.00000000", + "multicurrency_total_localtax1": null, + "multicurrency_total_localtax2": null, + "multicurrency_total_ttc": "612.00000000", + "last_main_doc": null, + "fk_account": null, + "total_ht": "510.00000000", + "total_tva": "102.00000000", + "total_localtax1": "0.00000000", + "total_localtax2": "0.00000000", + "total_ttc": "612.00000000", + "lines": null, + "actiontypecode": null, + "civility_code": null, + "date_creation": null, + "date_validation": null, + "date_modification": null, + "tms": null, + "date_cloture": null, + "user_author": null, + "user_creation": null, + "user_creation_id": null, + "user_valid": null, + "user_validation": null, + "user_validation_id": null, + "user_closing_id": null, + "user_modification": null, + "user_modification_id": null, + "fk_user_creat": null, + "fk_user_modif": null, + "specimen": 0, + "totalpaid": null, + "extraparams": [], + "product": null, + "cond_reglement_supplier_id": null, + "deposit_percent": null, + "retained_warranty_fk_cond_reglement": null, + "warehouse_id": null, + "parent_element": "facture_fourn", + "fk_parent_attribute": "fk_facture_fourn", + "fk_unit": null, + "date_debut_prevue": null, + "date_debut_reel": null, + "date_fin_prevue": null, + "date_fin_reel": null, + "weight": null, + "weight_units": null, + "length": null, + "length_units": null, + "width": null, + "width_units": null, + "height": null, + "height_units": null, + "surface": null, + "surface_units": null, + "volume": null, + "volume_units": null, + "multilangs": null, + "product_type": "1", + "fk_product": null, + "desc": "Apport d'affaire Arcodange ", + "description": "Apport d'affaire Arcodange ", + "product_ref": null, + "product_label": null, + "product_barcode": null, + "product_desc": null, + "fk_product_type": null, + "qty": "1", + "duree": null, + "remise_percent": "0", + "info_bits": "0", + "special_code": "0", + "subprice": "510.00000000", + "subprice_ttc": null, + "tva_tx": "20.0000", + "multicurrency_subprice": "510.00000000", + "multicurrency_subprice_ttc": null, + "ref_supplier": "", + "pu_ht": "510.00000000", + "pu_ttc": "612.00000000", + "fk_facture_fourn": "9", + "label": null, + "date_start": "", + "date_end": "", + "fk_code_ventilation": null, + "situation_percent": null, + "fk_prev_id": null, + "vat_src_code": "", + "localtax1_tx": "0.0000", + "localtax2_tx": "0.0000", + "pa_ht": null, + "fk_remise_except": null, + "fk_parent_line": null, + "rang": "1", + "localtax1_type": "0", + "localtax2_type": "0", + "libelle": null, + "fk_accounting_account": "100100345" + } + ], + "actiontypecode": null, + "name": null, + "lastname": null, + "firstname": null, + "civility_id": null, + "civility_code": null, + "date_creation": null, + "date_validation": null, + "date_modification": null, + "tms": 1773413163, + "date_cloture": null, + "user_author": null, + "user_creation": null, + "user_creation_id": "2", + "user_valid": null, + "user_validation": null, + "user_validation_id": "2", + "user_closing_id": null, + "user_modification": null, + "user_modification_id": null, + "fk_user_creat": null, + "fk_user_modif": null, + "specimen": 0, + "totalpaid": null, + "extraparams": [], + "product": null, + "cond_reglement_supplier_id": null, + "deposit_percent": null, + "retained_warranty_fk_cond_reglement": null, + "warehouse_id": null, + "title": null, + "type": 0, + "subtype": 0, + "fk_soc": null, + "socid": "10", + "paye": "1", + "date": 1772233200, + "date_lim_reglement": null, + "cond_reglement_code": "RECEP", + "cond_reglement_label": "Due upon receipt", + "cond_reglement_doc": "Due upon receipt", + "mode_reglement_code": "VIR", + "revenuestamp": null, + "totaldeposits": null, + "totalcreditnotes": null, + "sumpayed": null, + "sumpayed_multicurrency": null, + "sumdeposit": null, + "sumdeposit_multicurrency": null, + "sumcreditnote": null, + "sumcreditnote_multicurrency": null, + "remaintopay": null, + "nbofopendirectdebitorcredittransfer": null, + "creditnote_ids": null, + "stripechargedone": null, + "stripechargeerror": null, + "description": null, + "ref_client": null, + "situation_cycle_ref": null, + "close_code": null, + "close_note": null, + "postactionmessages": null, + "fk_incoterms": "0", + "label_incoterms": null, + "location_incoterms": "", + "ref_supplier": "F1040", + "libelle": "Apport d'affaire Arcodange", + "label": "Apport d'affaire Arcodange", + "fk_statut": "2", + "paid": "1", + "datec": 1773412273, + "date_echeance": 1772319600, + "amount": 0, + "remise": 0, + "tva": null, + "localtax1": null, + "localtax2": null, + "propalid": null, + "vat_reverse_charge": 0, + "fournisseur": null, + "fk_facture_source": null, + "fac_rec": null, + "fk_fac_rec_source": null, + "fk_user_valid": null + }, + { + "module": null, + "id": "8", + "entity": "1", + "import_key": null, + "array_options": [], + "array_languages": null, + "contacts_ids": null, + "contacts_ids_internal": null, + "linkedObjectsIds": null, + "canvas": null, + "fk_project": null, + "contact_id": null, + "user": null, + "origin_type": null, + "origin_id": null, + "ref": "FAF2026007", + "ref_ext": "", + "statut": "2", + "status": "2", + "country_id": null, + "country_code": null, + "state_id": null, + "region_id": null, + "mode_reglement_id": "6", + "cond_reglement_id": "1", + "demand_reason_id": null, + "transport_mode_id": null, + "shipping_method_id": null, + "shipping_method": null, + "fk_multicurrency": "0", + "multicurrency_code": "EUR", + "multicurrency_tx": "1.00000000", + "multicurrency_total_ht": "2.67000000", + "multicurrency_total_tva": "0.53000000", + "multicurrency_total_localtax1": null, + "multicurrency_total_localtax2": null, + "multicurrency_total_ttc": "3.20000000", + "last_main_doc": null, + "fk_account": "3", + "note_public": "", + "note_private": "", + "total_ht": "2.67000000", + "total_tva": "0.53000000", + "total_localtax1": "0.00000000", + "total_localtax2": "0.00000000", + "total_ttc": "3.20000000", + "lines": [ + { + "module": null, + "id": "15", + "entity": null, + "import_key": null, + "array_options": [], + "array_languages": null, + "contacts_ids": null, + "contacts_ids_internal": null, + "linkedObjectsIds": null, + "canvas": null, + "origin_type": null, + "origin_id": null, + "ref": null, + "ref_ext": null, + "statut": null, + "status": null, + "state_id": null, + "region_id": null, + "demand_reason_id": null, + "transport_mode_id": null, + "shipping_method": null, + "multicurrency_tx": null, + "multicurrency_total_ht": "2.67000000", + "multicurrency_total_tva": "0.53000000", + "multicurrency_total_localtax1": null, + "multicurrency_total_localtax2": null, + "multicurrency_total_ttc": "3.20000000", + "last_main_doc": null, + "fk_account": null, + "total_ht": "2.67000000", + "total_tva": "0.53000000", + "total_localtax1": "0.00000000", + "total_localtax2": "0.00000000", + "total_ttc": "3.20000000", + "lines": null, + "actiontypecode": null, + "civility_code": null, + "date_creation": null, + "date_validation": null, + "date_modification": null, + "tms": null, + "date_cloture": null, + "user_author": null, + "user_creation": null, + "user_creation_id": null, + "user_valid": null, + "user_validation": null, + "user_validation_id": null, + "user_closing_id": null, + "user_modification": null, + "user_modification_id": null, + "fk_user_creat": null, + "fk_user_modif": null, + "specimen": 0, + "totalpaid": null, + "extraparams": [], + "product": null, + "cond_reglement_supplier_id": null, + "deposit_percent": null, + "retained_warranty_fk_cond_reglement": null, + "warehouse_id": null, + "parent_element": "facture_fourn", + "fk_parent_attribute": "fk_facture_fourn", + "fk_unit": null, + "date_debut_prevue": null, + "date_debut_reel": null, + "date_fin_prevue": null, + "date_fin_reel": null, + "weight": null, + "weight_units": null, + "length": null, + "length_units": null, + "width": null, + "width_units": null, + "height": null, + "height_units": null, + "surface": null, + "surface_units": null, + "volume": null, + "volume_units": null, + "multilangs": null, + "product_type": "1", + "fk_product": null, + "desc": "Extrait KBIS et frais d'emission
\r\nFormat electronique", + "description": "Extrait KBIS et frais d'emission
\r\nFormat electronique", + "product_ref": null, + "product_label": null, + "product_barcode": null, + "product_desc": null, + "fk_product_type": null, + "qty": "1", + "duree": null, + "remise_percent": "0", + "info_bits": "0", + "special_code": "0", + "subprice": "2.67000000", + "subprice_ttc": null, + "tva_tx": "20.0000", + "multicurrency_subprice": "2.67000000", + "multicurrency_subprice_ttc": null, + "ref_supplier": "", + "pu_ht": "2.67000000", + "pu_ttc": "3.20400000", + "fk_facture_fourn": "8", + "label": null, + "date_start": "", + "date_end": "", + "fk_code_ventilation": null, + "situation_percent": null, + "fk_prev_id": null, + "vat_src_code": "", + "localtax1_tx": "0.0000", + "localtax2_tx": "0.0000", + "pa_ht": null, + "fk_remise_except": null, + "fk_parent_line": null, + "rang": "1", + "localtax1_type": "0", + "localtax2_type": "0", + "libelle": null, + "fk_accounting_account": "100100355" + } + ], + "actiontypecode": null, + "name": null, + "lastname": null, + "firstname": null, + "civility_id": null, + "civility_code": null, + "date_creation": null, + "date_validation": null, + "date_modification": null, + "tms": 1772466462, + "date_cloture": null, + "user_author": null, + "user_creation": null, + "user_creation_id": "2", + "user_valid": null, + "user_validation": null, + "user_validation_id": "2", + "user_closing_id": null, + "user_modification": null, + "user_modification_id": null, + "fk_user_creat": null, + "fk_user_modif": null, + "specimen": 0, + "totalpaid": null, + "extraparams": [], + "product": null, + "cond_reglement_supplier_id": null, + "deposit_percent": null, + "retained_warranty_fk_cond_reglement": null, + "warehouse_id": null, + "title": null, + "type": 0, + "subtype": 0, + "fk_soc": null, + "socid": "9", + "paye": "1", + "date": 1768604400, + "date_lim_reglement": null, + "cond_reglement_code": "RECEP", + "cond_reglement_label": "Due upon receipt", + "cond_reglement_doc": "Due upon receipt", + "mode_reglement_code": "CB", + "revenuestamp": null, + "totaldeposits": null, + "totalcreditnotes": null, + "sumpayed": null, + "sumpayed_multicurrency": null, + "sumdeposit": null, + "sumdeposit_multicurrency": null, + "sumcreditnote": null, + "sumcreditnote_multicurrency": null, + "remaintopay": null, + "nbofopendirectdebitorcredittransfer": null, + "creditnote_ids": null, + "stripechargedone": null, + "stripechargeerror": null, + "description": null, + "ref_client": null, + "situation_cycle_ref": null, + "close_code": null, + "close_note": null, + "postactionmessages": null, + "fk_incoterms": "0", + "label_incoterms": null, + "location_incoterms": "", + "ref_supplier": "60117-ZMHMT", + "libelle": "Extrait KBIS format electronique", + "label": "Extrait KBIS format electronique", + "fk_statut": "2", + "paid": "1", + "datec": 1772469809, + "date_echeance": 1768690800, + "amount": 0, + "remise": 0, + "tva": null, + "localtax1": null, + "localtax2": null, + "propalid": null, + "vat_reverse_charge": 0, + "fournisseur": null, + "fk_facture_source": null, + "fac_rec": null, + "fk_fac_rec_source": null, + "fk_user_valid": null + }, + { + "module": null, + "id": "7", + "entity": "1", + "import_key": null, + "array_options": [], + "array_languages": null, + "contacts_ids": null, + "contacts_ids_internal": null, + "linkedObjectsIds": null, + "canvas": null, + "fk_project": null, + "contact_id": null, + "user": null, + "origin_type": null, + "origin_id": null, + "ref": "FAF2026006", + "ref_ext": "", + "statut": "2", + "status": "2", + "country_id": null, + "country_code": null, + "state_id": null, + "region_id": null, + "mode_reglement_id": "6", + "cond_reglement_id": "1", + "demand_reason_id": null, + "transport_mode_id": null, + "shipping_method_id": null, + "shipping_method": null, + "fk_multicurrency": "0", + "multicurrency_code": "EUR", + "multicurrency_tx": "1.00000000", + "multicurrency_total_ht": "8.43000000", + "multicurrency_total_tva": "0.00000000", + "multicurrency_total_localtax1": null, + "multicurrency_total_localtax2": null, + "multicurrency_total_ttc": "8.43000000", + "last_main_doc": null, + "fk_account": "3", + "note_public": "Lettre recommandée adressée à ADVANCE gestion pour déclarer l'utilisation pro d'une partie du domicile.\r\n\r\nexoneree tva\r\nhttps://www.legifrance.gouv.fr/codes/article_lc/LEGIARTI000045765308/2022-05-07", + "note_private": "", + "total_ht": "8.43000000", + "total_tva": "0.00000000", + "total_localtax1": "0.00000000", + "total_localtax2": "0.00000000", + "total_ttc": "8.43000000", + "lines": [ + { + "module": null, + "id": "14", + "entity": null, + "import_key": null, + "array_options": [], + "array_languages": null, + "contacts_ids": null, + "contacts_ids_internal": null, + "linkedObjectsIds": null, + "canvas": null, + "origin_type": null, + "origin_id": null, + "ref": null, + "ref_ext": null, + "statut": null, + "status": null, + "state_id": null, + "region_id": null, + "demand_reason_id": null, + "transport_mode_id": null, + "shipping_method": null, + "multicurrency_tx": null, + "multicurrency_total_ht": "8.43000000", + "multicurrency_total_tva": "0.00000000", + "multicurrency_total_localtax1": null, + "multicurrency_total_localtax2": null, + "multicurrency_total_ttc": "8.43000000", + "last_main_doc": null, + "fk_account": null, + "total_ht": "8.43000000", + "total_tva": "0.00000000", + "total_localtax1": "0.00000000", + "total_localtax2": "0.00000000", + "total_ttc": "8.43000000", + "lines": null, + "actiontypecode": null, + "civility_code": null, + "date_creation": null, + "date_validation": null, + "date_modification": null, + "tms": null, + "date_cloture": null, + "user_author": null, + "user_creation": null, + "user_creation_id": null, + "user_valid": null, + "user_validation": null, + "user_validation_id": null, + "user_closing_id": null, + "user_modification": null, + "user_modification_id": null, + "fk_user_creat": null, + "fk_user_modif": null, + "specimen": 0, + "totalpaid": null, + "extraparams": [], + "product": null, + "cond_reglement_supplier_id": null, + "deposit_percent": null, + "retained_warranty_fk_cond_reglement": null, + "warehouse_id": null, + "parent_element": "facture_fourn", + "fk_parent_attribute": "fk_facture_fourn", + "fk_unit": null, + "date_debut_prevue": null, + "date_debut_reel": null, + "date_fin_prevue": null, + "date_fin_reel": null, + "weight": null, + "weight_units": null, + "length": null, + "length_units": null, + "width": null, + "width_units": null, + "height": null, + "height_units": null, + "surface": null, + "surface_units": null, + "volume": null, + "volume_units": null, + "multilangs": null, + "product_type": "1", + "fk_product": null, + "desc": "Lettre recommandée: 22 g
\r\nExonération de TVA, article 261-4-1° du CGI", + "description": "Lettre recommandée: 22 g
\r\nExonération de TVA, article 261-4-1° du CGI", + "product_ref": null, + "product_label": null, + "product_barcode": null, + "product_desc": null, + "fk_product_type": null, + "qty": "1", + "duree": null, + "remise_percent": "0", + "info_bits": "0", + "special_code": "0", + "subprice": "8.43000000", + "subprice_ttc": null, + "tva_tx": "0.0000", + "multicurrency_subprice": "8.43000000", + "multicurrency_subprice_ttc": null, + "ref_supplier": "", + "pu_ht": "8.43000000", + "pu_ttc": "8.43000000", + "fk_facture_fourn": "7", + "label": null, + "date_start": "", + "date_end": "", + "fk_code_ventilation": null, + "situation_percent": null, + "fk_prev_id": null, + "vat_src_code": "", + "localtax1_tx": "0.0000", + "localtax2_tx": "0.0000", + "pa_ht": null, + "fk_remise_except": null, + "fk_parent_line": null, + "rang": "1", + "localtax1_type": "0", + "localtax2_type": "0", + "libelle": null, + "fk_accounting_account": "100100348" + } + ], + "actiontypecode": null, + "name": null, + "lastname": null, + "firstname": null, + "civility_id": null, + "civility_code": null, + "date_creation": null, + "date_validation": null, + "date_modification": null, + "tms": 1772466027, + "date_cloture": null, + "user_author": null, + "user_creation": null, + "user_creation_id": "2", + "user_valid": null, + "user_validation": null, + "user_validation_id": "2", + "user_closing_id": null, + "user_modification": null, + "user_modification_id": null, + "fk_user_creat": null, + "fk_user_modif": null, + "specimen": 0, + "totalpaid": null, + "extraparams": [], + "product": null, + "cond_reglement_supplier_id": null, + "deposit_percent": null, + "retained_warranty_fk_cond_reglement": null, + "warehouse_id": null, + "title": null, + "type": 0, + "subtype": 0, + "fk_soc": null, + "socid": "8", + "paye": "1", + "date": 1768172400, + "date_lim_reglement": null, + "cond_reglement_code": "RECEP", + "cond_reglement_label": "Due upon receipt", + "cond_reglement_doc": "Due upon receipt", + "mode_reglement_code": "CB", + "revenuestamp": null, + "totaldeposits": null, + "totalcreditnotes": null, + "sumpayed": null, + "sumpayed_multicurrency": null, + "sumdeposit": null, + "sumdeposit_multicurrency": null, + "sumcreditnote": null, + "sumcreditnote_multicurrency": null, + "remaintopay": null, + "nbofopendirectdebitorcredittransfer": null, + "creditnote_ids": null, + "stripechargedone": null, + "stripechargeerror": null, + "description": null, + "ref_client": null, + "situation_cycle_ref": null, + "close_code": null, + "close_note": null, + "postactionmessages": null, + "fk_incoterms": "0", + "label_incoterms": null, + "location_incoterms": "", + "ref_supplier": "210000003184C", + "libelle": "LETTRE RECOMMANDEE", + "label": "LETTRE RECOMMANDEE", + "fk_statut": "2", + "paid": "1", + "datec": 1772466364, + "date_echeance": 1768258800, + "amount": 0, + "remise": 0, + "tva": null, + "localtax1": null, + "localtax2": null, + "propalid": null, + "vat_reverse_charge": 0, + "fournisseur": null, + "fk_facture_source": null, + "fac_rec": null, + "fk_fac_rec_source": null, + "fk_user_valid": null + }, + { + "module": null, + "id": "6", + "entity": "1", + "import_key": null, + "array_options": [], + "array_languages": null, + "contacts_ids": null, + "contacts_ids_internal": null, + "linkedObjectsIds": null, + "canvas": null, + "fk_project": null, + "contact_id": null, + "user": null, + "origin_type": null, + "origin_id": null, + "ref": "FAF2025001", + "ref_ext": "", + "statut": "2", + "status": "2", + "country_id": null, + "country_code": null, + "state_id": null, + "region_id": null, + "mode_reglement_id": "6", + "cond_reglement_id": "1", + "demand_reason_id": null, + "transport_mode_id": null, + "shipping_method_id": null, + "shipping_method": null, + "fk_multicurrency": "0", + "multicurrency_code": "EUR", + "multicurrency_tx": "1.00000000", + "multicurrency_total_ht": "6.08000000", + "multicurrency_total_tva": "1.22000000", + "multicurrency_total_localtax1": null, + "multicurrency_total_localtax2": null, + "multicurrency_total_ttc": "7.30000000", + "last_main_doc": null, + "fk_account": "3", + "note_public": "", + "note_private": "", + "total_ht": "6.08000000", + "total_tva": "1.22000000", + "total_localtax1": "0.00000000", + "total_localtax2": "0.00000000", + "total_ttc": "7.30000000", + "lines": [ + { + "module": null, + "id": "11", + "entity": null, + "import_key": null, + "array_options": [], + "array_languages": null, + "contacts_ids": null, + "contacts_ids_internal": null, + "linkedObjectsIds": null, + "canvas": null, + "origin_type": null, + "origin_id": null, + "ref": null, + "ref_ext": null, + "statut": null, + "status": null, + "state_id": null, + "region_id": null, + "demand_reason_id": null, + "transport_mode_id": null, + "shipping_method": null, + "multicurrency_tx": null, + "multicurrency_total_ht": "4.99000000", + "multicurrency_total_tva": "1.00000000", + "multicurrency_total_localtax1": null, + "multicurrency_total_localtax2": null, + "multicurrency_total_ttc": "5.99000000", + "last_main_doc": null, + "fk_account": null, + "total_ht": "4.99000000", + "total_tva": "1.00000000", + "total_localtax1": "0.00000000", + "total_localtax2": "0.00000000", + "total_ttc": "5.99000000", + "lines": null, + "actiontypecode": null, + "civility_code": null, + "date_creation": null, + "date_validation": null, + "date_modification": null, + "tms": null, + "date_cloture": null, + "user_author": null, + "user_creation": null, + "user_creation_id": null, + "user_valid": null, + "user_validation": null, + "user_validation_id": null, + "user_closing_id": null, + "user_modification": null, + "user_modification_id": null, + "fk_user_creat": null, + "fk_user_modif": null, + "specimen": 0, + "totalpaid": null, + "extraparams": [], + "product": null, + "cond_reglement_supplier_id": null, + "deposit_percent": null, + "retained_warranty_fk_cond_reglement": null, + "warehouse_id": null, + "parent_element": "facture_fourn", + "fk_parent_attribute": "fk_facture_fourn", + "fk_unit": null, + "date_debut_prevue": null, + "date_debut_reel": null, + "date_fin_prevue": null, + "date_fin_reel": null, + "weight": null, + "weight_units": null, + "length": null, + "length_units": null, + "width": null, + "width_units": null, + "height": null, + "height_units": null, + "surface": null, + "surface_units": null, + "volume": null, + "volume_units": null, + "multilangs": null, + "product_type": "1", + "fk_product": null, + "desc": "arcodange.fr - .fr demande d'enregistrement - from 24/10/2025
\r\nto 24/10/2026
\r\n(24/10/2025-23/10/2026)
\r\nSans engagement", + "description": "arcodange.fr - .fr demande d'enregistrement - from 24/10/2025
\r\nto 24/10/2026
\r\n(24/10/2025-23/10/2026)
\r\nSans engagement", + "product_ref": null, + "product_label": null, + "product_barcode": null, + "product_desc": null, + "fk_product_type": null, + "qty": "1", + "duree": null, + "remise_percent": "0", + "info_bits": "0", + "special_code": "0", + "subprice": "4.99000000", + "subprice_ttc": null, + "tva_tx": "20.0000", + "multicurrency_subprice": "4.99000000", + "multicurrency_subprice_ttc": null, + "ref_supplier": "arcodange.fr", + "pu_ht": "4.99000000", + "pu_ttc": "5.99000000", + "fk_facture_fourn": "6", + "label": null, + "date_start": "", + "date_end": "", + "fk_code_ventilation": null, + "situation_percent": null, + "fk_prev_id": null, + "vat_src_code": "", + "localtax1_tx": "0.0000", + "localtax2_tx": "0.0000", + "pa_ht": null, + "fk_remise_except": null, + "fk_parent_line": null, + "rang": "1", + "localtax1_type": "0", + "localtax2_type": "0", + "libelle": null, + "fk_accounting_account": "8" + }, + { + "module": null, + "id": "12", + "entity": null, + "import_key": null, + "array_options": [], + "array_languages": null, + "contacts_ids": null, + "contacts_ids_internal": null, + "linkedObjectsIds": null, + "canvas": null, + "origin_type": null, + "origin_id": null, + "ref": null, + "ref_ext": null, + "statut": null, + "status": null, + "state_id": null, + "region_id": null, + "demand_reason_id": null, + "transport_mode_id": null, + "shipping_method": null, + "multicurrency_tx": null, + "multicurrency_total_ht": "1.09000000", + "multicurrency_total_tva": "0.22000000", + "multicurrency_total_localtax1": null, + "multicurrency_total_localtax2": null, + "multicurrency_total_ttc": "1.31000000", + "last_main_doc": null, + "fk_account": null, + "total_ht": "1.09000000", + "total_tva": "0.22000000", + "total_localtax1": "0.00000000", + "total_localtax2": "0.00000000", + "total_ttc": "1.31000000", + "lines": null, + "actiontypecode": null, + "civility_code": null, + "date_creation": null, + "date_validation": null, + "date_modification": null, + "tms": null, + "date_cloture": null, + "user_author": null, + "user_creation": null, + "user_creation_id": null, + "user_valid": null, + "user_validation": null, + "user_validation_id": null, + "user_closing_id": null, + "user_modification": null, + "user_modification_id": null, + "fk_user_creat": null, + "fk_user_modif": null, + "specimen": 0, + "totalpaid": null, + "extraparams": [], + "product": null, + "cond_reglement_supplier_id": null, + "deposit_percent": null, + "retained_warranty_fk_cond_reglement": null, + "warehouse_id": null, + "parent_element": "facture_fourn", + "fk_parent_attribute": "fk_facture_fourn", + "fk_unit": null, + "date_debut_prevue": null, + "date_debut_reel": null, + "date_fin_prevue": null, + "date_fin_reel": null, + "weight": null, + "weight_units": null, + "length": null, + "length_units": null, + "width": null, + "width_units": null, + "height": null, + "height_units": null, + "surface": null, + "surface_units": null, + "volume": null, + "volume_units": null, + "multilangs": null, + "product_type": "1", + "fk_product": null, + "desc": "DNS Anycast - Installation
\r\n(24/10/2025-23/10/2026)
\r\nSans engagement", + "description": "DNS Anycast - Installation
\r\n(24/10/2025-23/10/2026)
\r\nSans engagement", + "product_ref": null, + "product_label": null, + "product_barcode": null, + "product_desc": null, + "fk_product_type": null, + "qty": "1", + "duree": null, + "remise_percent": "0", + "info_bits": "0", + "special_code": "0", + "subprice": "1.09000000", + "subprice_ttc": null, + "tva_tx": "20.0000", + "multicurrency_subprice": "1.09000000", + "multicurrency_subprice_ttc": null, + "ref_supplier": "arcodange.fr", + "pu_ht": "1.09000000", + "pu_ttc": "1.31000000", + "fk_facture_fourn": "6", + "label": null, + "date_start": "", + "date_end": "", + "fk_code_ventilation": null, + "situation_percent": null, + "fk_prev_id": null, + "vat_src_code": "", + "localtax1_tx": "0.0000", + "localtax2_tx": "0.0000", + "pa_ht": null, + "fk_remise_except": null, + "fk_parent_line": null, + "rang": "2", + "localtax1_type": "0", + "localtax2_type": "0", + "libelle": null, + "fk_accounting_account": "8" + } + ], + "actiontypecode": null, + "name": null, + "lastname": null, + "firstname": null, + "civility_id": null, + "civility_code": null, + "date_creation": null, + "date_validation": null, + "date_modification": null, + "tms": 1772115414, + "date_cloture": null, + "user_author": null, + "user_creation": null, + "user_creation_id": "2", + "user_valid": null, + "user_validation": null, + "user_validation_id": "2", + "user_closing_id": null, + "user_modification": null, + "user_modification_id": null, + "fk_user_creat": null, + "fk_user_modif": null, + "specimen": 0, + "totalpaid": null, + "extraparams": [], + "product": null, + "cond_reglement_supplier_id": null, + "deposit_percent": null, + "retained_warranty_fk_cond_reglement": null, + "warehouse_id": null, + "title": null, + "type": 0, + "subtype": 0, + "fk_soc": null, + "socid": "7", + "paye": "1", + "date": 1761256800, + "date_lim_reglement": null, + "cond_reglement_code": "RECEP", + "cond_reglement_label": "Due upon receipt", + "cond_reglement_doc": "Due upon receipt", + "mode_reglement_code": "CB", + "revenuestamp": null, + "totaldeposits": null, + "totalcreditnotes": null, + "sumpayed": null, + "sumpayed_multicurrency": null, + "sumdeposit": null, + "sumdeposit_multicurrency": null, + "sumcreditnote": null, + "sumcreditnote_multicurrency": null, + "remaintopay": null, + "nbofopendirectdebitorcredittransfer": null, + "creditnote_ids": null, + "stripechargedone": null, + "stripechargeerror": null, + "description": null, + "ref_client": null, + "situation_cycle_ref": null, + "close_code": null, + "close_note": null, + "postactionmessages": null, + "fk_incoterms": "0", + "label_incoterms": null, + "location_incoterms": "", + "ref_supplier": "FR73261832", + "libelle": "nom de domaine arcodange.fr", + "label": "nom de domaine arcodange.fr", + "fk_statut": "2", + "paid": "1", + "datec": 1772118720, + "date_echeance": 1761343200, + "amount": 0, + "remise": 0, + "tva": null, + "localtax1": null, + "localtax2": null, + "propalid": null, + "vat_reverse_charge": 0, + "fournisseur": null, + "fk_facture_source": null, + "fac_rec": null, + "fk_fac_rec_source": null, + "fk_user_valid": null + } + ], + "/bankaccounts/3/lines?limit=5": [ + { + "module": null, + "id": "10", + "entity": null, + "import_key": null, + "array_options": [], + "array_languages": null, + "contacts_ids": null, + "contacts_ids_internal": null, + "linkedObjectsIds": null, + "canvas": null, + "fk_project": null, + "contact_id": null, + "user": null, + "origin_type": null, + "origin_id": null, + "ref": "10", + "ref_ext": null, + "statut": null, + "status": null, + "country_id": null, + "country_code": null, + "state_id": null, + "region_id": null, + "barcode_type": null, + "barcode_type_coder": null, + "mode_reglement_id": null, + "cond_reglement_id": null, + "demand_reason_id": null, + "transport_mode_id": null, + "shipping_method_id": null, + "shipping_method": null, + "fk_multicurrency": null, + "multicurrency_code": null, + "multicurrency_tx": null, + "multicurrency_total_ht": null, + "multicurrency_total_tva": null, + "multicurrency_total_localtax1": null, + "multicurrency_total_localtax2": null, + "multicurrency_total_ttc": null, + "last_main_doc": null, + "fk_account": "3", + "note_public": null, + "note_private": null, + "total_ht": null, + "total_tva": null, + "total_localtax1": null, + "total_localtax2": null, + "total_ttc": null, + "lines": null, + "actiontypecode": null, + "name": null, + "lastname": null, + "firstname": null, + "civility_id": null, + "civility_code": null, + "date_creation": null, + "date_validation": null, + "date_modification": null, + "tms": null, + "date_cloture": null, + "user_author": null, + "user_creation": null, + "user_creation_id": null, + "user_valid": null, + "user_validation": null, + "user_validation_id": null, + "user_closing_id": null, + "user_modification": null, + "user_modification_id": null, + "fk_user_creat": null, + "fk_user_modif": null, + "specimen": 0, + "totalpaid": null, + "extraparams": [], + "product": null, + "cond_reglement_supplier_id": null, + "deposit_percent": null, + "retained_warranty_fk_cond_reglement": null, + "warehouse_id": null, + "parent_element": "", + "fk_parent_attribute": "", + "fk_unit": null, + "date_debut_prevue": null, + "date_debut_reel": null, + "date_fin_prevue": null, + "date_fin_reel": null, + "weight": null, + "weight_units": null, + "length": null, + "length_units": null, + "width": null, + "width_units": null, + "height": null, + "height_units": null, + "surface": null, + "surface_units": null, + "volume": null, + "volume_units": null, + "multilangs": null, + "product_type": null, + "fk_product": null, + "desc": null, + "description": null, + "product_ref": null, + "product_label": null, + "product_barcode": null, + "product_desc": null, + "fk_product_type": null, + "qty": null, + "duree": null, + "remise_percent": null, + "info_bits": null, + "special_code": null, + "subprice": null, + "subprice_ttc": null, + "tva_tx": null, + "multicurrency_subprice": null, + "multicurrency_subprice_ttc": null, + "datec": 1772107398, + "dateo": 1768518000, + "datev": 1768518000, + "amount": "0.00000000", + "amount_main_currency": null, + "fk_user_author": "2", + "fk_user_rappro": null, + "fk_type": "", + "fk_bordereau": "0", + "bank_account_ref": "CCA1", + "bank_account_label": "G.RADUREAU Compte Courant Asso", + "numero_compte": null, + "emetteur": null, + "rappro": 0, + "num_releve": null, + "num_chq": "", + "bank_chq": "", + "label": "Solde initial", + "user_rappro": null + }, + { + "module": null, + "id": "11", + "entity": null, + "import_key": null, + "array_options": [], + "array_languages": null, + "contacts_ids": null, + "contacts_ids_internal": null, + "linkedObjectsIds": null, + "canvas": null, + "fk_project": null, + "contact_id": null, + "user": null, + "origin_type": null, + "origin_id": null, + "ref": "11", + "ref_ext": null, + "statut": null, + "status": null, + "country_id": null, + "country_code": null, + "state_id": null, + "region_id": null, + "barcode_type": null, + "barcode_type_coder": null, + "mode_reglement_id": null, + "cond_reglement_id": null, + "demand_reason_id": null, + "transport_mode_id": null, + "shipping_method_id": null, + "shipping_method": null, + "fk_multicurrency": null, + "multicurrency_code": null, + "multicurrency_tx": null, + "multicurrency_total_ht": null, + "multicurrency_total_tva": null, + "multicurrency_total_localtax1": null, + "multicurrency_total_localtax2": null, + "multicurrency_total_ttc": null, + "last_main_doc": null, + "fk_account": "3", + "note_public": null, + "note_private": null, + "total_ht": null, + "total_tva": null, + "total_localtax1": null, + "total_localtax2": null, + "total_ttc": null, + "lines": null, + "actiontypecode": null, + "name": null, + "lastname": null, + "firstname": null, + "civility_id": null, + "civility_code": null, + "date_creation": null, + "date_validation": null, + "date_modification": null, + "tms": null, + "date_cloture": null, + "user_author": null, + "user_creation": null, + "user_creation_id": null, + "user_valid": null, + "user_validation": null, + "user_validation_id": null, + "user_closing_id": null, + "user_modification": null, + "user_modification_id": null, + "fk_user_creat": null, + "fk_user_modif": null, + "specimen": 0, + "totalpaid": null, + "extraparams": [], + "product": null, + "cond_reglement_supplier_id": null, + "deposit_percent": null, + "retained_warranty_fk_cond_reglement": null, + "warehouse_id": null, + "parent_element": "", + "fk_parent_attribute": "", + "fk_unit": null, + "date_debut_prevue": null, + "date_debut_reel": null, + "date_fin_prevue": null, + "date_fin_reel": null, + "weight": null, + "weight_units": null, + "length": null, + "length_units": null, + "width": null, + "width_units": null, + "height": null, + "height_units": null, + "surface": null, + "surface_units": null, + "volume": null, + "volume_units": null, + "multilangs": null, + "product_type": null, + "fk_product": null, + "desc": null, + "description": null, + "product_ref": null, + "product_label": null, + "product_barcode": null, + "product_desc": null, + "fk_product_type": null, + "qty": null, + "duree": null, + "remise_percent": null, + "info_bits": null, + "special_code": null, + "subprice": null, + "subprice_ttc": null, + "tva_tx": null, + "multicurrency_subprice": null, + "multicurrency_subprice_ttc": null, + "datec": 1772112552, + "dateo": 1767913200, + "datev": 1767913200, + "amount": "-55.93000000", + "amount_main_currency": null, + "fk_user_author": "2", + "fk_user_rappro": null, + "fk_type": "CB", + "fk_bordereau": "0", + "bank_account_ref": "CCA1", + "bank_account_label": "G.RADUREAU Compte Courant Asso", + "numero_compte": null, + "emetteur": null, + "rappro": 0, + "num_releve": null, + "num_chq": "16834370", + "bank_chq": null, + "label": "(SupplierInvoicePayment)", + "user_rappro": null + }, + { + "module": null, + "id": "12", + "entity": null, + "import_key": null, + "array_options": [], + "array_languages": null, + "contacts_ids": null, + "contacts_ids_internal": null, + "linkedObjectsIds": null, + "canvas": null, + "fk_project": null, + "contact_id": null, + "user": null, + "origin_type": null, + "origin_id": null, + "ref": "12", + "ref_ext": null, + "statut": null, + "status": null, + "country_id": null, + "country_code": null, + "state_id": null, + "region_id": null, + "barcode_type": null, + "barcode_type_coder": null, + "mode_reglement_id": null, + "cond_reglement_id": null, + "demand_reason_id": null, + "transport_mode_id": null, + "shipping_method_id": null, + "shipping_method": null, + "fk_multicurrency": null, + "multicurrency_code": null, + "multicurrency_tx": null, + "multicurrency_total_ht": null, + "multicurrency_total_tva": null, + "multicurrency_total_localtax1": null, + "multicurrency_total_localtax2": null, + "multicurrency_total_ttc": null, + "last_main_doc": null, + "fk_account": "3", + "note_public": null, + "note_private": null, + "total_ht": null, + "total_tva": null, + "total_localtax1": null, + "total_localtax2": null, + "total_ttc": null, + "lines": null, + "actiontypecode": null, + "name": null, + "lastname": null, + "firstname": null, + "civility_id": null, + "civility_code": null, + "date_creation": null, + "date_validation": null, + "date_modification": null, + "tms": null, + "date_cloture": null, + "user_author": null, + "user_creation": null, + "user_creation_id": null, + "user_valid": null, + "user_validation": null, + "user_validation_id": null, + "user_closing_id": null, + "user_modification": null, + "user_modification_id": null, + "fk_user_creat": null, + "fk_user_modif": null, + "specimen": 0, + "totalpaid": null, + "extraparams": [], + "product": null, + "cond_reglement_supplier_id": null, + "deposit_percent": null, + "retained_warranty_fk_cond_reglement": null, + "warehouse_id": null, + "parent_element": "", + "fk_parent_attribute": "", + "fk_unit": null, + "date_debut_prevue": null, + "date_debut_reel": null, + "date_fin_prevue": null, + "date_fin_reel": null, + "weight": null, + "weight_units": null, + "length": null, + "length_units": null, + "width": null, + "width_units": null, + "height": null, + "height_units": null, + "surface": null, + "surface_units": null, + "volume": null, + "volume_units": null, + "multilangs": null, + "product_type": null, + "fk_product": null, + "desc": null, + "description": null, + "product_ref": null, + "product_label": null, + "product_barcode": null, + "product_desc": null, + "fk_product_type": null, + "qty": null, + "duree": null, + "remise_percent": null, + "info_bits": null, + "special_code": null, + "subprice": null, + "subprice_ttc": null, + "tva_tx": null, + "multicurrency_subprice": null, + "multicurrency_subprice_ttc": null, + "datec": 1772112658, + "dateo": 1768431600, + "datev": 1768431600, + "amount": "-1.30000000", + "amount_main_currency": null, + "fk_user_author": "2", + "fk_user_rappro": null, + "fk_type": "CB", + "fk_bordereau": "0", + "bank_account_ref": "CCA1", + "bank_account_label": "G.RADUREAU Compte Courant Asso", + "numero_compte": null, + "emetteur": null, + "rappro": 0, + "num_releve": null, + "num_chq": "16937156", + "bank_chq": null, + "label": "(SupplierInvoicePayment)", + "user_rappro": null + }, + { + "module": null, + "id": "13", + "entity": null, + "import_key": null, + "array_options": [], + "array_languages": null, + "contacts_ids": null, + "contacts_ids_internal": null, + "linkedObjectsIds": null, + "canvas": null, + "fk_project": null, + "contact_id": null, + "user": null, + "origin_type": null, + "origin_id": null, + "ref": "13", + "ref_ext": null, + "statut": null, + "status": null, + "country_id": null, + "country_code": null, + "state_id": null, + "region_id": null, + "barcode_type": null, + "barcode_type_coder": null, + "mode_reglement_id": null, + "cond_reglement_id": null, + "demand_reason_id": null, + "transport_mode_id": null, + "shipping_method_id": null, + "shipping_method": null, + "fk_multicurrency": null, + "multicurrency_code": null, + "multicurrency_tx": null, + "multicurrency_total_ht": null, + "multicurrency_total_tva": null, + "multicurrency_total_localtax1": null, + "multicurrency_total_localtax2": null, + "multicurrency_total_ttc": null, + "last_main_doc": null, + "fk_account": "3", + "note_public": null, + "note_private": null, + "total_ht": null, + "total_tva": null, + "total_localtax1": null, + "total_localtax2": null, + "total_ttc": null, + "lines": null, + "actiontypecode": null, + "name": null, + "lastname": null, + "firstname": null, + "civility_id": null, + "civility_code": null, + "date_creation": null, + "date_validation": null, + "date_modification": null, + "tms": null, + "date_cloture": null, + "user_author": null, + "user_creation": null, + "user_creation_id": null, + "user_valid": null, + "user_validation": null, + "user_validation_id": null, + "user_closing_id": null, + "user_modification": null, + "user_modification_id": null, + "fk_user_creat": null, + "fk_user_modif": null, + "specimen": 0, + "totalpaid": null, + "extraparams": [], + "product": null, + "cond_reglement_supplier_id": null, + "deposit_percent": null, + "retained_warranty_fk_cond_reglement": null, + "warehouse_id": null, + "parent_element": "", + "fk_parent_attribute": "", + "fk_unit": null, + "date_debut_prevue": null, + "date_debut_reel": null, + "date_fin_prevue": null, + "date_fin_reel": null, + "weight": null, + "weight_units": null, + "length": null, + "length_units": null, + "width": null, + "width_units": null, + "height": null, + "height_units": null, + "surface": null, + "surface_units": null, + "volume": null, + "volume_units": null, + "multilangs": null, + "product_type": null, + "fk_product": null, + "desc": null, + "description": null, + "product_ref": null, + "product_label": null, + "product_barcode": null, + "product_desc": null, + "fk_product_type": null, + "qty": null, + "duree": null, + "remise_percent": null, + "info_bits": null, + "special_code": null, + "subprice": null, + "subprice_ttc": null, + "tva_tx": null, + "multicurrency_subprice": null, + "multicurrency_subprice_ttc": null, + "datec": 1772113568, + "dateo": 1767481200, + "datev": 1767481200, + "amount": "-1.99000000", + "amount_main_currency": null, + "fk_user_author": "2", + "fk_user_rappro": null, + "fk_type": "CB", + "fk_bordereau": "0", + "bank_account_ref": "CCA1", + "bank_account_label": "G.RADUREAU Compte Courant Asso", + "numero_compte": null, + "emetteur": null, + "rappro": 0, + "num_releve": null, + "num_chq": "1091237202601", + "bank_chq": null, + "label": "(SupplierInvoicePayment)", + "user_rappro": null + }, + { + "module": null, + "id": "14", + "entity": null, + "import_key": null, + "array_options": [], + "array_languages": null, + "contacts_ids": null, + "contacts_ids_internal": null, + "linkedObjectsIds": null, + "canvas": null, + "fk_project": null, + "contact_id": null, + "user": null, + "origin_type": null, + "origin_id": null, + "ref": "14", + "ref_ext": null, + "statut": null, + "status": null, + "country_id": null, + "country_code": null, + "state_id": null, + "region_id": null, + "barcode_type": null, + "barcode_type_coder": null, + "mode_reglement_id": null, + "cond_reglement_id": null, + "demand_reason_id": null, + "transport_mode_id": null, + "shipping_method_id": null, + "shipping_method": null, + "fk_multicurrency": null, + "multicurrency_code": null, + "multicurrency_tx": null, + "multicurrency_total_ht": null, + "multicurrency_total_tva": null, + "multicurrency_total_localtax1": null, + "multicurrency_total_localtax2": null, + "multicurrency_total_ttc": null, + "last_main_doc": null, + "fk_account": "3", + "note_public": null, + "note_private": null, + "total_ht": null, + "total_tva": null, + "total_localtax1": null, + "total_localtax2": null, + "total_ttc": null, + "lines": null, + "actiontypecode": null, + "name": null, + "lastname": null, + "firstname": null, + "civility_id": null, + "civility_code": null, + "date_creation": null, + "date_validation": null, + "date_modification": null, + "tms": null, + "date_cloture": null, + "user_author": null, + "user_creation": null, + "user_creation_id": null, + "user_valid": null, + "user_validation": null, + "user_validation_id": null, + "user_closing_id": null, + "user_modification": null, + "user_modification_id": null, + "fk_user_creat": null, + "fk_user_modif": null, + "specimen": 0, + "totalpaid": null, + "extraparams": [], + "product": null, + "cond_reglement_supplier_id": null, + "deposit_percent": null, + "retained_warranty_fk_cond_reglement": null, + "warehouse_id": null, + "parent_element": "", + "fk_parent_attribute": "", + "fk_unit": null, + "date_debut_prevue": null, + "date_debut_reel": null, + "date_fin_prevue": null, + "date_fin_reel": null, + "weight": null, + "weight_units": null, + "length": null, + "length_units": null, + "width": null, + "width_units": null, + "height": null, + "height_units": null, + "surface": null, + "surface_units": null, + "volume": null, + "volume_units": null, + "multilangs": null, + "product_type": null, + "fk_product": null, + "desc": null, + "description": null, + "product_ref": null, + "product_label": null, + "product_barcode": null, + "product_desc": null, + "fk_product_type": null, + "qty": null, + "duree": null, + "remise_percent": null, + "info_bits": null, + "special_code": null, + "subprice": null, + "subprice_ttc": null, + "tva_tx": null, + "multicurrency_subprice": null, + "multicurrency_subprice_ttc": null, + "datec": 1772114763, + "dateo": 1767913200, + "datev": 1767913200, + "amount": "-148.80000000", + "amount_main_currency": null, + "fk_user_author": "2", + "fk_user_rappro": null, + "fk_type": "CB", + "fk_bordereau": "0", + "bank_account_ref": "CCA1", + "bank_account_label": "G.RADUREAU Compte Courant Asso", + "numero_compte": null, + "emetteur": null, + "rappro": 0, + "num_releve": null, + "num_chq": "435972", + "bank_chq": null, + "label": "(SupplierInvoicePayment)", + "user_rappro": null + }, + { + "module": null, + "id": "15", + "entity": null, + "import_key": null, + "array_options": [], + "array_languages": null, + "contacts_ids": null, + "contacts_ids_internal": null, + "linkedObjectsIds": null, + "canvas": null, + "fk_project": null, + "contact_id": null, + "user": null, + "origin_type": null, + "origin_id": null, + "ref": "15", + "ref_ext": null, + "statut": null, + "status": null, + "country_id": null, + "country_code": null, + "state_id": null, + "region_id": null, + "barcode_type": null, + "barcode_type_coder": null, + "mode_reglement_id": null, + "cond_reglement_id": null, + "demand_reason_id": null, + "transport_mode_id": null, + "shipping_method_id": null, + "shipping_method": null, + "fk_multicurrency": null, + "multicurrency_code": null, + "multicurrency_tx": null, + "multicurrency_total_ht": null, + "multicurrency_total_tva": null, + "multicurrency_total_localtax1": null, + "multicurrency_total_localtax2": null, + "multicurrency_total_ttc": null, + "last_main_doc": null, + "fk_account": "3", + "note_public": null, + "note_private": null, + "total_ht": null, + "total_tva": null, + "total_localtax1": null, + "total_localtax2": null, + "total_ttc": null, + "lines": null, + "actiontypecode": null, + "name": null, + "lastname": null, + "firstname": null, + "civility_id": null, + "civility_code": null, + "date_creation": null, + "date_validation": null, + "date_modification": null, + "tms": null, + "date_cloture": null, + "user_author": null, + "user_creation": null, + "user_creation_id": null, + "user_valid": null, + "user_validation": null, + "user_validation_id": null, + "user_closing_id": null, + "user_modification": null, + "user_modification_id": null, + "fk_user_creat": null, + "fk_user_modif": null, + "specimen": 0, + "totalpaid": null, + "extraparams": [], + "product": null, + "cond_reglement_supplier_id": null, + "deposit_percent": null, + "retained_warranty_fk_cond_reglement": null, + "warehouse_id": null, + "parent_element": "", + "fk_parent_attribute": "", + "fk_unit": null, + "date_debut_prevue": null, + "date_debut_reel": null, + "date_fin_prevue": null, + "date_fin_reel": null, + "weight": null, + "weight_units": null, + "length": null, + "length_units": null, + "width": null, + "width_units": null, + "height": null, + "height_units": null, + "surface": null, + "surface_units": null, + "volume": null, + "volume_units": null, + "multilangs": null, + "product_type": null, + "fk_product": null, + "desc": null, + "description": null, + "product_ref": null, + "product_label": null, + "product_barcode": null, + "product_desc": null, + "fk_product_type": null, + "qty": null, + "duree": null, + "remise_percent": null, + "info_bits": null, + "special_code": null, + "subprice": null, + "subprice_ttc": null, + "tva_tx": null, + "multicurrency_subprice": null, + "multicurrency_subprice_ttc": null, + "datec": 1772118322, + "dateo": 1767654000, + "datev": 1767654000, + "amount": "-202.80000000", + "amount_main_currency": null, + "fk_user_author": "2", + "fk_user_rappro": null, + "fk_type": "CB", + "fk_bordereau": "0", + "bank_account_ref": "CCA1", + "bank_account_label": "G.RADUREAU Compte Courant Asso", + "numero_compte": null, + "emetteur": null, + "rappro": 0, + "num_releve": null, + "num_chq": null, + "bank_chq": null, + "label": "(SupplierInvoicePayment)", + "user_rappro": null + }, + { + "module": null, + "id": "16", + "entity": null, + "import_key": null, + "array_options": [], + "array_languages": null, + "contacts_ids": null, + "contacts_ids_internal": null, + "linkedObjectsIds": null, + "canvas": null, + "fk_project": null, + "contact_id": null, + "user": null, + "origin_type": null, + "origin_id": null, + "ref": "16", + "ref_ext": null, + "statut": null, + "status": null, + "country_id": null, + "country_code": null, + "state_id": null, + "region_id": null, + "barcode_type": null, + "barcode_type_coder": null, + "mode_reglement_id": null, + "cond_reglement_id": null, + "demand_reason_id": null, + "transport_mode_id": null, + "shipping_method_id": null, + "shipping_method": null, + "fk_multicurrency": null, + "multicurrency_code": null, + "multicurrency_tx": null, + "multicurrency_total_ht": null, + "multicurrency_total_tva": null, + "multicurrency_total_localtax1": null, + "multicurrency_total_localtax2": null, + "multicurrency_total_ttc": null, + "last_main_doc": null, + "fk_account": "3", + "note_public": null, + "note_private": null, + "total_ht": null, + "total_tva": null, + "total_localtax1": null, + "total_localtax2": null, + "total_ttc": null, + "lines": null, + "actiontypecode": null, + "name": null, + "lastname": null, + "firstname": null, + "civility_id": null, + "civility_code": null, + "date_creation": null, + "date_validation": null, + "date_modification": null, + "tms": null, + "date_cloture": null, + "user_author": null, + "user_creation": null, + "user_creation_id": null, + "user_valid": null, + "user_validation": null, + "user_validation_id": null, + "user_closing_id": null, + "user_modification": null, + "user_modification_id": null, + "fk_user_creat": null, + "fk_user_modif": null, + "specimen": 0, + "totalpaid": null, + "extraparams": [], + "product": null, + "cond_reglement_supplier_id": null, + "deposit_percent": null, + "retained_warranty_fk_cond_reglement": null, + "warehouse_id": null, + "parent_element": "", + "fk_parent_attribute": "", + "fk_unit": null, + "date_debut_prevue": null, + "date_debut_reel": null, + "date_fin_prevue": null, + "date_fin_reel": null, + "weight": null, + "weight_units": null, + "length": null, + "length_units": null, + "width": null, + "width_units": null, + "height": null, + "height_units": null, + "surface": null, + "surface_units": null, + "volume": null, + "volume_units": null, + "multilangs": null, + "product_type": null, + "fk_product": null, + "desc": null, + "description": null, + "product_ref": null, + "product_label": null, + "product_barcode": null, + "product_desc": null, + "fk_product_type": null, + "qty": null, + "duree": null, + "remise_percent": null, + "info_bits": null, + "special_code": null, + "subprice": null, + "subprice_ttc": null, + "tva_tx": null, + "multicurrency_subprice": null, + "multicurrency_subprice_ttc": null, + "datec": 1772119014, + "dateo": 1761256800, + "datev": 1761256800, + "amount": "-7.30000000", + "amount_main_currency": null, + "fk_user_author": "2", + "fk_user_rappro": null, + "fk_type": "CB", + "fk_bordereau": "0", + "bank_account_ref": "CCA1", + "bank_account_label": "G.RADUREAU Compte Courant Asso", + "numero_compte": null, + "emetteur": null, + "rappro": 0, + "num_releve": null, + "num_chq": "FR73261832", + "bank_chq": null, + "label": "(SupplierInvoicePayment)", + "user_rappro": null + }, + { + "module": null, + "id": "17", + "entity": null, + "import_key": null, + "array_options": [], + "array_languages": null, + "contacts_ids": null, + "contacts_ids_internal": null, + "linkedObjectsIds": null, + "canvas": null, + "fk_project": null, + "contact_id": null, + "user": null, + "origin_type": null, + "origin_id": null, + "ref": "17", + "ref_ext": null, + "statut": null, + "status": null, + "country_id": null, + "country_code": null, + "state_id": null, + "region_id": null, + "barcode_type": null, + "barcode_type_coder": null, + "mode_reglement_id": null, + "cond_reglement_id": null, + "demand_reason_id": null, + "transport_mode_id": null, + "shipping_method_id": null, + "shipping_method": null, + "fk_multicurrency": null, + "multicurrency_code": null, + "multicurrency_tx": null, + "multicurrency_total_ht": null, + "multicurrency_total_tva": null, + "multicurrency_total_localtax1": null, + "multicurrency_total_localtax2": null, + "multicurrency_total_ttc": null, + "last_main_doc": null, + "fk_account": "3", + "note_public": null, + "note_private": null, + "total_ht": null, + "total_tva": null, + "total_localtax1": null, + "total_localtax2": null, + "total_ttc": null, + "lines": null, + "actiontypecode": null, + "name": null, + "lastname": null, + "firstname": null, + "civility_id": null, + "civility_code": null, + "date_creation": null, + "date_validation": null, + "date_modification": null, + "tms": null, + "date_cloture": null, + "user_author": null, + "user_creation": null, + "user_creation_id": null, + "user_valid": null, + "user_validation": null, + "user_validation_id": null, + "user_closing_id": null, + "user_modification": null, + "user_modification_id": null, + "fk_user_creat": null, + "fk_user_modif": null, + "specimen": 0, + "totalpaid": null, + "extraparams": [], + "product": null, + "cond_reglement_supplier_id": null, + "deposit_percent": null, + "retained_warranty_fk_cond_reglement": null, + "warehouse_id": null, + "parent_element": "", + "fk_parent_attribute": "", + "fk_unit": null, + "date_debut_prevue": null, + "date_debut_reel": null, + "date_fin_prevue": null, + "date_fin_reel": null, + "weight": null, + "weight_units": null, + "length": null, + "length_units": null, + "width": null, + "width_units": null, + "height": null, + "height_units": null, + "surface": null, + "surface_units": null, + "volume": null, + "volume_units": null, + "multilangs": null, + "product_type": null, + "fk_product": null, + "desc": null, + "description": null, + "product_ref": null, + "product_label": null, + "product_barcode": null, + "product_desc": null, + "fk_product_type": null, + "qty": null, + "duree": null, + "remise_percent": null, + "info_bits": null, + "special_code": null, + "subprice": null, + "subprice_ttc": null, + "tva_tx": null, + "multicurrency_subprice": null, + "multicurrency_subprice_ttc": null, + "datec": 1772468636, + "dateo": 1768172400, + "datev": 1768172400, + "amount": "-8.43000000", + "amount_main_currency": null, + "fk_user_author": "2", + "fk_user_rappro": null, + "fk_type": "CB", + "fk_bordereau": "0", + "bank_account_ref": "CCA1", + "bank_account_label": "G.RADUREAU Compte Courant Asso", + "numero_compte": null, + "emetteur": null, + "rappro": 0, + "num_releve": null, + "num_chq": null, + "bank_chq": null, + "label": "(SupplierInvoicePayment)", + "user_rappro": null + }, + { + "module": null, + "id": "18", + "entity": null, + "import_key": null, + "array_options": [], + "array_languages": null, + "contacts_ids": null, + "contacts_ids_internal": null, + "linkedObjectsIds": null, + "canvas": null, + "fk_project": null, + "contact_id": null, + "user": null, + "origin_type": null, + "origin_id": null, + "ref": "18", + "ref_ext": null, + "statut": null, + "status": null, + "country_id": null, + "country_code": null, + "state_id": null, + "region_id": null, + "barcode_type": null, + "barcode_type_coder": null, + "mode_reglement_id": null, + "cond_reglement_id": null, + "demand_reason_id": null, + "transport_mode_id": null, + "shipping_method_id": null, + "shipping_method": null, + "fk_multicurrency": null, + "multicurrency_code": null, + "multicurrency_tx": null, + "multicurrency_total_ht": null, + "multicurrency_total_tva": null, + "multicurrency_total_localtax1": null, + "multicurrency_total_localtax2": null, + "multicurrency_total_ttc": null, + "last_main_doc": null, + "fk_account": "3", + "note_public": null, + "note_private": null, + "total_ht": null, + "total_tva": null, + "total_localtax1": null, + "total_localtax2": null, + "total_ttc": null, + "lines": null, + "actiontypecode": null, + "name": null, + "lastname": null, + "firstname": null, + "civility_id": null, + "civility_code": null, + "date_creation": null, + "date_validation": null, + "date_modification": null, + "tms": null, + "date_cloture": null, + "user_author": null, + "user_creation": null, + "user_creation_id": null, + "user_valid": null, + "user_validation": null, + "user_validation_id": null, + "user_closing_id": null, + "user_modification": null, + "user_modification_id": null, + "fk_user_creat": null, + "fk_user_modif": null, + "specimen": 0, + "totalpaid": null, + "extraparams": [], + "product": null, + "cond_reglement_supplier_id": null, + "deposit_percent": null, + "retained_warranty_fk_cond_reglement": null, + "warehouse_id": null, + "parent_element": "", + "fk_parent_attribute": "", + "fk_unit": null, + "date_debut_prevue": null, + "date_debut_reel": null, + "date_fin_prevue": null, + "date_fin_reel": null, + "weight": null, + "weight_units": null, + "length": null, + "length_units": null, + "width": null, + "width_units": null, + "height": null, + "height_units": null, + "surface": null, + "surface_units": null, + "volume": null, + "volume_units": null, + "multilangs": null, + "product_type": null, + "fk_product": null, + "desc": null, + "description": null, + "product_ref": null, + "product_label": null, + "product_barcode": null, + "product_desc": null, + "fk_product_type": null, + "qty": null, + "duree": null, + "remise_percent": null, + "info_bits": null, + "special_code": null, + "subprice": null, + "subprice_ttc": null, + "tva_tx": null, + "multicurrency_subprice": null, + "multicurrency_subprice_ttc": null, + "datec": 1772470062, + "dateo": 1768604400, + "datev": 1768604400, + "amount": "-3.20000000", + "amount_main_currency": null, + "fk_user_author": "2", + "fk_user_rappro": null, + "fk_type": "CB", + "fk_bordereau": "0", + "bank_account_ref": "CCA1", + "bank_account_label": "G.RADUREAU Compte Courant Asso", + "numero_compte": null, + "emetteur": null, + "rappro": 0, + "num_releve": null, + "num_chq": null, + "bank_chq": null, + "label": "(SupplierInvoicePayment)", + "user_rappro": null + } + ] + }, + "all_ok": false +} \ No newline at end of file diff --git a/fleet/harness/runs/2026-08-13-indemnite-occupation/ABANDONNE.md b/fleet/harness/runs/2026-08-13-indemnite-occupation/ABANDONNE.md new file mode 100644 index 0000000..9920ea4 --- /dev/null +++ b/fleet/harness/runs/2026-08-13-indemnite-occupation/ABANDONNE.md @@ -0,0 +1,59 @@ +# Run abandonné — mauvaise modélisation, pas mauvaise exécution + +Ce dossier de preuve est conservé parce qu'il documente une **erreur de +conception rattrapée avant d'atteindre la production**. Les artefacts (01 à 04) +décrivent un change-set qui n'a jamais été appliqué. + +## Ce qui était proposé + +Créer un tiers fournisseur « Radureau Gabriel », lui adresser 7 factures +fournisseur d'indemnité d'occupation, et régler chacune par le compte courant +d'associé — la voie `adc-005`. + +## Pourquoi c'était faux + +**Le gérant n'est pas un fournisseur de sa société.** Lui ouvrir une fiche +fournisseur le fait apparaître au grand livre auxiliaire, dans les balances âgées +et dans les états de dettes fournisseurs. C'est mot pour mot l'objection déjà +opposée à l'URSSAF dans `RUNBOOK_charges_sociales.md` — et je l'ai reproduite en +la contredisant. + +Le contrôle qui aurait dû le révéler existait pourtant : les 8 dettes déjà +portées au compte courant sont toutes des factures de **fournisseurs réels** +(La Poste, Greffe, Infogreffe, Qonto), payées personnellement, le règlement +transitant par le compte courant. Le tiers y est toujours le fournisseur, jamais +le gérant. Il suffisait de regarder l'existant. + +## Ce qui a arrêté le change-set + +Un **403** à l'étape `apply` : le scope `prod-write` exclut délibérément le droit +122 « Créer/modifier les tiers », avec ce commentaire dans `test/scopes.ts` — +*« No thirdparty creation […] those are rehearsed then applied by a human when +they are genuinely needed »*. La restriction a fait office de garde-fou pour une +raison qui n'était pas la sienne. La production n'a rien reçu. + +C'est ensuite l'opérateur qui a posé la bonne question : faut-il vraiment un +tiers pour une dette envers le compte courant de l'associé ? + +## Ce qui a été fait à la place + +Sept **paiements divers** (`test/recordVariousPayment.ts`) sur le compte bancaire +`CCA1` (id 3, numéro comptable 45511), code comptable `613000 - Locations`, +sens débit : + + débit 613000 Locations (la charge) + crédit 45511 G. RADUREAU, compte courant (la dette envers l'associé) + +Aucun tiers, aucune facture, aucune pollution du grand livre auxiliaire. + +## Ce que ce run apprend au harness + +- Le pipeline ne porte que du REST. `/variouspayments` répond « API not found », + donc la bonne opération lui échappe — comme les charges sociales. La couverture + du promote gated est plus étroite qu'elle en a l'air, et le choix de + l'instrument comptable décide de la voie disponible. +- Le verdict pré-gate (BLOCK sur la chronologie, art. 289) portait sur un + détail réel mais mal qualifié, et **passait à côté du défaut structurel**. Un + juge qui lit le change-set sans lire l'existant ne peut pas voir qu'un modèle + contredit celui déjà en place. Piste : donner au juge l'état observé, pas + seulement le manifeste. diff --git a/fleet/harness/runs/2026-08-13-indemnite-occupation/journal.jsonl b/fleet/harness/runs/2026-08-13-indemnite-occupation/journal.jsonl index 7e1cbbc..c63941b 100644 --- a/fleet/harness/runs/2026-08-13-indemnite-occupation/journal.jsonl +++ b/fleet/harness/runs/2026-08-13-indemnite-occupation/journal.jsonl @@ -1,2 +1,4 @@ {"at": "2026-08-13T18:29:05+00:00", "stage": "rehearsal", "file": "01-rehearsal.json"} {"at": "2026-08-13T18:35:29+00:00", "stage": "pre", "file": "02-pre-verdict.json"} +{"at": "2026-08-13T18:47:51+00:00", "stage": "gate", "file": "03-gate.json"} +{"at": "2026-08-13T18:48:23+00:00", "stage": "applied", "file": "04-applied.json"} diff --git a/test/recordVariousPayment.ts b/test/recordVariousPayment.ts new file mode 100644 index 0000000..0fb79b4 --- /dev/null +++ b/test/recordVariousPayment.ts @@ -0,0 +1,184 @@ +/* + Enregistre un PAIEMENT DIVERS Dolibarr — un mouvement sur un compte bancaire + avec son code comptable, SANS tiers. + + POURQUOI PAS UNE FACTURE FOURNISSEUR. Une dette envers l'associé n'est pas une + dette fournisseur. Lui créer une fiche fournisseur le ferait apparaître au + grand livre auxiliaire, dans les balances âgées et les états de dettes + fournisseurs — exactement l'objection déjà opposée à l'URSSAF dans + RUNBOOK_charges_sociales.md. Le gérant n'est pas un fournisseur de sa société. + + Le modèle correct est direct : le compte bancaire `CCA1` (id 3) porte le numéro + comptable 45511 et son propre journal. Un paiement divers en sens DÉBIT sur ce + compte, code comptable 613, produit + + débit 613xxx Locations (la charge) + crédit 45511 G. RADUREAU, compte courant (la dette envers l'associé) + + Aucun tiers, aucune facture, aucune pollution du grand livre auxiliaire. + + PAS D'API REST : /variouspayments répond « API not found ». Comme pour les + charges sociales, le pipeline `fleet/harness/promote/` — qui parle REST — ne + peut pas porter cette opération. Ce script en garde la discipline (répétition + sandbox, relecture, opt-in production explicite) mais pas le juge indépendant + ni l'artefact de gate. + + Usage : + deno run -A test/recordVariousPayment.ts \ + --label "Indemnité d'occupation — janvier 2026" \ + --amount 163.23 --date 2026-01-31 --account 3 --code 613 [--dry-run] +*/ +import "load_dotenv"; +import { chromium, type Page } from "playwright"; +import login from "./scripts/login.ts"; +import { assertSandbox } from "./scripts/guard.ts"; + +const argv = Deno.args; +const pick = (f: string, d = "") => (argv.includes(f) ? argv[argv.indexOf(f) + 1] : d); + +const label = pick("--label"); +const amount = pick("--amount"); +const date = pick("--date"); // yyyy-mm-dd +const account = pick("--account", "3"); // compte bancaire Dolibarr +const code = pick("--code", "613"); // code comptable de la CHARGE +const sens = pick("--sens", "0"); // 0 = Débit (sortie), 1 = Crédit +const paymentType = pick("--payment-type", "VIR"); +const dryRun = argv.includes("--dry-run"); + +if (!label || !amount || !date) { + console.error("--label, --amount et --date (yyyy-mm-dd) sont requis"); + Deno.exit(2); +} + +const dolibarrAddress = assertSandbox(); +const fr = (iso: string) => { + const [y, m, d] = iso.split("-"); + return `${d}/${m}/${y}`; +}; + +console.log(`cible : ${dolibarrAddress}`); +console.log(`écriture: ${label} — ${amount} € — ${fr(date)} — compte ${account} — code ${code} — sens ${sens === "0" ? "débit" : "crédit"}`); +if (dryRun) { + console.log("\n--dry-run : rien n'est soumis."); + Deno.exit(0); +} + +const browser = await chromium.launch({ headless: true }); +const context = await browser.newContext({ locale: "fr-FR" }); +const page = await context.newPage(); + +/** + * Remplit une date Dolibarr : le champ visible pour l'humain, et le triplet + * day/month/year CACHÉ que le backend est seul à lire. Remplir le seul champ + * texte soumet une date vide — piège déjà payé sur les charges sociales. + */ +async function setDolibarrDate(name: string, iso: string): Promise { + const [y, m, d] = iso.split("-"); + await page.fill(`input[name="${name}"]`, fr(iso)).catch(() => {}); + await page.evaluate( + ({ n, dd, mm, yy }: { n: string; dd: string; mm: string; yy: string }) => { + const doc = (globalThis as unknown as { + document: { querySelector(s: string): { value: string } | null }; + }).document; + const set = (suffix: string, v: string) => { + const el = doc.querySelector(`input[name="${n}${suffix}"]`); + if (el) el.value = v; + }; + set("day", String(Number(dd))); + set("month", String(Number(mm))); + set("year", yy); + }, + { n: name, dd: d, mm: m, yy: y }, + ); +} + +/** Cherche l'écriture dans la LISTE — seule confirmation digne de foi. */ +async function find(p: Page, lbl: string, amt: string): Promise { + await p.goto(`${dolibarrAddress}/compta/bank/various_payment/list.php?limit=200`); + const rows = await p.locator("table.liste tr").evaluateAll( + (trs: { textContent: string | null }[]) => + trs.map((t) => (t.textContent ?? "").replace(/\s+/g, " ").trim()), + ); + // Les milliers s'affichent avec une espace insécable : comparer sans espaces, + // sinon l'idempotence saute silencieusement au-delà de 999 €. + const strip = (x: string) => x.replace(/[\s  ]/g, ""); + const money = Number(amt).toFixed(2).replace(".", ","); + // COMPARER LE LIBELLÉ ENTIER, jamais un préfixe. Une première version tronquait + // à 24 caractères ; or « Indemnité d'occupation — » en fait exactement 24, si + // bien que mars reconnaissait février et se déclarait déjà enregistré. Six mois + // ont été silencieusement sautés. Un préfixe ne distingue que ce qui diffère + // avant lui — hypothèse qu'aucun jeu de libellés ne garantit. + const want = strip(lbl); + return rows.find((r) => { + const row = strip(r); + if (!row.includes(money)) return false; + if (row.includes(want)) return true; + // Dolibarr abrège les libellés longs avec « … » : on accepte alors la + // portion réellement affichée, et seulement elle. + const cut = row.match(/(.{12,}?)…/); + return !!cut && want.includes(cut[1].slice(-40)); + }) ?? null; +} + +try { + await login.doAdminLogin({ + page, + dolibarrAddress, + adminCredentials: { + username: Deno.env.get("DOLI_ADMIN_LOGIN") || "undefined", + password: Deno.env.get("DOLI_ADMIN_PASSWORD") || "undefined", + }, + }); + + const already = await find(page, label, amount); + if (already) { + console.log(`déjà présente, rien à faire : ${already.slice(0, 110)}`); + Deno.exit(0); + } + + await page.goto(`${dolibarrAddress}/compta/bank/various_payment/card.php?action=create`); + await page.fill('input[name="label"]', label); + await page.fill('input[name="amount"]', amount); + await setDolibarrDate("datep", date); + await setDolibarrDate("datev", date); + await page.selectOption('select[name="accountid"]', account); + await page.selectOption('select[name="sens"]', sens); + await page.selectOption('select[name="paymenttype"]', paymentType).catch(() => {}); + + // Le sélecteur de compte comptable est appairé sur le NUMÉRO affiché + // (« 613000 - Locations »), jamais sur l'id interne, qui diffère d'une + // instance à l'autre. + const opts = await page.locator('select[name="accountancy_code"] option').evaluateAll( + (os: { textContent: string | null; getAttribute(n: string): string | null }[]) => + os.map((o) => ({ text: (o.textContent ?? "").trim(), value: o.getAttribute("value") ?? "" })), + ); + const hit = opts.find((o) => new RegExp(`^${code}0*\\s*-`).test(o.text)) ?? + opts.find((o) => o.text.startsWith(code)); + if (!hit) { + console.error(`aucun compte comptable ne commence par « ${code} ». Candidats 61x :`); + for (const o of opts.filter((x) => /^6[12]/.test(x.text))) console.error(` ${o.text}`); + Deno.exit(1); + } + console.log(`compte retenu : ${hit.text}`); + await page.selectOption('select[name="accountancy_code"]', hit.value); + + await page.locator('input[name="save"], input[type="submit"]').first().click(); + await page.waitForLoadState("networkidle"); + + const body = (await page.locator("body").innerText()).replace(/\s+/g, " "); + const err = body.match(/Erreur[^.]{0,180}/i); + if (err) { + console.error(`\nÉCHEC — ${err[0]}`); + Deno.exit(1); + } + + const found = await find(page, label, amount); + if (!found) { + console.error("\nNON CRÉÉE — l'écriture n'apparaît pas dans la liste."); + Deno.exit(1); + } + console.log(`\ncréée et vérifiée : ${found.slice(0, 110)}`); +} finally { + await context.close(); + await browser.close(); +}