Updates billing and invoicing fields on a sale transaction. Requires SITE_PRODUCT:WRITE permission and RS:COMPROMIS_UPDATE right.
Important limitations:
- This endpoint only accepts billing/invoicing fields (conformity, payment, invoice numbers, fees).
- It does NOT allow updating:
buyer_price,product_price,date_act,date_agreement,status. - Sale price and deed date are set when the agreement is created in the back-office.
- There is no
POST /agreementendpoint in the Site API context — sale agreements are created via the internal user interface or the User API.
Fees: Each fee entry must reference an existing id from the transaction's fee records and provide a percentage between 0 and 100.
Security
bearerAuth
Conformity status:
0— Not verified1— Conform2— Non-conform
Date when payment was received. Format: ISO 8601 with timezone offset (YYYY-MM-DDTHH:MM:SS+HH:MM).
Example:"2025-06-01T00:00:00+02:00"
- Mock serverhttps://api-doc.immo-facile.com/_mock/openapi/agreement/{compromisId}
- https://v2.immo-facile.com/api/v2/sitehttps://v2.immo-facile.com/api/v2/site/agreement/{compromisId}
curl -i -X PUT \
https://api-doc.immo-facile.com/_mock/openapi/agreement/5678 \
-H 'Authorization: Bearer <YOUR_opaque_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"conformity": 1,
"billing_status": 2,
"payment_amount": 15000,
"payment_date": "2025-06-01T00:00:00+02:00",
"num_bill_buyer": "FA-2025-001",
"date_bill_buyer": "2025-06-05",
"fees": [
{
"id": 1,
"percentage": 5
}
]
}'