Acumatica API - Endpoint Default 25 200 001 icon

Acumatica API - Endpoint Default 25 200 001

Interact with Acumatica Endpoint Default/25.200.001

Actions478

Earning Type Code → Insert/Update

AI-generated

Summary

Insert or update an Earning Type Code in Acumatica by providing its unique identifier and relevant accounting, project, tax, and reporting details.

Inputs

  • Earning Type Code ID (required) — The unique identifier for the earning type code to insert or update.
  • GL Accounts — Accounting details including benefit expense, earnings, PTO expense, and tax expense accounts and their corresponding sub accounts.
  • Project Settings — Settings related to project billing, including billable project flag, default project code, and default project task.
  • Tax And Reporting CA — Canadian tax and reporting parameters including reporting type, supplemental income flag, tax details, and wage type.
  • Tax And Reporting US — US tax and reporting parameters including reporting type, tax subject flags, tax details, and wage type.
  • Additional Fields — Optional supplementary fields such as accrual of time off, activity status, category, workers' compensation calculation contribution, description, last modified time, multiplier, public holiday flag, and regular time type code.

Output shape

an object representing the inserted or updated Earning Type Code record

The operation returns the Earning Type Code data as stored in Acumatica. No pagination applies. If the Earning Type Code ID exists, it updates the record; if not, it inserts a new one.

Examples

Example 1: Create a new earning type code with GL accounts and project settings.

Provide a unique Earning Type Code ID, specify GL account numbers and sub accounts, and define project billability and default codes.

Links

Discussion