[ { "op": "thirdparty", "ref": "tp1", "input": { "name": "ACME Conseil", "role": "client", "tva_intra": "FR..." } }, { "op": "invoice", "ref": "inv1", "input": { "socid": "@tp1", "kind": "customer", "validate": true, "lines": [ { "desc": "Prestation conseil", "qty": 2, "price_ht": 500, "tva": 20, "type": "service" }, { "desc": "Licence annuelle", "qty": 1, "price_ht": 100, "tva": 20, "type": "product" } ] } }, { "op": "payment", "input": { "invoice_id": "@inv1", "mode": "VIR", "account_id": 1, "comment": "Acompte" } } ]