create_invoice_payment_by_invoice_id
Create a payment for an invoice by providing the invoice ID and payment amount. Optionally include currency, date, and payment method.
Instructions
Create a payment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoice_id | Yes | ID of the payment | |
| amount | Yes | A number representing the total amount of the invoice. | |
| currency | No | The currency used for the payment. | |
| date | No | Date on which the payment was created. | |
| payment_method_id | No | Identifier of the payment method. |