---
title: "POST /task/id/{id}/updateBillingData"
method: POST
path: "/task/id/{id}/updateBillingData"
tags: ["task"]
---

# POST /task/id/{id}/updateBillingData

`POST /task/id/{id}/updateBillingData`

## Request

- Base URL: `https://www.weclapp.com/api/nullapi/v2`
- URL: `https://www.weclapp.com/api/nullapi/v2/task/id/{id}/updateBillingData`
- Auth: API key in header `AuthenticationToken`
- TypeScript: <https://skmtc.dev/weclapp/apis/weclapp-api/docs/task/id/:id/updateBillingData/post.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `id` string, required

## Request body

- object
  - `billingData` TaskBillingData
    - `articleId` string
    - `customerId` string
    - `parentTaskId` string
    - `positionNumber` integer
    - `serviceQuotaTreatmentType` 'ASSIGN_AUTOMATICALLY' | 'CANCEL_ON_CHANGE' | 'REMOVE_ON_DEMAND'
    - `taskOwner` EntityReference
      - `entityId` string
      - `entityName` string

## Response `200`

updateBillingData response

- object
  - `result` Task
    - `id` string
    - `version` string
    - `allowOverBooking` boolean
    - `allowTimeBooking` boolean
    - `articleId` string
    - `assignees` TaskAssignee[]
      - `id` string
      - `version` string
      - `createdDate` integer
      - `lastModifiedDate` integer
      - `plannedEffort` integer
      - `userId` string
    - `billableStatus` boolean
    - `calendarEventId` string
    - `createdDate` integer
    - `creatorUserId` string
    - `customAttributes` CustomAttribute[]
      - `attributeDefinitionId` string
      - `booleanValue` boolean
      - `dateValue` integer
      - `entityId` string
      - `entityReferences` EntityReference[]
        - `entityId` string
        - `entityName` string
      - `numberValue` string, number
      - `selectedValueId` string
      - `selectedValues` OnlyId[]
        - `id` string
      - `stringValue` string
    - `customerId` string
    - `dateFrom` integer
    - `dateTo` integer
    - `description` string
    - `entityReferences` EntityReference[]
      - `entityId` string
      - `entityName` string
    - `identifier` string
    - `invoicingStatus` 'INVOICED' | 'NOT_INVOICED' | 'PARTLY_INVOICED'
    - `lastModifiedDate` integer
    - `lastReminderDateForOverdue` integer
    - `orderItemId` string
    - `parentTaskId` string
    - `performanceRecordedStatus` 'NOT_PERFORMANCE_RECORDABLE' | 'ON_PERFORMANCE_RECORD' | 'PERFORMANCE_RECORDABLE' | 'PERFORMANCE_RECORDED'
    - `plannedEffort` integer
    - `positionNumber` integer
    - `previousTaskId` string
    - `subject` string
    - `taskLists` OnlyId[]
      - `id` string
    - `taskMailAccount` TaskMailAccount
      - `id` string
      - `version` string
      - `createdDate` integer
      - `lastModifiedDate` integer
      - `mailAccountId` string
      - `serverIdentifier` string
    - `taskPriority` 'HIGH' | 'LOW' | 'MEDIUM', required
    - `taskStatus` 'COMPLETED' | 'DEFERRED' | 'IN_PROGRESS' | 'NOT_STARTED' | 'WAITING_ON_OTHERS', required
    - `taskTopics` OnlyId[]
      - `id` string
    - `taskTypes` OnlyId[]
      - `id` string
    - `taskVisibilityType` 'ORGANIZATION' | 'PRIVATE', required
    - `ticketId` string
    - `userOfLastStatusChangeId` string
    - `watchers` OnlyId[]
      - `id` string

## Other responses

- `default`: error response

## Changes

- **2026-11-07** `0e021229755d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/weclapp/apis/weclapp-api/changes/task/id/:id/updateBillingData/post.md)

---

[API](https://skmtc.dev/weclapp/apis/weclapp-api.md) - [All operations](https://skmtc.dev/weclapp/apis/weclapp-api/llms.txt) - [OpenAPI document](https://skmtc.dev/weclapp/apis/weclapp-api/revisions/0e021229755d?raw)
