---
title: "PATCH /billing/{tenantLocator}/disbursements/{locator}/execute"
method: PATCH
path: "/billing/{tenantLocator}/disbursements/{locator}/execute"
---

# PATCH /billing/{tenantLocator}/disbursements/{locator}/execute

`PATCH /billing/{tenantLocator}/disbursements/{locator}/execute`

## Request

- Base URL: `https://docs.socotra.com`
- URL: `https://docs.socotra.com/billing/{tenantLocator}/disbursements/{locator}/execute`
- Auth: none declared
- TypeScript: <https://skmtc.dev/socotra/apis/socotra-insurance-suite-openapi/docs/billing/:tenantLocator/disbursements/:locator/execute/patch.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `tenantLocator` string, uuid, required
- `locator` string, ulid, required

## Response `200`

OK

- DisbursementResponse
  - `locator` string, ulid, required
  - `disbursementState` 'draft' | 'validated' | 'approved' | 'executed' | 'reversed' | 'rejected' | 'discarded', required
  - `type` string, required
  - `currency` string, required
  - `amount` number, required
  - `data` object, required
  - `createdAt` string, date-time, required
  - `createdBy` string, uuid, required
  - `accountLocator` string, ulid
  - `sources` CreditItem[], required
    - `containerLocator` string, ulid, required
    - `containerType` 'invoice' | 'account' | 'subpayment' | 'invoiceItem', required
    - `amount` number
  - `externalCashTransactionLocator` string, ulid
  - `validationResult` ValidationResult
    - `validationItems` ValidationItemResponse[]
      - `elementType` string, required
      - `locator` string, ulid, required
      - `errors` string[], required
    - `success` boolean, required
  - `disbursementNumber` string
  - `anonymizedAt` string, date-time

---

[API](https://skmtc.dev/socotra/apis/socotra-insurance-suite-openapi.md) - [All operations](https://skmtc.dev/socotra/apis/socotra-insurance-suite-openapi/llms.txt) - [OpenAPI document](https://skmtc.dev/socotra/apis/socotra-insurance-suite-openapi/revisions/77ee7d8172b9?raw)
