Alegra: Record payment
alegra_record_paymentAlegra: Record a payment received on one invoice, on a bank account, with date and method. Books a payment of amount against one invoice and returns the new total paid and balance. The method is cash, check, transfer, deposit, credit-card or debit-card, and Alegra needs the date and the bank account. A payment of the full balance leaves the invoice at zero. Alegra does not delete a payment that is wrong: it is voided and can be restored, and only a payment that is not reconciled can be deleted. By default you confirm each call; you can switch that off for this tool. Reaches other people: confirm with the user before each call. Needs the user's Cotlet API key with access to this app.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | Payment date, YYYY-MM-DD. | |
| amount | Yes | Amount received. | |
| invoice_id | Yes | Invoice ID from list_invoices. | |
| payment_method | No | cash, check, transfer, deposit, credit-card or debit-card. | |
| bank_account_id | Yes | Account ID from list_bank_accounts. |