feegow_financial_write_create_invoice
Write financial operations in Feegow. Actions:
associate_account: associate financial account to patient (account, association).
update_nfse: update NFS-e number on invoice (invoice_id, nfse_numero).
pay_invoice: pay an invoice.
create_invoice: create a new invoice.
create_invoice_by_appt: create invoice from appointment.
create_voucher: create a voucher.
update_voucher: update a voucher.
pay_booking: pay a booking (bookingId, amount, associationId, accountId, paymentMethod, paymentDate YYYY-MM-DD).
For destructive removals (remove_invoice, remove_payment, cancel_voucher) use feegow_financial_delete.
[Flattened action: create_invoice]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| account | No |