Bac à sable Mode test
Type de pièce
Factures
Avoirs

Avoir lié à une facture d'origine via sa référence {NIM}-{FVC}.

Charge utile
ClientMoussa Sankara (PP)
ArticlePUQtéTVATTC
Cahier 200 pages750 F118 %750 F
PaiementE 750 F
Réf. avoirEL02000015-1-291 (COR)
Total TTC750 F
curl -X POST "https://api.mcf.avepay.net/v1/mcf/EL02000015-1/credit-note" \
  -H "Authorization: Bearer $AVEPAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "invoiceNumber": "FA-2026-5382",
    "invoiceType": "FA",
    "priceMode": "TTC",
    "operatorId": "1",
    "operatorName": "Issa",
    "isf": "1",
    "creditNoteNature": "COR",
    "creditNoteRef": "EL02000015-1-291",
    "customer": {
      "clientType": "PP",
      "name": "Moussa Sankara"
    },
    "items": [
      {
        "name": "Cahier 200 pages",
        "itemType": "LOCBIE",
        "taxGroup": "B",
        "taxRate": 18,
        "unitPrice": 750,
        "quantity": 1,
        "amountTtc": 750
      }
    ],
    "payments": [
      {
        "method": "E",
        "amount": 750
      }
    ]
  }'