Aspro.Cloud icon

Aspro.Cloud

Call Aspro.Cloud API (Finance + CRM)

Actions22

Money (fin/customer_payment) → Create

AI-generated

Summary

Create a new customer payment record in the Aspro.Cloud finance module by specifying required payment details and optional additional metadata.

Inputs

  • Name (required) — The name or comment of the payment.
  • Total (required) — The payment amount.
  • Date (required) — The date of the operation in YYYY-MM-DD format.
  • Type (required) — The payment type, selected from predefined options like income, expense, transfer, etc.
  • Status — The status of the payment, either Draft or Actual (default is Actual).
  • Bank Account ID — ID of the organization's bank account related to the payment.
  • Currency ID — ID of the currency used.
  • Org ID — ID of the organization.
  • CRM Company ID — ID of the associated CRM company (counterparty).
  • Description — Additional description for the payment.
  • Additional Fields — Optional additional fields such as completion date, flags (is complete, is owed, need approve), owner ID, project IDs, references, and UUIDs.

Output shape

a single record representing the created customer payment

Returns the newly created payment object as JSON. Errors are thrown if creation fails unless 'Continue On Fail' is enabled.

Examples

Example 1: Create a new customer payment with mandatory fields

Set 'Name', 'Total', 'Date', and 'Type' fields with appropriate values. Optionally specify 'Status' and other optional parameters.

Links

Discussion