Apply Deposit
apply_depositApply a deposit to an invoice or mark it as used, transitioning its status to 'applied'.
Instructions
Apply a deposit to an invoice or mark it as used. Transitions the deposit status to 'applied'. Example: id='dep_abc123', invoiceId='inv_xyz' / Aplica un deposito a una factura o lo marca como utilizado.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Deposit ID / ID del deposito | |
| invoiceId | No | Invoice ID to apply the deposit to / ID de la factura a la que aplicar el deposito | |
| notes | No | Application notes / Notas de aplicacion |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | Yes | ||
| id | Yes | ||
| message | No |