AR/AP
Re-compose a draft invoice (lines replace wholesale, totals recompute)
patch/companies/{companyId}/ar/{id}/composed
Request
- Base URLhttps://api.medianfi.com/api/v1
- AuthHTTP bearer
Path parameters
companyId, string uuid required
id, string uuid required
Query parameters
entityId, string uuid
Concrete legal entity that owns this AR/AP request. Omission is accepted only when the actor is authorized to exactly one concrete entity; consolidated scope cannot mutate or serve these entity-only resources.
Headers
X-Median-App-Surface, 'qa'
Optional customer-app bundle marker for production-promoted demo-parity routes. Production customer calls omit this header. When present, qa selects the QA bundle and the server additionally requires an allowlisted test company with persisted client_status=test.
Response
Invoice updated
Changes
No recorded changes to this operation across all 110 revisions of this API.