API
Confirm statement suggestions
Changed onConfirm every exact_suggestion of the statement's pending lines in one request, as evaluated when the request runs: link stored references and cheques, pay the named contact's open document (needs payments:write), and create own-account transfers that resolve both lines. Amount-and-date candidates are never confirmed. Returns the resolved lines and the skipped ones (changed, forbidden or refused) that stay pending. Replaying the Idempotency-Key returns the first result and creates nothing.
post/api/v1/statements/{statement_id}/confirm_suggestions
Request
- Base URLhttps://api.lapyme.com.ar
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
statement_idstring uuid required
Headers
Idempotency-Keystring required
Clave estable para deduplicar reintentos de la misma operación.
Response
Treasury result or immutable replay
Changes
- info
endpoint added
- info