Record invoice payment

Mark an invoice payment as paid, with the date and payment account.

POST https://cotlet.dev/api/v1/fatture-in-cloud/payment-accounts/{payment_account_id}/invoices/{invoice_id}/payment

write Confirm

Updates the payment of an invoice to paid on the date you give, against an existing payment account, and returns the updated payments. It changes your books and what your accountant sees. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: record_invoice_payment
NameTypeDescription
company_id integer integer Company ID. Optional when your account has one company.
invoice_id integer required integer Invoice ID from list_invoices or create_invoice.
paid_date string required string Date the money arrived, ISO.
payment_account_id integer required integer Payment account that received it.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/fatture-in-cloud/payment-accounts/20/invoices/1/payment \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"paid_date":"paid date"}'
Python
result = client.call("fatture-in-cloud", "record_invoice_payment", {"invoice_id":1,"paid_date":"paid date","payment_account_id":20})
Node.js
const result = await cotlet.call('fatture-in-cloud', 'record_invoice_payment', {"invoice_id":1,"paid_date":"paid date","payment_account_id":20});
CLI
cotlet call fatture-in-cloud record_invoice_payment --data '{"invoice_id":1,"paid_date":"paid date","payment_account_id":20}'

Example response

JSON

{
  "invoice_id": 88120,
  "payments": [
    {
      "amount": 1830,
      "due_date": "2026-11-01",
      "paid_date": "2026-10-28",
      "status": "paid"
    }
  ]
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.