BaseVN - App Income icon

BaseVN - App Income

Interact with BaseVN - App Income

Income → Create

AI-generated

Summary

Create a new income entry with required details including income type token, name, creator username, customer name, revenue unit, and salesperson. Optionally include additional fields, category values, custom fields, and encoded table data, then send this data to the API endpoint to create and return the newly created income record.

Inputs

  • Income Type Token (required) — Token for the income type (used in webhook URL)
  • Name (required) — Income name
  • Creator Username (required) — Username of the creator
  • Customer Name (required) — Customer name (required)
  • Revenue Unit (required) — Revenue unit (required)
  • Salesperson (required) — Salesperson username (required)
  • Additional Fields — Optional fields such as timestamps, record dates, customer tax code, buyer details, revenue center, tax policy, due dates, links, unique UUID, followers, content, and category transformation keys
  • Category Values — Multiple category field values used with transform_categories_keys, each with category name and corresponding value
  • Custom Fields — Multiple custom fields specific to the income type, where each field has a name (auto-prefixed with 'custom_' if not present) and value
  • Encoded Table Fields — Multiple encoded table data fields in base64 format, each with table name and encoded value

Output shape

a list of created income records, each as a JSON object

Returns only on successful creation; errors throw an exception. The API response is processed and returned as individual items, preserving input index pairing.

Examples

Example 1: Create a new income entry

Set required parameters: Income Type Token, Name, Creator Username, Customer Name, Revenue Unit, Salesperson. Optionally add any additional fields, category values, custom fields, and encoded tables to include more detailed data.

Links

Discussion