---
title: "Run an action on a remittance"
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.nicer.travel/llms.txt
> Use this file to discover all available pages before exploring further.

# Run an action on a remittance

Path: Nicer API › Commerce

`POST /commerce/remittances/{remittanceId}/actions`

URL: `https://api.nicer.travel/commerce/remittances/{remittanceId}/actions`

Runs one action on posted money: ALLOCATE a line's unallocated money to commission items, REVERSE_ALLOCATION (all or part; the earnings and journals reverse with it), MARK_DUPLICATE or VOID (every allocation is reversed and the deposit's journal mirrored), UNMARK_DUPLICATE, or APPROVE_CLAIM / REJECT_CLAIM a member's claim. Allocating answers 409 COMMISSION_ALLOCATION_EXCEEDS_LINE past the line and 409 COMMISSION_ALLOCATION_WRONG_RECEIVER for money owed to another company. Reversing, voiding and duplicates are finance staff only.

## Authentication

- `bearerAuth`, http bearer, header `Authorization`, format `JWT`

## Path parameters

- `remittanceId` (`commerce.remittances.actions.create.path.remittanceId`; string, required)

## Header parameters

- `Idempotency-Key` (`commerce.remittances.actions.create.header.Idempotency-Key`; string, required) — Unique key (8–255 chars) per request; replays return the original result.
- `x-nicer-company` (`commerce.remittances.actions.create.header.x-nicer-company`; string, required) — Company context. Authentication and tenant membership are validated by the API.

## Request body

_Required._

Every option has:

- `type` (`<option>.type`; string, required)

One of the following, each adding:

- `object` (`commerce.remittances.actions.create.1`)
  - `allocations` (`commerce.remittances.actions.create.1.allocations`; array of object, required)
    - `amountMinor` (`commerce.remittances.actions.create.1.allocations.amountMinor`; integer, required)
      - maximum: `9007199254740991`
    - `commissionItemId` (`commerce.remittances.actions.create.1.allocations.commissionItemId`; string, required)
      - maxLength: `255` · minLength: `1`
  - `remittanceLineId` (`commerce.remittances.actions.create.1.remittanceLineId`; string, required)
    - maxLength: `255` · minLength: `1`
  - `note` (`commerce.remittances.actions.create.1.note`; string, optional)
    - maxLength: `500` · minLength: `1`
- `object` (`commerce.remittances.actions.create.2`)
  - `allocationId` (`commerce.remittances.actions.create.2.allocationId`; string, required)
    - maxLength: `255` · minLength: `1`
  - `reason` (`commerce.remittances.actions.create.2.reason`; string, required)
    - maxLength: `500` · minLength: `1`
  - `amountMinor` (`commerce.remittances.actions.create.2.amountMinor`; integer, optional)
    - maximum: `9007199254740991`
- `object` (`commerce.remittances.actions.create.3`)
  - `duplicateOfRemittanceId` (`commerce.remittances.actions.create.3.duplicateOfRemittanceId`; string, required)
    - maxLength: `255` · minLength: `1`
  - `reason` (`commerce.remittances.actions.create.3.reason`; string, required)
    - maxLength: `500` · minLength: `1`
- `object` (`commerce.remittances.actions.create.4`)
  - `reason` (`commerce.remittances.actions.create.4.reason`; string, required)
    - maxLength: `500` · minLength: `1`
- `object` (`commerce.remittances.actions.create.5`)
  - `reason` (`commerce.remittances.actions.create.5.reason`; string, required)
    - maxLength: `500` · minLength: `1`
- `object` (`commerce.remittances.actions.create.6`)
  - `claimId` (`commerce.remittances.actions.create.6.claimId`; string, required)
    - maxLength: `255` · minLength: `1`
  - `note` (`commerce.remittances.actions.create.6.note`; string, optional)
    - maxLength: `500` · minLength: `1`
- `object` (`commerce.remittances.actions.create.7`)
  - `claimId` (`commerce.remittances.actions.create.7.claimId`; string, required)
    - maxLength: `255` · minLength: `1`
  - `reason` (`commerce.remittances.actions.create.7.reason`; string, required)
    - maxLength: `500` · minLength: `1`

## Example request

```json
{
  "allocations": [
    {
      "amountMinor": 9007199254740991,
      "commissionItemId": "string"
    }
  ],
  "note": "string",
  "remittanceLineId": "string",
  "type": "ALLOCATE"
}
```

## Code samples

### JavaScript SDK

```javascript
import { createClient } from "@nicertravel/sdk";

const nicer = createClient({
  baseUrl: "https://api.nicer.travel",
  token: process.env.NICER_TOKEN,
  headers: { "Idempotency-Key": process.env.NICER_IDEMPOTENCY_KEY, "x-nicer-company": process.env.NICER_COMPANY },
});

await nicer.commerce.remittances.actions.create({
  "remittanceId": "string",
  "allocations": [
    {
      "amountMinor": 9007199254740991,
      "commissionItemId": "string"
    }
  ],
  "remittanceLineId": "string",
  "type": "ALLOCATE"
});
```

### Nicer CLI

```bash
nicer commerce remittances actions create --remittance-id 'string' --company "$NICER_COMPANY" --input - <<'JSON'
{
  "allocations": [
    {
      "amountMinor": 9007199254740991,
      "commissionItemId": "string"
    }
  ],
  "remittanceLineId": "string",
  "type": "ALLOCATE"
}
JSON
```

### cURL

```bash
curl --request POST \
  --url 'https://api.nicer.travel/commerce/remittances/<remittanceId>/actions' \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'Idempotency-Key: string' \
  --header 'x-nicer-company: string' \
  --data '
{
  "allocations": [
    {
      "amountMinor": 9007199254740991,
      "commissionItemId": "string"
    }
  ],
  "note": "string",
  "remittanceLineId": "string",
  "type": "ALLOCATE"
}
'
```

### TypeScript

```typescript
const url = 'https://api.nicer.travel/commerce/remittances/<remittanceId>/actions';
const options = {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
    'Idempotency-Key': 'string',
    'x-nicer-company': 'string',
    Authorization: 'Bearer <token>'
  },
  body: JSON.stringify({
    allocations: [{amountMinor: 9007199254740991, commissionItemId: 'string'}],
    note: 'string',
    remittanceLineId: 'string',
    type: 'ALLOCATE'
  })
};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://api.nicer.travel/commerce/remittances/<remittanceId>/actions"

payload = {
    "allocations": [
        {
            "amountMinor": 9007199254740991,
            "commissionItemId": "string"
        }
    ],
    "note": "string",
    "remittanceLineId": "string",
    "type": "ALLOCATE"
}
headers = {
    "Content-Type": "application/json",
    "Idempotency-Key": "string",
    "x-nicer-company": "string",
    "Authorization": "Bearer <token>"
}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
```

## Responses

### 200

OK

#### Example

```json
{
  "allocatedMinor": -9007199254740991,
  "batchId": "string",
  "channel": "ARC",
  "companyName": "string",
  "createdAt": "2019-08-24T14:15:22Z",
  "currency": "string",
  "feeMinor": 9007199254740991,
  "grossMinor": -9007199254740991,
  "lineCount": 9007199254740991,
  "number": "string",
  "payableOn": "2019-08-24",
  "payerKind": "SUPPLIER",
  "payerName": "string",
  "postedAt": "2019-08-24T14:15:22Z",
  "receivedOn": "2019-08-24",
  "reference": "string",
  "remittanceId": "string",
  "source": "MANUAL",
  "state": "DRAFT",
  "supplierId": "string",
  "unallocatedMinor": -9007199254740991,
  "allowedActions": [
    "ALLOCATE"
  ],
  "claims": [
    {
      "amountMinor": 9007199254740991,
      "claimId": "string",
      "claimantCompanyName": "string",
      "claimantUserId": "string",
      "commissionItemId": "string",
      "createdAt": "2019-08-24T14:15:22Z",
      "decidedAt": "2019-08-24T14:15:22Z",
      "decidedByUserId": "string",
      "decisionReason": "string",
      "itemCompanyName": "string",
      "itemNumber": "string",
      "note": "string",
      "remittanceId": "string",
      "remittanceLineId": "string",
      "status": "PENDING"
    }
  ],
  "createdByUserId": "string",
  "duplicateOfRemittanceId": "string",
  "lines": [
    {
      "allocatedMinor": -9007199254740991,
      "allocations": [
        {
          "allocatedByUserId": "string",
          "allocationId": "string",
          "amountMinor": -9007199254740991,
          "commissionItemId": "string",
          "createdAt": "2019-08-24T14:15:22Z",
          "currency": "string",
          "entryType": "ALLOCATION",
          "fxRate": "string",
          "itemCompanyName": "string",
          "itemNumber": "string",
          "lineAmountMinor": -9007199254740991,
          "matchScore": 100,
          "method": "AUTO",
          "reason": "string",
          "receivedOn": "2019-08-24",
          "remittanceLineId": "string",
          "reversedMinor": 9007199254740991,
          "reversesAllocationId": "string",
          "split": {
            "advisorMinor": -9007199254740991,
            "agencyMinor": -9007199254740991,
            "feesMinor": -9007199254740991,
            "hostMinor": -9007199254740991,
            "houseMinor": -9007199254740991,
            "referrerMinor": -9007199254740991
          }
        }
      ],
      "amountMinor": -9007199254740991,
      "archivedAt": "2019-08-24T14:15:22Z",
      "batchId": "string",
      "cells": {
        "property1": "string",
        "property2": "string"
      },
      "currency": "string",
      "duplicateOfLineId": "string",
      "exclusionReason": "DUPLICATE",
      "feeMinor": 9007199254740991,
      "fxRate": "string",
      "lineNumber": 9007199254740991,
      "matchState": "UNMATCHED",
      "originalAmountMinor": -9007199254740991,
      "originalCurrency": "string",
      "proposals": [
        {
          "autoEligible": true,
          "balanceMinor": 9007199254740991,
          "clientName": "string",
          "commissionItemId": "string",
          "companyName": "string",
          "confirmationNumber": "string",
          "currency": "string",
          "features": {
            "property1": -100,
            "property2": -100
          },
          "itemNumber": "string",
          "method": "AUTO",
          "proposedAmountMinor": 9007199254740991,
          "rank": 9007199254740991,
          "score": 100,
          "selected": true,
          "supplierName": "string",
          "travelEnd": "2019-08-24",
          "travelStart": "2019-08-24"
        }
      ],
      "received": {
        "checkIn": "2019-08-24",
        "checkOut": "2019-08-24",
        "clientName": "string",
        "confirmationNumber": "string",
        "grossMinor": -9007199254740991,
        "identifierNumber": "string",
        "rateBps": 10000,
        "supplierName": "string"
      },
      "remittanceId": "string",
      "remittanceLineId": "string",
      "unallocatedMinor": -9007199254740991
    }
  ],
  "nextLineCursor": "string",
  "notes": [
    {
      "authorUserId": "string",
      "bodyMarkdown": "string",
      "createdAt": "2019-08-24T14:15:22Z",
      "noteId": "string"
    }
  ],
  "tags": [
    "string"
  ],
  "voidReason": "string"
}
```

- `allocatedMinor` (`commerce.remittances.actions.create.response.200.allocatedMinor`; integer, required)
  - maximum: `9007199254740991` · minimum: `-9007199254740991`
- `batchId` (`commerce.remittances.actions.create.response.200.batchId`; any of, required)
  - any of the following: `string`, `null`
- `channel` (`commerce.remittances.actions.create.response.200.channel`; string, required)
  - one of `"ARC"`, `"BSP"`, `"CHECK"`, `"ACH"`, `"WIRE"`, `"CARD"`, `"STRIPE"`, `"CASH"`, `"HOST_STATEMENT"`, `"OTHER"`
- `companyName` (`commerce.remittances.actions.create.response.200.companyName`; string, required)
  - minLength: `1`
- `createdAt` (`commerce.remittances.actions.create.response.200.createdAt`; string, required)
  - format: `date-time` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$`
- `currency` (`commerce.remittances.actions.create.response.200.currency`; string, required)
  - pattern: `^[A-Z]{3}$`
- `feeMinor` (`commerce.remittances.actions.create.response.200.feeMinor`; integer, required)
  - maximum: `9007199254740991` · minimum: `0`
- `grossMinor` (`commerce.remittances.actions.create.response.200.grossMinor`; integer, required)
  - maximum: `9007199254740991` · minimum: `-9007199254740991`
- `lineCount` (`commerce.remittances.actions.create.response.200.lineCount`; integer, required)
  - maximum: `9007199254740991` · minimum: `0`
- `number` (`commerce.remittances.actions.create.response.200.number`; string, required)
  - minLength: `1`
- `payableOn` (`commerce.remittances.actions.create.response.200.payableOn`; string, required)
  - format: `date` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$`
- `payerKind` (`commerce.remittances.actions.create.response.200.payerKind`; string, required)
  - one of `"SUPPLIER"`, `"HOST"`, `"CLIENT"`, `"OTHER"`
- `payerName` (`commerce.remittances.actions.create.response.200.payerName`; any of, required)
  - any of the following: `string`, `null`
- `postedAt` (`commerce.remittances.actions.create.response.200.postedAt`; any of, required)
  - any of the following: `string`, `null`
- `receivedOn` (`commerce.remittances.actions.create.response.200.receivedOn`; string, required)
  - format: `date` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$`
- `reference` (`commerce.remittances.actions.create.response.200.reference`; any of, required)
  - any of the following: `string`, `null`
- `remittanceId` (`commerce.remittances.actions.create.response.200.remittanceId`; string, required)
  - minLength: `1`
- `source` (`commerce.remittances.actions.create.response.200.source`; string, required)
  - one of `"MANUAL"`, `"FILE_IMPORT"`
- `state` (`commerce.remittances.actions.create.response.200.state`; string, required)
  - one of `"DRAFT"`, `"POSTED"`, `"DUPLICATE"`, `"VOID"`
- `supplierId` (`commerce.remittances.actions.create.response.200.supplierId`; any of, required)
  - any of the following: `string`, `null`
- `unallocatedMinor` (`commerce.remittances.actions.create.response.200.unallocatedMinor`; integer, required)
  - maximum: `9007199254740991` · minimum: `-9007199254740991`
- `allowedActions` (`commerce.remittances.actions.create.response.200.allowedActions`; array of string, required)
  - one of `"ALLOCATE"`, `"REVERSE_ALLOCATION"`, `"MARK_DUPLICATE"`, `"UNMARK_DUPLICATE"`, `"VOID"`, `"APPROVE_CLAIM"`, `"REJECT_CLAIM"`
- `claims` (`commerce.remittances.actions.create.response.200.claims`; array of object, required)
  - `amountMinor` (`commerce.remittances.actions.create.response.200.claims.amountMinor`; integer, required)
    - maximum: `9007199254740991` · minimum: `0`
  - `claimId` (`commerce.remittances.actions.create.response.200.claims.claimId`; string, required)
    - minLength: `1`
  - `claimantCompanyName` (`commerce.remittances.actions.create.response.200.claims.claimantCompanyName`; string, required)
    - minLength: `1`
  - `claimantUserId` (`commerce.remittances.actions.create.response.200.claims.claimantUserId`; string, required)
    - minLength: `1`
  - `commissionItemId` (`commerce.remittances.actions.create.response.200.claims.commissionItemId`; string, required)
    - minLength: `1`
  - `createdAt` (`commerce.remittances.actions.create.response.200.claims.createdAt`; string, required)
    - format: `date-time` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$`
  - `decidedAt` (`commerce.remittances.actions.create.response.200.claims.decidedAt`; any of, required)
    - any of the following: `string`, `null`
  - `decidedByUserId` (`commerce.remittances.actions.create.response.200.claims.decidedByUserId`; any of, required)
    - any of the following: `string`, `null`
  - `decisionReason` (`commerce.remittances.actions.create.response.200.claims.decisionReason`; any of, required)
    - any of the following: `string`, `null`
  - `itemCompanyName` (`commerce.remittances.actions.create.response.200.claims.itemCompanyName`; string, required)
    - minLength: `1`
  - `itemNumber` (`commerce.remittances.actions.create.response.200.claims.itemNumber`; string, required)
    - minLength: `1`
  - `note` (`commerce.remittances.actions.create.response.200.claims.note`; any of, required)
    - any of the following: `string`, `null`
  - `remittanceId` (`commerce.remittances.actions.create.response.200.claims.remittanceId`; string, required)
    - minLength: `1`
  - `remittanceLineId` (`commerce.remittances.actions.create.response.200.claims.remittanceLineId`; string, required)
    - minLength: `1`
  - `status` (`commerce.remittances.actions.create.response.200.claims.status`; string, required)
    - one of `"PENDING"`, `"APPROVED"`, `"REJECTED"`
- `createdByUserId` (`commerce.remittances.actions.create.response.200.createdByUserId`; any of, required)
  - any of the following: `string`, `null`
- `duplicateOfRemittanceId` (`commerce.remittances.actions.create.response.200.duplicateOfRemittanceId`; any of, required)
  - any of the following: `string`, `null`
- `lines` (`commerce.remittances.actions.create.response.200.lines`; array of object, required)
  - `allocatedMinor` (`commerce.remittances.actions.create.response.200.lines.allocatedMinor`; integer, required)
    - maximum: `9007199254740991` · minimum: `-9007199254740991`
  - `allocations` (`commerce.remittances.actions.create.response.200.lines.allocations`; array of object, required)
    - `allocatedByUserId` (`commerce.remittances.actions.create.response.200.lines.allocations.allocatedByUserId`; any of, required)
      - any of the following: `string`, `null`
    - `allocationId` (`commerce.remittances.actions.create.response.200.lines.allocations.allocationId`; string, required)
      - minLength: `1`
    - `amountMinor` (`commerce.remittances.actions.create.response.200.lines.allocations.amountMinor`; integer, required)
      - maximum: `9007199254740991` · minimum: `-9007199254740991`
    - `commissionItemId` (`commerce.remittances.actions.create.response.200.lines.allocations.commissionItemId`; string, required)
      - minLength: `1`
    - `createdAt` (`commerce.remittances.actions.create.response.200.lines.allocations.createdAt`; string, required)
      - format: `date-time` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$`
    - `currency` (`commerce.remittances.actions.create.response.200.lines.allocations.currency`; string, required)
      - pattern: `^[A-Z]{3}$`
    - `entryType` (`commerce.remittances.actions.create.response.200.lines.allocations.entryType`; string, required)
      - one of `"ALLOCATION"`, `"REVERSAL"`
    - `fxRate` (`commerce.remittances.actions.create.response.200.lines.allocations.fxRate`; string, required)
      - pattern: `^\d{1,10}\.\d{8}$`
    - `itemCompanyName` (`commerce.remittances.actions.create.response.200.lines.allocations.itemCompanyName`; string, required)
      - minLength: `1`
    - `itemNumber` (`commerce.remittances.actions.create.response.200.lines.allocations.itemNumber`; string, required)
      - minLength: `1`
    - `lineAmountMinor` (`commerce.remittances.actions.create.response.200.lines.allocations.lineAmountMinor`; integer, required)
      - maximum: `9007199254740991` · minimum: `-9007199254740991`
    - `matchScore` (`commerce.remittances.actions.create.response.200.lines.allocations.matchScore`; any of, required)
      - any of the following: `number`, `null`
    - `method` (`commerce.remittances.actions.create.response.200.lines.allocations.method`; string, required)
      - one of `"AUTO"`, `"SUGGESTED"`, `"MANUAL"`, `"CLAIM"`
    - `reason` (`commerce.remittances.actions.create.response.200.lines.allocations.reason`; any of, required)
      - any of the following: `string`, `null`
    - `receivedOn` (`commerce.remittances.actions.create.response.200.lines.allocations.receivedOn`; string, required)
      - format: `date` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$`
    - `remittanceLineId` (`commerce.remittances.actions.create.response.200.lines.allocations.remittanceLineId`; string, required)
      - minLength: `1`
    - `reversedMinor` (`commerce.remittances.actions.create.response.200.lines.allocations.reversedMinor`; integer, required)
      - maximum: `9007199254740991` · minimum: `0`
    - `reversesAllocationId` (`commerce.remittances.actions.create.response.200.lines.allocations.reversesAllocationId`; any of, required)
      - any of the following: `string`, `null`
    - `split` (`commerce.remittances.actions.create.response.200.lines.allocations.split`; object, required)
      - `advisorMinor` (`commerce.remittances.actions.create.response.200.lines.allocations.split.advisorMinor`; integer, required)
        - maximum: `9007199254740991` · minimum: `-9007199254740991`
      - `agencyMinor` (`commerce.remittances.actions.create.response.200.lines.allocations.split.agencyMinor`; integer, required)
        - maximum: `9007199254740991` · minimum: `-9007199254740991`
      - `feesMinor` (`commerce.remittances.actions.create.response.200.lines.allocations.split.feesMinor`; integer, required)
        - maximum: `9007199254740991` · minimum: `-9007199254740991`
      - `hostMinor` (`commerce.remittances.actions.create.response.200.lines.allocations.split.hostMinor`; integer, required)
        - maximum: `9007199254740991` · minimum: `-9007199254740991`
      - `houseMinor` (`commerce.remittances.actions.create.response.200.lines.allocations.split.houseMinor`; integer, required)
        - maximum: `9007199254740991` · minimum: `-9007199254740991`
      - `referrerMinor` (`commerce.remittances.actions.create.response.200.lines.allocations.split.referrerMinor`; integer, required)
        - maximum: `9007199254740991` · minimum: `-9007199254740991`
  - `amountMinor` (`commerce.remittances.actions.create.response.200.lines.amountMinor`; integer, required)
    - maximum: `9007199254740991` · minimum: `-9007199254740991`
  - `archivedAt` (`commerce.remittances.actions.create.response.200.lines.archivedAt`; any of, required)
    - any of the following: `string`, `null`
  - `batchId` (`commerce.remittances.actions.create.response.200.lines.batchId`; any of, required)
    - any of the following: `string`, `null`
  - `cells` (`commerce.remittances.actions.create.response.200.lines.cells`; map of string, required)
  - `currency` (`commerce.remittances.actions.create.response.200.lines.currency`; string, required)
    - pattern: `^[A-Z]{3}$`
  - `duplicateOfLineId` (`commerce.remittances.actions.create.response.200.lines.duplicateOfLineId`; any of, required)
    - any of the following: `string`, `null`
  - `exclusionReason` (`commerce.remittances.actions.create.response.200.lines.exclusionReason`; any of, required)
    - any of the following: `LineExclusionReason`, `null`
  - `feeMinor` (`commerce.remittances.actions.create.response.200.lines.feeMinor`; integer, required)
    - maximum: `9007199254740991` · minimum: `0`
  - `fxRate` (`commerce.remittances.actions.create.response.200.lines.fxRate`; any of, required)
    - any of the following: `FxRate`, `null`
  - `lineNumber` (`commerce.remittances.actions.create.response.200.lines.lineNumber`; integer, required)
    - maximum: `9007199254740991`
  - `matchState` (`commerce.remittances.actions.create.response.200.lines.matchState`; string, required)
    - one of `"UNMATCHED"`, `"PROPOSED"`, `"PENDING_REVIEW"`, `"MATCHED"`, `"EXCLUDED"`, `"ZERO"`
  - `originalAmountMinor` (`commerce.remittances.actions.create.response.200.lines.originalAmountMinor`; any of, required)
    - any of the following: `integer`, `null`
  - `originalCurrency` (`commerce.remittances.actions.create.response.200.lines.originalCurrency`; any of, required)
    - any of the following: `CurrencyCode`, `null`
  - `proposals` (`commerce.remittances.actions.create.response.200.lines.proposals`; array of object, required)
    - `autoEligible` (`commerce.remittances.actions.create.response.200.lines.proposals.autoEligible`; boolean, required)
    - `balanceMinor` (`commerce.remittances.actions.create.response.200.lines.proposals.balanceMinor`; integer, required)
      - maximum: `9007199254740991` · minimum: `0`
    - `clientName` (`commerce.remittances.actions.create.response.200.lines.proposals.clientName`; string, required)
      - minLength: `1`
    - `commissionItemId` (`commerce.remittances.actions.create.response.200.lines.proposals.commissionItemId`; string, required)
      - minLength: `1`
    - `companyName` (`commerce.remittances.actions.create.response.200.lines.proposals.companyName`; string, required)
      - minLength: `1`
    - `confirmationNumber` (`commerce.remittances.actions.create.response.200.lines.proposals.confirmationNumber`; any of, required)
      - any of the following: `string`, `null`
    - `currency` (`commerce.remittances.actions.create.response.200.lines.proposals.currency`; string, required)
      - pattern: `^[A-Z]{3}$`
    - `features` (`commerce.remittances.actions.create.response.200.lines.proposals.features`; map of number, required)
    - `itemNumber` (`commerce.remittances.actions.create.response.200.lines.proposals.itemNumber`; string, required)
      - minLength: `1`
    - `method` (`commerce.remittances.actions.create.response.200.lines.proposals.method`; any of, required)
      - any of the following:
        - `string`: one of `"AUTO"`, `"SUGGESTED"`, `"MANUAL"`, `"CLAIM"`
        - `null`
    - `proposedAmountMinor` (`commerce.remittances.actions.create.response.200.lines.proposals.proposedAmountMinor`; integer, required)
      - maximum: `9007199254740991` · minimum: `0`
    - `rank` (`commerce.remittances.actions.create.response.200.lines.proposals.rank`; integer, required)
      - maximum: `9007199254740991`
    - `score` (`commerce.remittances.actions.create.response.200.lines.proposals.score`; number, required)
      - maximum: `100` · minimum: `0`
    - `selected` (`commerce.remittances.actions.create.response.200.lines.proposals.selected`; boolean, required)
    - `supplierName` (`commerce.remittances.actions.create.response.200.lines.proposals.supplierName`; any of, required)
      - any of the following: `string`, `null`
    - `travelEnd` (`commerce.remittances.actions.create.response.200.lines.proposals.travelEnd`; string, required)
      - format: `date` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$`
    - `travelStart` (`commerce.remittances.actions.create.response.200.lines.proposals.travelStart`; string, required)
      - format: `date` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$`
  - `received` (`commerce.remittances.actions.create.response.200.lines.received`; object, required)
    - `checkIn` (`commerce.remittances.actions.create.response.200.lines.received.checkIn`; any of, required)
      - any of the following: `string`, `null`
    - `checkOut` (`commerce.remittances.actions.create.response.200.lines.received.checkOut`; any of, required)
      - any of the following: `string`, `null`
    - `clientName` (`commerce.remittances.actions.create.response.200.lines.received.clientName`; any of, required)
      - any of the following: `string`, `null`
    - `confirmationNumber` (`commerce.remittances.actions.create.response.200.lines.received.confirmationNumber`; any of, required)
      - any of the following: `string`, `null`
    - `grossMinor` (`commerce.remittances.actions.create.response.200.lines.received.grossMinor`; any of, required)
      - any of the following: `integer`, `null`
    - `identifierNumber` (`commerce.remittances.actions.create.response.200.lines.received.identifierNumber`; any of, required)
      - any of the following: `string`, `null`
    - `rateBps` (`commerce.remittances.actions.create.response.200.lines.received.rateBps`; any of, required)
      - any of the following: `integer`, `null`
    - `supplierName` (`commerce.remittances.actions.create.response.200.lines.received.supplierName`; any of, required)
      - any of the following: `string`, `null`
  - `remittanceId` (`commerce.remittances.actions.create.response.200.lines.remittanceId`; string, required)
    - minLength: `1`
  - `remittanceLineId` (`commerce.remittances.actions.create.response.200.lines.remittanceLineId`; string, required)
    - minLength: `1`
  - `unallocatedMinor` (`commerce.remittances.actions.create.response.200.lines.unallocatedMinor`; integer, required)
    - maximum: `9007199254740991` · minimum: `-9007199254740991`
- `nextLineCursor` (`commerce.remittances.actions.create.response.200.nextLineCursor`; any of, required)
  - any of the following: `string`, `null`
- `notes` (`commerce.remittances.actions.create.response.200.notes`; array of object, required)
  - `authorUserId` (`commerce.remittances.actions.create.response.200.notes.authorUserId`; string, required)
    - minLength: `1`
  - `bodyMarkdown` (`commerce.remittances.actions.create.response.200.notes.bodyMarkdown`; string, required)
    - minLength: `1`
  - `createdAt` (`commerce.remittances.actions.create.response.200.notes.createdAt`; string, required)
    - format: `date-time` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$`
  - `noteId` (`commerce.remittances.actions.create.response.200.notes.noteId`; string, required)
    - minLength: `1`
- `tags` (`commerce.remittances.actions.create.response.200.tags`; array of string, required)
  - maxLength: `64` · minLength: `1`
- `voidReason` (`commerce.remittances.actions.create.response.200.voidReason`; any of, required)
  - any of the following: `string`, `null`

### 400

Request failed. `errorCode` is stable; `errorMessage` is for humans.

#### Example

```json
{
  "errorCode": "string",
  "errorMessage": "string"
}
```

- `errorCode` (`commerce.remittances.actions.create.response.400.errorCode`; string, required)
- `errorMessage` (`commerce.remittances.actions.create.response.400.errorMessage`; string, required)

### 401

Request failed. `errorCode` is stable; `errorMessage` is for humans.

#### Example

```json
{
  "errorCode": "string",
  "errorMessage": "string"
}
```

- `errorCode` (`commerce.remittances.actions.create.response.401.errorCode`; string, required)
- `errorMessage` (`commerce.remittances.actions.create.response.401.errorMessage`; string, required)

### 403

Request failed. `errorCode` is stable; `errorMessage` is for humans.

#### Example

```json
{
  "errorCode": "string",
  "errorMessage": "string"
}
```

- `errorCode` (`commerce.remittances.actions.create.response.403.errorCode`; string, required)
- `errorMessage` (`commerce.remittances.actions.create.response.403.errorMessage`; string, required)


Source: https://docs.nicer.travel/api/Commerce/commerce.remittances.actions.create/index.md
