Invoices, Payments and Credit Notes / Invoice Payments / Create Invoice Payment

Every time you input a payment the status of the invoice will be update it automatically, to 2, or 3 depending on the total paid 1. Unpaid 2. Partially paid 3. Overdue 4. Credited If the tot

POST
1.0.0 01-08-2026

Body parameters

module string Example: invoice_payments
data array Example:
[
  {
    "field": "amount",
    "value": "42.35"
  },
  {
    "field": "payment_date",
    "value": "2025-11-29"
  },
  {
    "field": "payment_method_id",
    "value": "1"
  },
  {
    "field": "note",
    "value": "this is a test payment"
  },
  {
    "field": "invoice_id",
    "value": "38"
  },
  {
    "field": "deleted",
    "value": "0"
  },
  {
    "field": "transaction_id",
    "value": "py_1OI9cTDgx1UehyAubUN68aec"
  },
  {
    "field": "created_by",
    "value": "1"
  },
  {
    "field": "created_at",
    "value": "NOW()"
  }
]