> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://developer.biposervice.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://developer.biposervice.com/_mcp/server.

# Claim Record Details - UPSERT

POST https://server.bipocloud.com/tenant/intapi/Interface/Import#postIntapiInterfaceImport87
Content-Type: application/json

This api is to insert and update claims in BIPO. Each object in `Data` is one claim, and its receipts go in `Records`.

| Field | Type | Required | Description |
|---|---|---|---|
| RecordID | String | Conditional | BIPO ID of the claim. Leave blank to create a new claim. To update, approve or cancel a claim, send the RecordID returned when the claim was created. |
| ExternalRequestID | String | No | Your own reference for the claim. |
| EmployeeCode | String | Conditional | Required when creating a claim. Cannot be changed on an existing claim. |
| ClaimCode | String | Conditional | Required when creating a claim. Cannot be changed on an existing claim. |
| ClaimDate | Date | No | Claim date (yyyy-MM-dd). |
| CurrencyCode | String | No | Claim currency. Cannot be changed on an existing claim. |
| ApprovalStatus | String | No | New claim: blank or `A` = Approved, `PS` = Pending Submission (draft). Existing claim: `A` approves a draft, `C` cancels an approved claim. Leave out to keep the current status. |
| Remarks | String | No | Claim remarks. |
| Records | Array | Conditional | Receipts of the claim. A new claim needs at least 1 receipt. Leave out when you only change claim fields, approve or cancel. |
| Records[].RecordID | String | Conditional | Leave blank to add a new receipt. To update a receipt, send its RecordID (from Claim Record Details - LIST). |
| Records[].ExternalRecordID | String | No | Your own reference for the receipt. |
| Records[].ExpenseCode | String | No | Expense of the receipt. |
| Records[].ReceiptDate | Date | No | Receipt date (yyyy-MM-dd). |
| Records[].ReceiptNo | String | No | Receipt number. |
| Records[].ReceiptAmount | Decimal | No | Receipt amount. Must be greater than 0. |
| Records[].CurrencyCode | String | No | Receipt currency. |
| Records[].ExchangeRate | Decimal | No | Leave out to use the rate from Currency Exchange. |
| Records[].Remarks | String | No | Receipt remarks. |

Note:
- The response returns the claim `RecordID` in `key`. Keep it to update, approve, cancel or delete the claim later.
- Only the receipts listed in `Records` are changed. Receipts not listed are kept as they are.
- A claim type with Multiple Receipt = No accepts 1 receipt only.
- Claims are saved as an admin entry. An approved claim does not go through the approval workflow.
- The claim type's own rules (for example mandatory fields) are checked the same way as on the admin Claim Record screen.
- Spare fields can also be sent on the claim or on a receipt when they are enabled in Field Selection.
- Each claim in `Data` is processed on its own. One refused claim does not stop the others; see `invalidRecords` in the response.

Reference: https://developer.biposervice.com/bipo-portal/hrms-v-2/hrms-v-2-claim/claim-record-details-upsert

## Authentication

- `Authorization` header (bearer token, required) — Bearer authentication of the form `Bearer <token>`, where token is your auth token.

## Request

### Body (application/json)

This endpoint expects an object.

- `Data` (list of IntapiInterfaceImportPostIntapiInterfaceImport87PostRequestBodyContentApplicationJsonSchemaDataItems, required)
- `InterfaceCode` (string, required)

## Response

### 200

OK

- `data` (IntapiInterfaceImportPostIntapiInterfaceImport87PostResponsesContentApplicationJsonSchemaData, required)
- `errors` (list of any, required)
- `messages` (list of string, required)
- `errorCode` (any, optional)

## Types

### IntapiInterfaceImportPostIntapiInterfaceImport87PostRequestBodyContentApplicationJsonSchemaDataItems

- `Records` (list of IntapiInterfaceImportPostIntapiInterfaceImport87PostRequestBodyContentApplicationJsonSchemaDataItemsRecordsItems, required)
- `Remarks` (string, required)
- `RecordID` (string, required)
- `ClaimCode` (string, required)
- `ClaimDate` (date, required)
- `CurrencyCode` (string, required)
- `EmployeeCode` (string, required)
- `ExternalRequestID` (string, required)

### IntapiInterfaceImportPostIntapiInterfaceImport87PostResponsesContentApplicationJsonSchemaData

- `key` (string, required)
- `validRecords` (list of IntapiInterfaceImportPostIntapiInterfaceImport87PostResponsesContentApplicationJsonSchemaDataValidRecordsItems, required)
- `invalidRecords` (list of any, required)

### IntapiInterfaceImportPostIntapiInterfaceImport87PostRequestBodyContentApplicationJsonSchemaDataItemsRecordsItems

- `Remarks` (string, required)
- `RecordID` (string, required)
- `ReceiptNo` (string, required)
- `ExpenseCode` (string, required)
- `ReceiptDate` (date, required)
- `CurrencyCode` (string, required)
- `ReceiptAmount` (integer, required)
- `ExternalRecordID` (string, required)

### IntapiInterfaceImportPostIntapiInterfaceImport87PostResponsesContentApplicationJsonSchemaDataValidRecordsItems

- `key` (string, required)
- `message` (string, required)
- `sequence` (integer, required)

## Examples

### Add a receipt

**Request**

```json
{
  "Data": [
    {
      "Records": [
        {
          "Remarks": "Hotel parking",
          "RecordID": "",
          "ReceiptNo": "R-10002",
          "ExpenseCode": "HOTEL",
          "ReceiptDate": "2026-11-12",
          "CurrencyCode": "SGD",
          "ReceiptAmount": 18,
          "ExternalRecordID": "EXT-TXN-1005-2"
        }
      ],
      "Remarks": "string",
      "RecordID": "9cde3335-11df-f111-84cd-06540fc8457d",
      "ClaimCode": "string",
      "ClaimDate": "2023-01-15",
      "CurrencyCode": "string",
      "EmployeeCode": "string",
      "ExternalRequestID": "string"
    }
  ],
  "InterfaceCode": "BIPO-CLD"
}
```

**Response**

```json
{
  "data": {
    "key": "RecordID",
    "validRecords": [
      {
        "key": "9cde3335-11df-f111-84cd-06540fc8457d",
        "message": "Updated",
        "sequence": 1
      }
    ],
    "invalidRecords": []
  },
  "errors": [],
  "messages": [
    "1 record(s) imported."
  ]
}
```

**SDK Code**

```python Add a receipt
import requests

url = "https://server.bipocloud.com/tenant/intapi/Interface/Import#postIntapiInterfaceImport87"

payload = {
    "Data": [
        {
            "Records": [
                {
                    "Remarks": "Hotel parking",
                    "RecordID": "",
                    "ReceiptNo": "R-10002",
                    "ExpenseCode": "HOTEL",
                    "ReceiptDate": "2026-11-12",
                    "CurrencyCode": "SGD",
                    "ReceiptAmount": 18,
                    "ExternalRecordID": "EXT-TXN-1005-2"
                }
            ],
            "Remarks": "string",
            "RecordID": "9cde3335-11df-f111-84cd-06540fc8457d",
            "ClaimCode": "string",
            "ClaimDate": "2023-01-15",
            "CurrencyCode": "string",
            "EmployeeCode": "string",
            "ExternalRequestID": "string"
        }
    ],
    "InterfaceCode": "BIPO-CLD"
}
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

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

print(response.json())
```

```javascript Add a receipt
const url = 'https://server.bipocloud.com/tenant/intapi/Interface/Import#postIntapiInterfaceImport87';
const options = {
  method: 'POST',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: '{"Data":[{"Records":[{"Remarks":"Hotel parking","RecordID":"","ReceiptNo":"R-10002","ExpenseCode":"HOTEL","ReceiptDate":"2026-11-12","CurrencyCode":"SGD","ReceiptAmount":18,"ExternalRecordID":"EXT-TXN-1005-2"}],"Remarks":"string","RecordID":"9cde3335-11df-f111-84cd-06540fc8457d","ClaimCode":"string","ClaimDate":"2023-01-15","CurrencyCode":"string","EmployeeCode":"string","ExternalRequestID":"string"}],"InterfaceCode":"BIPO-CLD"}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Add a receipt
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://server.bipocloud.com/tenant/intapi/Interface/Import#postIntapiInterfaceImport87"

	payload := strings.NewReader("{\n  \"Data\": [\n    {\n      \"Records\": [\n        {\n          \"Remarks\": \"Hotel parking\",\n          \"RecordID\": \"\",\n          \"ReceiptNo\": \"R-10002\",\n          \"ExpenseCode\": \"HOTEL\",\n          \"ReceiptDate\": \"2026-11-12\",\n          \"CurrencyCode\": \"SGD\",\n          \"ReceiptAmount\": 18,\n          \"ExternalRecordID\": \"EXT-TXN-1005-2\"\n        }\n      ],\n      \"Remarks\": \"string\",\n      \"RecordID\": \"9cde3335-11df-f111-84cd-06540fc8457d\",\n      \"ClaimCode\": \"string\",\n      \"ClaimDate\": \"2023-01-15\",\n      \"CurrencyCode\": \"string\",\n      \"EmployeeCode\": \"string\",\n      \"ExternalRequestID\": \"string\"\n    }\n  ],\n  \"InterfaceCode\": \"BIPO-CLD\"\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("Authorization", "Bearer <token>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Add a receipt
require 'uri'
require 'net/http'

url = URI("https://server.bipocloud.com/tenant/intapi/Interface/Import#postIntapiInterfaceImport87")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"Data\": [\n    {\n      \"Records\": [\n        {\n          \"Remarks\": \"Hotel parking\",\n          \"RecordID\": \"\",\n          \"ReceiptNo\": \"R-10002\",\n          \"ExpenseCode\": \"HOTEL\",\n          \"ReceiptDate\": \"2026-11-12\",\n          \"CurrencyCode\": \"SGD\",\n          \"ReceiptAmount\": 18,\n          \"ExternalRecordID\": \"EXT-TXN-1005-2\"\n        }\n      ],\n      \"Remarks\": \"string\",\n      \"RecordID\": \"9cde3335-11df-f111-84cd-06540fc8457d\",\n      \"ClaimCode\": \"string\",\n      \"ClaimDate\": \"2023-01-15\",\n      \"CurrencyCode\": \"string\",\n      \"EmployeeCode\": \"string\",\n      \"ExternalRequestID\": \"string\"\n    }\n  ],\n  \"InterfaceCode\": \"BIPO-CLD\"\n}"

response = http.request(request)
puts response.read_body
```

```java Add a receipt
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://server.bipocloud.com/tenant/intapi/Interface/Import#postIntapiInterfaceImport87")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("{\n  \"Data\": [\n    {\n      \"Records\": [\n        {\n          \"Remarks\": \"Hotel parking\",\n          \"RecordID\": \"\",\n          \"ReceiptNo\": \"R-10002\",\n          \"ExpenseCode\": \"HOTEL\",\n          \"ReceiptDate\": \"2026-11-12\",\n          \"CurrencyCode\": \"SGD\",\n          \"ReceiptAmount\": 18,\n          \"ExternalRecordID\": \"EXT-TXN-1005-2\"\n        }\n      ],\n      \"Remarks\": \"string\",\n      \"RecordID\": \"9cde3335-11df-f111-84cd-06540fc8457d\",\n      \"ClaimCode\": \"string\",\n      \"ClaimDate\": \"2023-01-15\",\n      \"CurrencyCode\": \"string\",\n      \"EmployeeCode\": \"string\",\n      \"ExternalRequestID\": \"string\"\n    }\n  ],\n  \"InterfaceCode\": \"BIPO-CLD\"\n}")
  .asString();
```

```php Add a receipt
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://server.bipocloud.com/tenant/intapi/Interface/Import#postIntapiInterfaceImport87', [
  'body' => '{
  "Data": [
    {
      "Records": [
        {
          "Remarks": "Hotel parking",
          "RecordID": "",
          "ReceiptNo": "R-10002",
          "ExpenseCode": "HOTEL",
          "ReceiptDate": "2026-11-12",
          "CurrencyCode": "SGD",
          "ReceiptAmount": 18,
          "ExternalRecordID": "EXT-TXN-1005-2"
        }
      ],
      "Remarks": "string",
      "RecordID": "9cde3335-11df-f111-84cd-06540fc8457d",
      "ClaimCode": "string",
      "ClaimDate": "2023-01-15",
      "CurrencyCode": "string",
      "EmployeeCode": "string",
      "ExternalRequestID": "string"
    }
  ],
  "InterfaceCode": "BIPO-CLD"
}',
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp Add a receipt
using RestSharp;

var client = new RestClient("https://server.bipocloud.com/tenant/intapi/Interface/Import#postIntapiInterfaceImport87");
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"Data\": [\n    {\n      \"Records\": [\n        {\n          \"Remarks\": \"Hotel parking\",\n          \"RecordID\": \"\",\n          \"ReceiptNo\": \"R-10002\",\n          \"ExpenseCode\": \"HOTEL\",\n          \"ReceiptDate\": \"2026-11-12\",\n          \"CurrencyCode\": \"SGD\",\n          \"ReceiptAmount\": 18,\n          \"ExternalRecordID\": \"EXT-TXN-1005-2\"\n        }\n      ],\n      \"Remarks\": \"string\",\n      \"RecordID\": \"9cde3335-11df-f111-84cd-06540fc8457d\",\n      \"ClaimCode\": \"string\",\n      \"ClaimDate\": \"2023-01-15\",\n      \"CurrencyCode\": \"string\",\n      \"EmployeeCode\": \"string\",\n      \"ExternalRequestID\": \"string\"\n    }\n  ],\n  \"InterfaceCode\": \"BIPO-CLD\"\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift Add a receipt
import Foundation

let headers = [
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = [
  "Data": [
    [
      "Records": [
        [
          "Remarks": "Hotel parking",
          "RecordID": "",
          "ReceiptNo": "R-10002",
          "ExpenseCode": "HOTEL",
          "ReceiptDate": "2026-11-12",
          "CurrencyCode": "SGD",
          "ReceiptAmount": 18,
          "ExternalRecordID": "EXT-TXN-1005-2"
        ]
      ],
      "Remarks": "string",
      "RecordID": "9cde3335-11df-f111-84cd-06540fc8457d",
      "ClaimCode": "string",
      "ClaimDate": "2023-01-15",
      "CurrencyCode": "string",
      "EmployeeCode": "string",
      "ExternalRequestID": "string"
    ]
  ],
  "InterfaceCode": "BIPO-CLD"
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://server.bipocloud.com/tenant/intapi/Interface/Import#postIntapiInterfaceImport87")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### Cancel a claim

**Request**

```json
{
  "Data": [
    {
      "Records": [
        {
          "Remarks": "string",
          "RecordID": "string",
          "ReceiptNo": "string",
          "ExpenseCode": "string",
          "ReceiptDate": "2023-01-15",
          "CurrencyCode": "string",
          "ReceiptAmount": 1,
          "ExternalRecordID": "string"
        }
      ],
      "Remarks": "Cancelled in source system",
      "RecordID": "7b2587c1-10df-f111-84cd-06540fc8457d",
      "ClaimCode": "string",
      "ClaimDate": "2023-01-15",
      "CurrencyCode": "string",
      "EmployeeCode": "string",
      "ExternalRequestID": "string",
      "ApprovalStatus": "C"
    }
  ],
  "InterfaceCode": "BIPO-CLD"
}
```

**Response**

```json
{
  "data": {
    "key": "RecordID",
    "validRecords": [
      {
        "key": "7b2587c1-10df-f111-84cd-06540fc8457d",
        "message": "Record has been canceled.",
        "sequence": 1
      }
    ],
    "invalidRecords": []
  },
  "errors": [],
  "messages": [
    "1 record(s) imported."
  ]
}
```

**SDK Code**

```python Cancel a claim
import requests

url = "https://server.bipocloud.com/tenant/intapi/Interface/Import#postIntapiInterfaceImport87"

payload = {
    "Data": [
        {
            "Records": [
                {
                    "Remarks": "string",
                    "RecordID": "string",
                    "ReceiptNo": "string",
                    "ExpenseCode": "string",
                    "ReceiptDate": "2023-01-15",
                    "CurrencyCode": "string",
                    "ReceiptAmount": 1,
                    "ExternalRecordID": "string"
                }
            ],
            "Remarks": "Cancelled in source system",
            "RecordID": "7b2587c1-10df-f111-84cd-06540fc8457d",
            "ClaimCode": "string",
            "ClaimDate": "2023-01-15",
            "CurrencyCode": "string",
            "EmployeeCode": "string",
            "ExternalRequestID": "string",
            "ApprovalStatus": "C"
        }
    ],
    "InterfaceCode": "BIPO-CLD"
}
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

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

print(response.json())
```

```javascript Cancel a claim
const url = 'https://server.bipocloud.com/tenant/intapi/Interface/Import#postIntapiInterfaceImport87';
const options = {
  method: 'POST',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: '{"Data":[{"Records":[{"Remarks":"string","RecordID":"string","ReceiptNo":"string","ExpenseCode":"string","ReceiptDate":"2023-01-15","CurrencyCode":"string","ReceiptAmount":1,"ExternalRecordID":"string"}],"Remarks":"Cancelled in source system","RecordID":"7b2587c1-10df-f111-84cd-06540fc8457d","ClaimCode":"string","ClaimDate":"2023-01-15","CurrencyCode":"string","EmployeeCode":"string","ExternalRequestID":"string","ApprovalStatus":"C"}],"InterfaceCode":"BIPO-CLD"}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Cancel a claim
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://server.bipocloud.com/tenant/intapi/Interface/Import#postIntapiInterfaceImport87"

	payload := strings.NewReader("{\n  \"Data\": [\n    {\n      \"Records\": [\n        {\n          \"Remarks\": \"string\",\n          \"RecordID\": \"string\",\n          \"ReceiptNo\": \"string\",\n          \"ExpenseCode\": \"string\",\n          \"ReceiptDate\": \"2023-01-15\",\n          \"CurrencyCode\": \"string\",\n          \"ReceiptAmount\": 1,\n          \"ExternalRecordID\": \"string\"\n        }\n      ],\n      \"Remarks\": \"Cancelled in source system\",\n      \"RecordID\": \"7b2587c1-10df-f111-84cd-06540fc8457d\",\n      \"ClaimCode\": \"string\",\n      \"ClaimDate\": \"2023-01-15\",\n      \"CurrencyCode\": \"string\",\n      \"EmployeeCode\": \"string\",\n      \"ExternalRequestID\": \"string\",\n      \"ApprovalStatus\": \"C\"\n    }\n  ],\n  \"InterfaceCode\": \"BIPO-CLD\"\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("Authorization", "Bearer <token>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Cancel a claim
require 'uri'
require 'net/http'

url = URI("https://server.bipocloud.com/tenant/intapi/Interface/Import#postIntapiInterfaceImport87")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"Data\": [\n    {\n      \"Records\": [\n        {\n          \"Remarks\": \"string\",\n          \"RecordID\": \"string\",\n          \"ReceiptNo\": \"string\",\n          \"ExpenseCode\": \"string\",\n          \"ReceiptDate\": \"2023-01-15\",\n          \"CurrencyCode\": \"string\",\n          \"ReceiptAmount\": 1,\n          \"ExternalRecordID\": \"string\"\n        }\n      ],\n      \"Remarks\": \"Cancelled in source system\",\n      \"RecordID\": \"7b2587c1-10df-f111-84cd-06540fc8457d\",\n      \"ClaimCode\": \"string\",\n      \"ClaimDate\": \"2023-01-15\",\n      \"CurrencyCode\": \"string\",\n      \"EmployeeCode\": \"string\",\n      \"ExternalRequestID\": \"string\",\n      \"ApprovalStatus\": \"C\"\n    }\n  ],\n  \"InterfaceCode\": \"BIPO-CLD\"\n}"

response = http.request(request)
puts response.read_body
```

```java Cancel a claim
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://server.bipocloud.com/tenant/intapi/Interface/Import#postIntapiInterfaceImport87")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("{\n  \"Data\": [\n    {\n      \"Records\": [\n        {\n          \"Remarks\": \"string\",\n          \"RecordID\": \"string\",\n          \"ReceiptNo\": \"string\",\n          \"ExpenseCode\": \"string\",\n          \"ReceiptDate\": \"2023-01-15\",\n          \"CurrencyCode\": \"string\",\n          \"ReceiptAmount\": 1,\n          \"ExternalRecordID\": \"string\"\n        }\n      ],\n      \"Remarks\": \"Cancelled in source system\",\n      \"RecordID\": \"7b2587c1-10df-f111-84cd-06540fc8457d\",\n      \"ClaimCode\": \"string\",\n      \"ClaimDate\": \"2023-01-15\",\n      \"CurrencyCode\": \"string\",\n      \"EmployeeCode\": \"string\",\n      \"ExternalRequestID\": \"string\",\n      \"ApprovalStatus\": \"C\"\n    }\n  ],\n  \"InterfaceCode\": \"BIPO-CLD\"\n}")
  .asString();
```

```php Cancel a claim
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://server.bipocloud.com/tenant/intapi/Interface/Import#postIntapiInterfaceImport87', [
  'body' => '{
  "Data": [
    {
      "Records": [
        {
          "Remarks": "string",
          "RecordID": "string",
          "ReceiptNo": "string",
          "ExpenseCode": "string",
          "ReceiptDate": "2023-01-15",
          "CurrencyCode": "string",
          "ReceiptAmount": 1,
          "ExternalRecordID": "string"
        }
      ],
      "Remarks": "Cancelled in source system",
      "RecordID": "7b2587c1-10df-f111-84cd-06540fc8457d",
      "ClaimCode": "string",
      "ClaimDate": "2023-01-15",
      "CurrencyCode": "string",
      "EmployeeCode": "string",
      "ExternalRequestID": "string",
      "ApprovalStatus": "C"
    }
  ],
  "InterfaceCode": "BIPO-CLD"
}',
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp Cancel a claim
using RestSharp;

var client = new RestClient("https://server.bipocloud.com/tenant/intapi/Interface/Import#postIntapiInterfaceImport87");
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"Data\": [\n    {\n      \"Records\": [\n        {\n          \"Remarks\": \"string\",\n          \"RecordID\": \"string\",\n          \"ReceiptNo\": \"string\",\n          \"ExpenseCode\": \"string\",\n          \"ReceiptDate\": \"2023-01-15\",\n          \"CurrencyCode\": \"string\",\n          \"ReceiptAmount\": 1,\n          \"ExternalRecordID\": \"string\"\n        }\n      ],\n      \"Remarks\": \"Cancelled in source system\",\n      \"RecordID\": \"7b2587c1-10df-f111-84cd-06540fc8457d\",\n      \"ClaimCode\": \"string\",\n      \"ClaimDate\": \"2023-01-15\",\n      \"CurrencyCode\": \"string\",\n      \"EmployeeCode\": \"string\",\n      \"ExternalRequestID\": \"string\",\n      \"ApprovalStatus\": \"C\"\n    }\n  ],\n  \"InterfaceCode\": \"BIPO-CLD\"\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift Cancel a claim
import Foundation

let headers = [
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = [
  "Data": [
    [
      "Records": [
        [
          "Remarks": "string",
          "RecordID": "string",
          "ReceiptNo": "string",
          "ExpenseCode": "string",
          "ReceiptDate": "2023-01-15",
          "CurrencyCode": "string",
          "ReceiptAmount": 1,
          "ExternalRecordID": "string"
        ]
      ],
      "Remarks": "Cancelled in source system",
      "RecordID": "7b2587c1-10df-f111-84cd-06540fc8457d",
      "ClaimCode": "string",
      "ClaimDate": "2023-01-15",
      "CurrencyCode": "string",
      "EmployeeCode": "string",
      "ExternalRequestID": "string",
      "ApprovalStatus": "C"
    ]
  ],
  "InterfaceCode": "BIPO-CLD"
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://server.bipocloud.com/tenant/intapi/Interface/Import#postIntapiInterfaceImport87")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### Update a receipt

**Request**

```json
{
  "Data": [
    {
      "Records": [
        {
          "Remarks": "Amount corrected",
          "RecordID": "b4de3335-11df-f111-84cd-06540fc8457d",
          "ReceiptNo": "string",
          "ExpenseCode": "string",
          "ReceiptDate": "2023-01-15",
          "CurrencyCode": "string",
          "ReceiptAmount": 1,
          "ExternalRecordID": "string"
        }
      ],
      "Remarks": "string",
      "RecordID": "9cde3335-11df-f111-84cd-06540fc8457d",
      "ClaimCode": "string",
      "ClaimDate": "2023-01-15",
      "CurrencyCode": "string",
      "EmployeeCode": "string",
      "ExternalRequestID": "string"
    }
  ],
  "InterfaceCode": "BIPO-CLD"
}
```

**Response**

```json
{
  "data": {
    "key": "RecordID",
    "validRecords": [
      {
        "key": "9cde3335-11df-f111-84cd-06540fc8457d",
        "message": "Updated",
        "sequence": 1
      }
    ],
    "invalidRecords": []
  },
  "errors": [],
  "messages": [
    "1 record(s) imported."
  ]
}
```

**SDK Code**

```python Update a receipt
import requests

url = "https://server.bipocloud.com/tenant/intapi/Interface/Import#postIntapiInterfaceImport87"

payload = {
    "Data": [
        {
            "Records": [
                {
                    "Remarks": "Amount corrected",
                    "RecordID": "b4de3335-11df-f111-84cd-06540fc8457d",
                    "ReceiptNo": "string",
                    "ExpenseCode": "string",
                    "ReceiptDate": "2023-01-15",
                    "CurrencyCode": "string",
                    "ReceiptAmount": 1,
                    "ExternalRecordID": "string"
                }
            ],
            "Remarks": "string",
            "RecordID": "9cde3335-11df-f111-84cd-06540fc8457d",
            "ClaimCode": "string",
            "ClaimDate": "2023-01-15",
            "CurrencyCode": "string",
            "EmployeeCode": "string",
            "ExternalRequestID": "string"
        }
    ],
    "InterfaceCode": "BIPO-CLD"
}
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

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

print(response.json())
```

```javascript Update a receipt
const url = 'https://server.bipocloud.com/tenant/intapi/Interface/Import#postIntapiInterfaceImport87';
const options = {
  method: 'POST',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: '{"Data":[{"Records":[{"Remarks":"Amount corrected","RecordID":"b4de3335-11df-f111-84cd-06540fc8457d","ReceiptNo":"string","ExpenseCode":"string","ReceiptDate":"2023-01-15","CurrencyCode":"string","ReceiptAmount":1,"ExternalRecordID":"string"}],"Remarks":"string","RecordID":"9cde3335-11df-f111-84cd-06540fc8457d","ClaimCode":"string","ClaimDate":"2023-01-15","CurrencyCode":"string","EmployeeCode":"string","ExternalRequestID":"string"}],"InterfaceCode":"BIPO-CLD"}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Update a receipt
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://server.bipocloud.com/tenant/intapi/Interface/Import#postIntapiInterfaceImport87"

	payload := strings.NewReader("{\n  \"Data\": [\n    {\n      \"Records\": [\n        {\n          \"Remarks\": \"Amount corrected\",\n          \"RecordID\": \"b4de3335-11df-f111-84cd-06540fc8457d\",\n          \"ReceiptNo\": \"string\",\n          \"ExpenseCode\": \"string\",\n          \"ReceiptDate\": \"2023-01-15\",\n          \"CurrencyCode\": \"string\",\n          \"ReceiptAmount\": 1,\n          \"ExternalRecordID\": \"string\"\n        }\n      ],\n      \"Remarks\": \"string\",\n      \"RecordID\": \"9cde3335-11df-f111-84cd-06540fc8457d\",\n      \"ClaimCode\": \"string\",\n      \"ClaimDate\": \"2023-01-15\",\n      \"CurrencyCode\": \"string\",\n      \"EmployeeCode\": \"string\",\n      \"ExternalRequestID\": \"string\"\n    }\n  ],\n  \"InterfaceCode\": \"BIPO-CLD\"\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("Authorization", "Bearer <token>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Update a receipt
require 'uri'
require 'net/http'

url = URI("https://server.bipocloud.com/tenant/intapi/Interface/Import#postIntapiInterfaceImport87")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"Data\": [\n    {\n      \"Records\": [\n        {\n          \"Remarks\": \"Amount corrected\",\n          \"RecordID\": \"b4de3335-11df-f111-84cd-06540fc8457d\",\n          \"ReceiptNo\": \"string\",\n          \"ExpenseCode\": \"string\",\n          \"ReceiptDate\": \"2023-01-15\",\n          \"CurrencyCode\": \"string\",\n          \"ReceiptAmount\": 1,\n          \"ExternalRecordID\": \"string\"\n        }\n      ],\n      \"Remarks\": \"string\",\n      \"RecordID\": \"9cde3335-11df-f111-84cd-06540fc8457d\",\n      \"ClaimCode\": \"string\",\n      \"ClaimDate\": \"2023-01-15\",\n      \"CurrencyCode\": \"string\",\n      \"EmployeeCode\": \"string\",\n      \"ExternalRequestID\": \"string\"\n    }\n  ],\n  \"InterfaceCode\": \"BIPO-CLD\"\n}"

response = http.request(request)
puts response.read_body
```

```java Update a receipt
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://server.bipocloud.com/tenant/intapi/Interface/Import#postIntapiInterfaceImport87")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("{\n  \"Data\": [\n    {\n      \"Records\": [\n        {\n          \"Remarks\": \"Amount corrected\",\n          \"RecordID\": \"b4de3335-11df-f111-84cd-06540fc8457d\",\n          \"ReceiptNo\": \"string\",\n          \"ExpenseCode\": \"string\",\n          \"ReceiptDate\": \"2023-01-15\",\n          \"CurrencyCode\": \"string\",\n          \"ReceiptAmount\": 1,\n          \"ExternalRecordID\": \"string\"\n        }\n      ],\n      \"Remarks\": \"string\",\n      \"RecordID\": \"9cde3335-11df-f111-84cd-06540fc8457d\",\n      \"ClaimCode\": \"string\",\n      \"ClaimDate\": \"2023-01-15\",\n      \"CurrencyCode\": \"string\",\n      \"EmployeeCode\": \"string\",\n      \"ExternalRequestID\": \"string\"\n    }\n  ],\n  \"InterfaceCode\": \"BIPO-CLD\"\n}")
  .asString();
```

```php Update a receipt
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://server.bipocloud.com/tenant/intapi/Interface/Import#postIntapiInterfaceImport87', [
  'body' => '{
  "Data": [
    {
      "Records": [
        {
          "Remarks": "Amount corrected",
          "RecordID": "b4de3335-11df-f111-84cd-06540fc8457d",
          "ReceiptNo": "string",
          "ExpenseCode": "string",
          "ReceiptDate": "2023-01-15",
          "CurrencyCode": "string",
          "ReceiptAmount": 1,
          "ExternalRecordID": "string"
        }
      ],
      "Remarks": "string",
      "RecordID": "9cde3335-11df-f111-84cd-06540fc8457d",
      "ClaimCode": "string",
      "ClaimDate": "2023-01-15",
      "CurrencyCode": "string",
      "EmployeeCode": "string",
      "ExternalRequestID": "string"
    }
  ],
  "InterfaceCode": "BIPO-CLD"
}',
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp Update a receipt
using RestSharp;

var client = new RestClient("https://server.bipocloud.com/tenant/intapi/Interface/Import#postIntapiInterfaceImport87");
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"Data\": [\n    {\n      \"Records\": [\n        {\n          \"Remarks\": \"Amount corrected\",\n          \"RecordID\": \"b4de3335-11df-f111-84cd-06540fc8457d\",\n          \"ReceiptNo\": \"string\",\n          \"ExpenseCode\": \"string\",\n          \"ReceiptDate\": \"2023-01-15\",\n          \"CurrencyCode\": \"string\",\n          \"ReceiptAmount\": 1,\n          \"ExternalRecordID\": \"string\"\n        }\n      ],\n      \"Remarks\": \"string\",\n      \"RecordID\": \"9cde3335-11df-f111-84cd-06540fc8457d\",\n      \"ClaimCode\": \"string\",\n      \"ClaimDate\": \"2023-01-15\",\n      \"CurrencyCode\": \"string\",\n      \"EmployeeCode\": \"string\",\n      \"ExternalRequestID\": \"string\"\n    }\n  ],\n  \"InterfaceCode\": \"BIPO-CLD\"\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift Update a receipt
import Foundation

let headers = [
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = [
  "Data": [
    [
      "Records": [
        [
          "Remarks": "Amount corrected",
          "RecordID": "b4de3335-11df-f111-84cd-06540fc8457d",
          "ReceiptNo": "string",
          "ExpenseCode": "string",
          "ReceiptDate": "2023-01-15",
          "CurrencyCode": "string",
          "ReceiptAmount": 1,
          "ExternalRecordID": "string"
        ]
      ],
      "Remarks": "string",
      "RecordID": "9cde3335-11df-f111-84cd-06540fc8457d",
      "ClaimCode": "string",
      "ClaimDate": "2023-01-15",
      "CurrencyCode": "string",
      "EmployeeCode": "string",
      "ExternalRequestID": "string"
    ]
  ],
  "InterfaceCode": "BIPO-CLD"
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://server.bipocloud.com/tenant/intapi/Interface/Import#postIntapiInterfaceImport87")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### Approve a draft claim

**Request**

```json
{
  "Data": [
    {
      "Records": [
        {
          "Remarks": "string",
          "RecordID": "string",
          "ReceiptNo": "string",
          "ExpenseCode": "string",
          "ReceiptDate": "2023-01-15",
          "CurrencyCode": "string",
          "ReceiptAmount": 1,
          "ExternalRecordID": "string"
        }
      ],
      "Remarks": "string",
      "RecordID": "9cde3335-11df-f111-84cd-06540fc8457d",
      "ClaimCode": "string",
      "ClaimDate": "2023-01-15",
      "CurrencyCode": "string",
      "EmployeeCode": "string",
      "ExternalRequestID": "string",
      "ApprovalStatus": "A"
    }
  ],
  "InterfaceCode": "BIPO-CLD"
}
```

**Response**

```json
{
  "data": {
    "key": "RecordID",
    "validRecords": [
      {
        "key": "9cde3335-11df-f111-84cd-06540fc8457d",
        "message": "Updated",
        "sequence": 1
      }
    ],
    "invalidRecords": []
  },
  "errors": [],
  "messages": [
    "1 record(s) imported."
  ]
}
```

**SDK Code**

```python Approve a draft claim
import requests

url = "https://server.bipocloud.com/tenant/intapi/Interface/Import#postIntapiInterfaceImport87"

payload = {
    "Data": [
        {
            "Records": [
                {
                    "Remarks": "string",
                    "RecordID": "string",
                    "ReceiptNo": "string",
                    "ExpenseCode": "string",
                    "ReceiptDate": "2023-01-15",
                    "CurrencyCode": "string",
                    "ReceiptAmount": 1,
                    "ExternalRecordID": "string"
                }
            ],
            "Remarks": "string",
            "RecordID": "9cde3335-11df-f111-84cd-06540fc8457d",
            "ClaimCode": "string",
            "ClaimDate": "2023-01-15",
            "CurrencyCode": "string",
            "EmployeeCode": "string",
            "ExternalRequestID": "string",
            "ApprovalStatus": "A"
        }
    ],
    "InterfaceCode": "BIPO-CLD"
}
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

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

print(response.json())
```

```javascript Approve a draft claim
const url = 'https://server.bipocloud.com/tenant/intapi/Interface/Import#postIntapiInterfaceImport87';
const options = {
  method: 'POST',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: '{"Data":[{"Records":[{"Remarks":"string","RecordID":"string","ReceiptNo":"string","ExpenseCode":"string","ReceiptDate":"2023-01-15","CurrencyCode":"string","ReceiptAmount":1,"ExternalRecordID":"string"}],"Remarks":"string","RecordID":"9cde3335-11df-f111-84cd-06540fc8457d","ClaimCode":"string","ClaimDate":"2023-01-15","CurrencyCode":"string","EmployeeCode":"string","ExternalRequestID":"string","ApprovalStatus":"A"}],"InterfaceCode":"BIPO-CLD"}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Approve a draft claim
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://server.bipocloud.com/tenant/intapi/Interface/Import#postIntapiInterfaceImport87"

	payload := strings.NewReader("{\n  \"Data\": [\n    {\n      \"Records\": [\n        {\n          \"Remarks\": \"string\",\n          \"RecordID\": \"string\",\n          \"ReceiptNo\": \"string\",\n          \"ExpenseCode\": \"string\",\n          \"ReceiptDate\": \"2023-01-15\",\n          \"CurrencyCode\": \"string\",\n          \"ReceiptAmount\": 1,\n          \"ExternalRecordID\": \"string\"\n        }\n      ],\n      \"Remarks\": \"string\",\n      \"RecordID\": \"9cde3335-11df-f111-84cd-06540fc8457d\",\n      \"ClaimCode\": \"string\",\n      \"ClaimDate\": \"2023-01-15\",\n      \"CurrencyCode\": \"string\",\n      \"EmployeeCode\": \"string\",\n      \"ExternalRequestID\": \"string\",\n      \"ApprovalStatus\": \"A\"\n    }\n  ],\n  \"InterfaceCode\": \"BIPO-CLD\"\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("Authorization", "Bearer <token>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Approve a draft claim
require 'uri'
require 'net/http'

url = URI("https://server.bipocloud.com/tenant/intapi/Interface/Import#postIntapiInterfaceImport87")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"Data\": [\n    {\n      \"Records\": [\n        {\n          \"Remarks\": \"string\",\n          \"RecordID\": \"string\",\n          \"ReceiptNo\": \"string\",\n          \"ExpenseCode\": \"string\",\n          \"ReceiptDate\": \"2023-01-15\",\n          \"CurrencyCode\": \"string\",\n          \"ReceiptAmount\": 1,\n          \"ExternalRecordID\": \"string\"\n        }\n      ],\n      \"Remarks\": \"string\",\n      \"RecordID\": \"9cde3335-11df-f111-84cd-06540fc8457d\",\n      \"ClaimCode\": \"string\",\n      \"ClaimDate\": \"2023-01-15\",\n      \"CurrencyCode\": \"string\",\n      \"EmployeeCode\": \"string\",\n      \"ExternalRequestID\": \"string\",\n      \"ApprovalStatus\": \"A\"\n    }\n  ],\n  \"InterfaceCode\": \"BIPO-CLD\"\n}"

response = http.request(request)
puts response.read_body
```

```java Approve a draft claim
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://server.bipocloud.com/tenant/intapi/Interface/Import#postIntapiInterfaceImport87")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("{\n  \"Data\": [\n    {\n      \"Records\": [\n        {\n          \"Remarks\": \"string\",\n          \"RecordID\": \"string\",\n          \"ReceiptNo\": \"string\",\n          \"ExpenseCode\": \"string\",\n          \"ReceiptDate\": \"2023-01-15\",\n          \"CurrencyCode\": \"string\",\n          \"ReceiptAmount\": 1,\n          \"ExternalRecordID\": \"string\"\n        }\n      ],\n      \"Remarks\": \"string\",\n      \"RecordID\": \"9cde3335-11df-f111-84cd-06540fc8457d\",\n      \"ClaimCode\": \"string\",\n      \"ClaimDate\": \"2023-01-15\",\n      \"CurrencyCode\": \"string\",\n      \"EmployeeCode\": \"string\",\n      \"ExternalRequestID\": \"string\",\n      \"ApprovalStatus\": \"A\"\n    }\n  ],\n  \"InterfaceCode\": \"BIPO-CLD\"\n}")
  .asString();
```

```php Approve a draft claim
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://server.bipocloud.com/tenant/intapi/Interface/Import#postIntapiInterfaceImport87', [
  'body' => '{
  "Data": [
    {
      "Records": [
        {
          "Remarks": "string",
          "RecordID": "string",
          "ReceiptNo": "string",
          "ExpenseCode": "string",
          "ReceiptDate": "2023-01-15",
          "CurrencyCode": "string",
          "ReceiptAmount": 1,
          "ExternalRecordID": "string"
        }
      ],
      "Remarks": "string",
      "RecordID": "9cde3335-11df-f111-84cd-06540fc8457d",
      "ClaimCode": "string",
      "ClaimDate": "2023-01-15",
      "CurrencyCode": "string",
      "EmployeeCode": "string",
      "ExternalRequestID": "string",
      "ApprovalStatus": "A"
    }
  ],
  "InterfaceCode": "BIPO-CLD"
}',
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp Approve a draft claim
using RestSharp;

var client = new RestClient("https://server.bipocloud.com/tenant/intapi/Interface/Import#postIntapiInterfaceImport87");
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"Data\": [\n    {\n      \"Records\": [\n        {\n          \"Remarks\": \"string\",\n          \"RecordID\": \"string\",\n          \"ReceiptNo\": \"string\",\n          \"ExpenseCode\": \"string\",\n          \"ReceiptDate\": \"2023-01-15\",\n          \"CurrencyCode\": \"string\",\n          \"ReceiptAmount\": 1,\n          \"ExternalRecordID\": \"string\"\n        }\n      ],\n      \"Remarks\": \"string\",\n      \"RecordID\": \"9cde3335-11df-f111-84cd-06540fc8457d\",\n      \"ClaimCode\": \"string\",\n      \"ClaimDate\": \"2023-01-15\",\n      \"CurrencyCode\": \"string\",\n      \"EmployeeCode\": \"string\",\n      \"ExternalRequestID\": \"string\",\n      \"ApprovalStatus\": \"A\"\n    }\n  ],\n  \"InterfaceCode\": \"BIPO-CLD\"\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift Approve a draft claim
import Foundation

let headers = [
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = [
  "Data": [
    [
      "Records": [
        [
          "Remarks": "string",
          "RecordID": "string",
          "ReceiptNo": "string",
          "ExpenseCode": "string",
          "ReceiptDate": "2023-01-15",
          "CurrencyCode": "string",
          "ReceiptAmount": 1,
          "ExternalRecordID": "string"
        ]
      ],
      "Remarks": "string",
      "RecordID": "9cde3335-11df-f111-84cd-06540fc8457d",
      "ClaimCode": "string",
      "ClaimDate": "2023-01-15",
      "CurrencyCode": "string",
      "EmployeeCode": "string",
      "ExternalRequestID": "string",
      "ApprovalStatus": "A"
    ]
  ],
  "InterfaceCode": "BIPO-CLD"
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://server.bipocloud.com/tenant/intapi/Interface/Import#postIntapiInterfaceImport87")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### Create claim (approved)

**Request**

```json
{
  "Data": [
    {
      "Records": [
        {
          "Remarks": "Hotel 2 nights",
          "RecordID": "",
          "ReceiptNo": "R-20001",
          "ExpenseCode": "HOTEL",
          "ReceiptDate": "2026-11-10",
          "CurrencyCode": "SGD",
          "ReceiptAmount": 240,
          "ExternalRecordID": "EXT-TXN-1001-1"
        },
        {
          "Remarks": "Hotel breakfast",
          "RecordID": "",
          "ReceiptNo": "R-20002",
          "ExpenseCode": "HOTEL",
          "ReceiptDate": "2026-11-11",
          "CurrencyCode": "SGD",
          "ReceiptAmount": 1,
          "ExternalRecordID": "EXT-TXN-1001-2"
        }
      ],
      "Remarks": "Business trip",
      "RecordID": "",
      "ClaimCode": "CLAIMTESTING",
      "ClaimDate": "2026-11-13",
      "CurrencyCode": "SGD",
      "EmployeeCode": "000004",
      "ExternalRequestID": "EXT-CLM-1001"
    }
  ],
  "InterfaceCode": "BIPO-CLD"
}
```

**Response**

```json
{
  "data": {
    "key": "RecordID",
    "validRecords": [
      {
        "key": "7b2587c1-10df-f111-84cd-06540fc8457d",
        "message": "Added",
        "sequence": 1
      }
    ],
    "invalidRecords": []
  },
  "errors": [],
  "messages": [
    "1 record(s) imported."
  ]
}
```

**SDK Code**

```python Create claim (approved)
import requests

url = "https://server.bipocloud.com/tenant/intapi/Interface/Import#postIntapiInterfaceImport87"

payload = {
    "Data": [
        {
            "Records": [
                {
                    "Remarks": "Hotel 2 nights",
                    "RecordID": "",
                    "ReceiptNo": "R-20001",
                    "ExpenseCode": "HOTEL",
                    "ReceiptDate": "2026-11-10",
                    "CurrencyCode": "SGD",
                    "ReceiptAmount": 240,
                    "ExternalRecordID": "EXT-TXN-1001-1"
                },
                {
                    "Remarks": "Hotel breakfast",
                    "RecordID": "",
                    "ReceiptNo": "R-20002",
                    "ExpenseCode": "HOTEL",
                    "ReceiptDate": "2026-11-11",
                    "CurrencyCode": "SGD",
                    "ReceiptAmount": 1,
                    "ExternalRecordID": "EXT-TXN-1001-2"
                }
            ],
            "Remarks": "Business trip",
            "RecordID": "",
            "ClaimCode": "CLAIMTESTING",
            "ClaimDate": "2026-11-13",
            "CurrencyCode": "SGD",
            "EmployeeCode": "000004",
            "ExternalRequestID": "EXT-CLM-1001"
        }
    ],
    "InterfaceCode": "BIPO-CLD"
}
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

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

print(response.json())
```

```javascript Create claim (approved)
const url = 'https://server.bipocloud.com/tenant/intapi/Interface/Import#postIntapiInterfaceImport87';
const options = {
  method: 'POST',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: '{"Data":[{"Records":[{"Remarks":"Hotel 2 nights","RecordID":"","ReceiptNo":"R-20001","ExpenseCode":"HOTEL","ReceiptDate":"2026-11-10","CurrencyCode":"SGD","ReceiptAmount":240,"ExternalRecordID":"EXT-TXN-1001-1"},{"Remarks":"Hotel breakfast","RecordID":"","ReceiptNo":"R-20002","ExpenseCode":"HOTEL","ReceiptDate":"2026-11-11","CurrencyCode":"SGD","ReceiptAmount":1,"ExternalRecordID":"EXT-TXN-1001-2"}],"Remarks":"Business trip","RecordID":"","ClaimCode":"CLAIMTESTING","ClaimDate":"2026-11-13","CurrencyCode":"SGD","EmployeeCode":"000004","ExternalRequestID":"EXT-CLM-1001"}],"InterfaceCode":"BIPO-CLD"}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Create claim (approved)
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://server.bipocloud.com/tenant/intapi/Interface/Import#postIntapiInterfaceImport87"

	payload := strings.NewReader("{\n  \"Data\": [\n    {\n      \"Records\": [\n        {\n          \"Remarks\": \"Hotel 2 nights\",\n          \"RecordID\": \"\",\n          \"ReceiptNo\": \"R-20001\",\n          \"ExpenseCode\": \"HOTEL\",\n          \"ReceiptDate\": \"2026-11-10\",\n          \"CurrencyCode\": \"SGD\",\n          \"ReceiptAmount\": 240,\n          \"ExternalRecordID\": \"EXT-TXN-1001-1\"\n        },\n        {\n          \"Remarks\": \"Hotel breakfast\",\n          \"RecordID\": \"\",\n          \"ReceiptNo\": \"R-20002\",\n          \"ExpenseCode\": \"HOTEL\",\n          \"ReceiptDate\": \"2026-11-11\",\n          \"CurrencyCode\": \"SGD\",\n          \"ReceiptAmount\": 1,\n          \"ExternalRecordID\": \"EXT-TXN-1001-2\"\n        }\n      ],\n      \"Remarks\": \"Business trip\",\n      \"RecordID\": \"\",\n      \"ClaimCode\": \"CLAIMTESTING\",\n      \"ClaimDate\": \"2026-11-13\",\n      \"CurrencyCode\": \"SGD\",\n      \"EmployeeCode\": \"000004\",\n      \"ExternalRequestID\": \"EXT-CLM-1001\"\n    }\n  ],\n  \"InterfaceCode\": \"BIPO-CLD\"\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("Authorization", "Bearer <token>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Create claim (approved)
require 'uri'
require 'net/http'

url = URI("https://server.bipocloud.com/tenant/intapi/Interface/Import#postIntapiInterfaceImport87")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"Data\": [\n    {\n      \"Records\": [\n        {\n          \"Remarks\": \"Hotel 2 nights\",\n          \"RecordID\": \"\",\n          \"ReceiptNo\": \"R-20001\",\n          \"ExpenseCode\": \"HOTEL\",\n          \"ReceiptDate\": \"2026-11-10\",\n          \"CurrencyCode\": \"SGD\",\n          \"ReceiptAmount\": 240,\n          \"ExternalRecordID\": \"EXT-TXN-1001-1\"\n        },\n        {\n          \"Remarks\": \"Hotel breakfast\",\n          \"RecordID\": \"\",\n          \"ReceiptNo\": \"R-20002\",\n          \"ExpenseCode\": \"HOTEL\",\n          \"ReceiptDate\": \"2026-11-11\",\n          \"CurrencyCode\": \"SGD\",\n          \"ReceiptAmount\": 1,\n          \"ExternalRecordID\": \"EXT-TXN-1001-2\"\n        }\n      ],\n      \"Remarks\": \"Business trip\",\n      \"RecordID\": \"\",\n      \"ClaimCode\": \"CLAIMTESTING\",\n      \"ClaimDate\": \"2026-11-13\",\n      \"CurrencyCode\": \"SGD\",\n      \"EmployeeCode\": \"000004\",\n      \"ExternalRequestID\": \"EXT-CLM-1001\"\n    }\n  ],\n  \"InterfaceCode\": \"BIPO-CLD\"\n}"

response = http.request(request)
puts response.read_body
```

```java Create claim (approved)
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://server.bipocloud.com/tenant/intapi/Interface/Import#postIntapiInterfaceImport87")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("{\n  \"Data\": [\n    {\n      \"Records\": [\n        {\n          \"Remarks\": \"Hotel 2 nights\",\n          \"RecordID\": \"\",\n          \"ReceiptNo\": \"R-20001\",\n          \"ExpenseCode\": \"HOTEL\",\n          \"ReceiptDate\": \"2026-11-10\",\n          \"CurrencyCode\": \"SGD\",\n          \"ReceiptAmount\": 240,\n          \"ExternalRecordID\": \"EXT-TXN-1001-1\"\n        },\n        {\n          \"Remarks\": \"Hotel breakfast\",\n          \"RecordID\": \"\",\n          \"ReceiptNo\": \"R-20002\",\n          \"ExpenseCode\": \"HOTEL\",\n          \"ReceiptDate\": \"2026-11-11\",\n          \"CurrencyCode\": \"SGD\",\n          \"ReceiptAmount\": 1,\n          \"ExternalRecordID\": \"EXT-TXN-1001-2\"\n        }\n      ],\n      \"Remarks\": \"Business trip\",\n      \"RecordID\": \"\",\n      \"ClaimCode\": \"CLAIMTESTING\",\n      \"ClaimDate\": \"2026-11-13\",\n      \"CurrencyCode\": \"SGD\",\n      \"EmployeeCode\": \"000004\",\n      \"ExternalRequestID\": \"EXT-CLM-1001\"\n    }\n  ],\n  \"InterfaceCode\": \"BIPO-CLD\"\n}")
  .asString();
```

```php Create claim (approved)
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://server.bipocloud.com/tenant/intapi/Interface/Import#postIntapiInterfaceImport87', [
  'body' => '{
  "Data": [
    {
      "Records": [
        {
          "Remarks": "Hotel 2 nights",
          "RecordID": "",
          "ReceiptNo": "R-20001",
          "ExpenseCode": "HOTEL",
          "ReceiptDate": "2026-11-10",
          "CurrencyCode": "SGD",
          "ReceiptAmount": 240,
          "ExternalRecordID": "EXT-TXN-1001-1"
        },
        {
          "Remarks": "Hotel breakfast",
          "RecordID": "",
          "ReceiptNo": "R-20002",
          "ExpenseCode": "HOTEL",
          "ReceiptDate": "2026-11-11",
          "CurrencyCode": "SGD",
          "ReceiptAmount": 1,
          "ExternalRecordID": "EXT-TXN-1001-2"
        }
      ],
      "Remarks": "Business trip",
      "RecordID": "",
      "ClaimCode": "CLAIMTESTING",
      "ClaimDate": "2026-11-13",
      "CurrencyCode": "SGD",
      "EmployeeCode": "000004",
      "ExternalRequestID": "EXT-CLM-1001"
    }
  ],
  "InterfaceCode": "BIPO-CLD"
}',
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp Create claim (approved)
using RestSharp;

var client = new RestClient("https://server.bipocloud.com/tenant/intapi/Interface/Import#postIntapiInterfaceImport87");
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"Data\": [\n    {\n      \"Records\": [\n        {\n          \"Remarks\": \"Hotel 2 nights\",\n          \"RecordID\": \"\",\n          \"ReceiptNo\": \"R-20001\",\n          \"ExpenseCode\": \"HOTEL\",\n          \"ReceiptDate\": \"2026-11-10\",\n          \"CurrencyCode\": \"SGD\",\n          \"ReceiptAmount\": 240,\n          \"ExternalRecordID\": \"EXT-TXN-1001-1\"\n        },\n        {\n          \"Remarks\": \"Hotel breakfast\",\n          \"RecordID\": \"\",\n          \"ReceiptNo\": \"R-20002\",\n          \"ExpenseCode\": \"HOTEL\",\n          \"ReceiptDate\": \"2026-11-11\",\n          \"CurrencyCode\": \"SGD\",\n          \"ReceiptAmount\": 1,\n          \"ExternalRecordID\": \"EXT-TXN-1001-2\"\n        }\n      ],\n      \"Remarks\": \"Business trip\",\n      \"RecordID\": \"\",\n      \"ClaimCode\": \"CLAIMTESTING\",\n      \"ClaimDate\": \"2026-11-13\",\n      \"CurrencyCode\": \"SGD\",\n      \"EmployeeCode\": \"000004\",\n      \"ExternalRequestID\": \"EXT-CLM-1001\"\n    }\n  ],\n  \"InterfaceCode\": \"BIPO-CLD\"\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift Create claim (approved)
import Foundation

let headers = [
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = [
  "Data": [
    [
      "Records": [
        [
          "Remarks": "Hotel 2 nights",
          "RecordID": "",
          "ReceiptNo": "R-20001",
          "ExpenseCode": "HOTEL",
          "ReceiptDate": "2026-11-10",
          "CurrencyCode": "SGD",
          "ReceiptAmount": 240,
          "ExternalRecordID": "EXT-TXN-1001-1"
        ],
        [
          "Remarks": "Hotel breakfast",
          "RecordID": "",
          "ReceiptNo": "R-20002",
          "ExpenseCode": "HOTEL",
          "ReceiptDate": "2026-11-11",
          "CurrencyCode": "SGD",
          "ReceiptAmount": 1,
          "ExternalRecordID": "EXT-TXN-1001-2"
        ]
      ],
      "Remarks": "Business trip",
      "RecordID": "",
      "ClaimCode": "CLAIMTESTING",
      "ClaimDate": "2026-11-13",
      "CurrencyCode": "SGD",
      "EmployeeCode": "000004",
      "ExternalRequestID": "EXT-CLM-1001"
    ]
  ],
  "InterfaceCode": "BIPO-CLD"
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://server.bipocloud.com/tenant/intapi/Interface/Import#postIntapiInterfaceImport87")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### Create draft claim (Pending Submission)

**Request**

```json
{
  "Data": [
    {
      "Records": [
        {
          "Remarks": "Hotel 1 night",
          "RecordID": "",
          "ReceiptNo": "R-10001",
          "ExpenseCode": "HOTEL",
          "ReceiptDate": "2026-11-12",
          "CurrencyCode": "SGD",
          "ReceiptAmount": 120,
          "ExternalRecordID": "EXT-TXN-1005-1"
        }
      ],
      "Remarks": "Card statement Nov 2026",
      "RecordID": "",
      "ClaimCode": "CLAIMTESTING",
      "ClaimDate": "2026-11-13",
      "CurrencyCode": "SGD",
      "EmployeeCode": "000004",
      "ExternalRequestID": "EXT-CLM-1005",
      "ApprovalStatus": "PS"
    }
  ],
  "InterfaceCode": "BIPO-CLD"
}
```

**Response**

```json
{
  "data": {
    "key": "RecordID",
    "validRecords": [
      {
        "key": "9cde3335-11df-f111-84cd-06540fc8457d",
        "message": "Added",
        "sequence": 1
      }
    ],
    "invalidRecords": []
  },
  "errors": [],
  "messages": [
    "1 record(s) imported."
  ]
}
```

**SDK Code**

```python Create draft claim (Pending Submission)
import requests

url = "https://server.bipocloud.com/tenant/intapi/Interface/Import#postIntapiInterfaceImport87"

payload = {
    "Data": [
        {
            "Records": [
                {
                    "Remarks": "Hotel 1 night",
                    "RecordID": "",
                    "ReceiptNo": "R-10001",
                    "ExpenseCode": "HOTEL",
                    "ReceiptDate": "2026-11-12",
                    "CurrencyCode": "SGD",
                    "ReceiptAmount": 120,
                    "ExternalRecordID": "EXT-TXN-1005-1"
                }
            ],
            "Remarks": "Card statement Nov 2026",
            "RecordID": "",
            "ClaimCode": "CLAIMTESTING",
            "ClaimDate": "2026-11-13",
            "CurrencyCode": "SGD",
            "EmployeeCode": "000004",
            "ExternalRequestID": "EXT-CLM-1005",
            "ApprovalStatus": "PS"
        }
    ],
    "InterfaceCode": "BIPO-CLD"
}
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

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

print(response.json())
```

```javascript Create draft claim (Pending Submission)
const url = 'https://server.bipocloud.com/tenant/intapi/Interface/Import#postIntapiInterfaceImport87';
const options = {
  method: 'POST',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: '{"Data":[{"Records":[{"Remarks":"Hotel 1 night","RecordID":"","ReceiptNo":"R-10001","ExpenseCode":"HOTEL","ReceiptDate":"2026-11-12","CurrencyCode":"SGD","ReceiptAmount":120,"ExternalRecordID":"EXT-TXN-1005-1"}],"Remarks":"Card statement Nov 2026","RecordID":"","ClaimCode":"CLAIMTESTING","ClaimDate":"2026-11-13","CurrencyCode":"SGD","EmployeeCode":"000004","ExternalRequestID":"EXT-CLM-1005","ApprovalStatus":"PS"}],"InterfaceCode":"BIPO-CLD"}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Create draft claim (Pending Submission)
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://server.bipocloud.com/tenant/intapi/Interface/Import#postIntapiInterfaceImport87"

	payload := strings.NewReader("{\n  \"Data\": [\n    {\n      \"Records\": [\n        {\n          \"Remarks\": \"Hotel 1 night\",\n          \"RecordID\": \"\",\n          \"ReceiptNo\": \"R-10001\",\n          \"ExpenseCode\": \"HOTEL\",\n          \"ReceiptDate\": \"2026-11-12\",\n          \"CurrencyCode\": \"SGD\",\n          \"ReceiptAmount\": 120,\n          \"ExternalRecordID\": \"EXT-TXN-1005-1\"\n        }\n      ],\n      \"Remarks\": \"Card statement Nov 2026\",\n      \"RecordID\": \"\",\n      \"ClaimCode\": \"CLAIMTESTING\",\n      \"ClaimDate\": \"2026-11-13\",\n      \"CurrencyCode\": \"SGD\",\n      \"EmployeeCode\": \"000004\",\n      \"ExternalRequestID\": \"EXT-CLM-1005\",\n      \"ApprovalStatus\": \"PS\"\n    }\n  ],\n  \"InterfaceCode\": \"BIPO-CLD\"\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("Authorization", "Bearer <token>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Create draft claim (Pending Submission)
require 'uri'
require 'net/http'

url = URI("https://server.bipocloud.com/tenant/intapi/Interface/Import#postIntapiInterfaceImport87")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"Data\": [\n    {\n      \"Records\": [\n        {\n          \"Remarks\": \"Hotel 1 night\",\n          \"RecordID\": \"\",\n          \"ReceiptNo\": \"R-10001\",\n          \"ExpenseCode\": \"HOTEL\",\n          \"ReceiptDate\": \"2026-11-12\",\n          \"CurrencyCode\": \"SGD\",\n          \"ReceiptAmount\": 120,\n          \"ExternalRecordID\": \"EXT-TXN-1005-1\"\n        }\n      ],\n      \"Remarks\": \"Card statement Nov 2026\",\n      \"RecordID\": \"\",\n      \"ClaimCode\": \"CLAIMTESTING\",\n      \"ClaimDate\": \"2026-11-13\",\n      \"CurrencyCode\": \"SGD\",\n      \"EmployeeCode\": \"000004\",\n      \"ExternalRequestID\": \"EXT-CLM-1005\",\n      \"ApprovalStatus\": \"PS\"\n    }\n  ],\n  \"InterfaceCode\": \"BIPO-CLD\"\n}"

response = http.request(request)
puts response.read_body
```

```java Create draft claim (Pending Submission)
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://server.bipocloud.com/tenant/intapi/Interface/Import#postIntapiInterfaceImport87")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("{\n  \"Data\": [\n    {\n      \"Records\": [\n        {\n          \"Remarks\": \"Hotel 1 night\",\n          \"RecordID\": \"\",\n          \"ReceiptNo\": \"R-10001\",\n          \"ExpenseCode\": \"HOTEL\",\n          \"ReceiptDate\": \"2026-11-12\",\n          \"CurrencyCode\": \"SGD\",\n          \"ReceiptAmount\": 120,\n          \"ExternalRecordID\": \"EXT-TXN-1005-1\"\n        }\n      ],\n      \"Remarks\": \"Card statement Nov 2026\",\n      \"RecordID\": \"\",\n      \"ClaimCode\": \"CLAIMTESTING\",\n      \"ClaimDate\": \"2026-11-13\",\n      \"CurrencyCode\": \"SGD\",\n      \"EmployeeCode\": \"000004\",\n      \"ExternalRequestID\": \"EXT-CLM-1005\",\n      \"ApprovalStatus\": \"PS\"\n    }\n  ],\n  \"InterfaceCode\": \"BIPO-CLD\"\n}")
  .asString();
```

```php Create draft claim (Pending Submission)
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://server.bipocloud.com/tenant/intapi/Interface/Import#postIntapiInterfaceImport87', [
  'body' => '{
  "Data": [
    {
      "Records": [
        {
          "Remarks": "Hotel 1 night",
          "RecordID": "",
          "ReceiptNo": "R-10001",
          "ExpenseCode": "HOTEL",
          "ReceiptDate": "2026-11-12",
          "CurrencyCode": "SGD",
          "ReceiptAmount": 120,
          "ExternalRecordID": "EXT-TXN-1005-1"
        }
      ],
      "Remarks": "Card statement Nov 2026",
      "RecordID": "",
      "ClaimCode": "CLAIMTESTING",
      "ClaimDate": "2026-11-13",
      "CurrencyCode": "SGD",
      "EmployeeCode": "000004",
      "ExternalRequestID": "EXT-CLM-1005",
      "ApprovalStatus": "PS"
    }
  ],
  "InterfaceCode": "BIPO-CLD"
}',
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp Create draft claim (Pending Submission)
using RestSharp;

var client = new RestClient("https://server.bipocloud.com/tenant/intapi/Interface/Import#postIntapiInterfaceImport87");
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"Data\": [\n    {\n      \"Records\": [\n        {\n          \"Remarks\": \"Hotel 1 night\",\n          \"RecordID\": \"\",\n          \"ReceiptNo\": \"R-10001\",\n          \"ExpenseCode\": \"HOTEL\",\n          \"ReceiptDate\": \"2026-11-12\",\n          \"CurrencyCode\": \"SGD\",\n          \"ReceiptAmount\": 120,\n          \"ExternalRecordID\": \"EXT-TXN-1005-1\"\n        }\n      ],\n      \"Remarks\": \"Card statement Nov 2026\",\n      \"RecordID\": \"\",\n      \"ClaimCode\": \"CLAIMTESTING\",\n      \"ClaimDate\": \"2026-11-13\",\n      \"CurrencyCode\": \"SGD\",\n      \"EmployeeCode\": \"000004\",\n      \"ExternalRequestID\": \"EXT-CLM-1005\",\n      \"ApprovalStatus\": \"PS\"\n    }\n  ],\n  \"InterfaceCode\": \"BIPO-CLD\"\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift Create draft claim (Pending Submission)
import Foundation

let headers = [
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = [
  "Data": [
    [
      "Records": [
        [
          "Remarks": "Hotel 1 night",
          "RecordID": "",
          "ReceiptNo": "R-10001",
          "ExpenseCode": "HOTEL",
          "ReceiptDate": "2026-11-12",
          "CurrencyCode": "SGD",
          "ReceiptAmount": 120,
          "ExternalRecordID": "EXT-TXN-1005-1"
        ]
      ],
      "Remarks": "Card statement Nov 2026",
      "RecordID": "",
      "ClaimCode": "CLAIMTESTING",
      "ClaimDate": "2026-11-13",
      "CurrencyCode": "SGD",
      "EmployeeCode": "000004",
      "ExternalRequestID": "EXT-CLM-1005",
      "ApprovalStatus": "PS"
    ]
  ],
  "InterfaceCode": "BIPO-CLD"
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://server.bipocloud.com/tenant/intapi/Interface/Import#postIntapiInterfaceImport87")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### Draft claim with refused claims in the same call

**Request**

```json
{
  "Data": [
    {
      "Records": [
        {
          "Remarks": "string",
          "RecordID": "",
          "ReceiptNo": "R-30001",
          "ExpenseCode": "HOTEL",
          "ReceiptDate": "2026-11-12",
          "CurrencyCode": "SGD",
          "ReceiptAmount": 88,
          "ExternalRecordID": "EXT-TXN-1002-1"
        }
      ],
      "Remarks": "string",
      "RecordID": "",
      "ClaimCode": "CLAIMTESTING",
      "ClaimDate": "2026-11-13",
      "CurrencyCode": "SGD",
      "EmployeeCode": "000005",
      "ExternalRequestID": "EXT-CLM-1002",
      "ApprovalStatus": "PS"
    },
    {
      "Records": [
        {
          "Remarks": "string",
          "RecordID": "",
          "ReceiptNo": "R-30002",
          "ExpenseCode": "string",
          "ReceiptDate": "2026-11-12",
          "CurrencyCode": "SGD",
          "ReceiptAmount": 20,
          "ExternalRecordID": "string"
        },
        {
          "Remarks": "string",
          "RecordID": "",
          "ReceiptNo": "R-30003",
          "ExpenseCode": "string",
          "ReceiptDate": "2026-11-12",
          "CurrencyCode": "SGD",
          "ReceiptAmount": 15,
          "ExternalRecordID": "string"
        }
      ],
      "Remarks": "string",
      "RecordID": "",
      "ClaimCode": "C001",
      "ClaimDate": "2026-11-13",
      "CurrencyCode": "SGD",
      "EmployeeCode": "000005",
      "ExternalRequestID": "EXT-CLM-1003"
    },
    {
      "Records": [
        {
          "Remarks": "string",
          "RecordID": "",
          "ReceiptNo": "R-30004",
          "ExpenseCode": "HOTEL",
          "ReceiptDate": "2026-11-12",
          "CurrencyCode": "SGD",
          "ReceiptAmount": -50,
          "ExternalRecordID": "string"
        }
      ],
      "Remarks": "string",
      "RecordID": "",
      "ClaimCode": "CLAIMTESTING",
      "ClaimDate": "2026-11-13",
      "CurrencyCode": "SGD",
      "EmployeeCode": "000005",
      "ExternalRequestID": "EXT-CLM-1004"
    }
  ],
  "InterfaceCode": "BIPO-CLD"
}
```

**Response**

```json
{
  "data": {
    "key": "RecordID",
    "validRecords": [
      {
        "key": "832b39ed-10df-f111-84cd-06540fc8457d",
        "message": "Added",
        "sequence": 1
      }
    ],
    "invalidRecords": [
      {
        "errorMessage": "Claim type allows a single receipt only.",
        "key": "",
        "sequence": 2
      },
      {
        "errorMessage": "Detail Record No 1: Amount must be greater than 0.",
        "key": "",
        "sequence": 3
      }
    ]
  },
  "errors": [
    "1 record(s) imported. 2 failed record(s)."
  ],
  "messages": []
}
```

**SDK Code**

```python Draft claim with refused claims in the same call
import requests

url = "https://server.bipocloud.com/tenant/intapi/Interface/Import#postIntapiInterfaceImport87"

payload = {
    "Data": [
        {
            "Records": [
                {
                    "Remarks": "string",
                    "RecordID": "",
                    "ReceiptNo": "R-30001",
                    "ExpenseCode": "HOTEL",
                    "ReceiptDate": "2026-11-12",
                    "CurrencyCode": "SGD",
                    "ReceiptAmount": 88,
                    "ExternalRecordID": "EXT-TXN-1002-1"
                }
            ],
            "Remarks": "string",
            "RecordID": "",
            "ClaimCode": "CLAIMTESTING",
            "ClaimDate": "2026-11-13",
            "CurrencyCode": "SGD",
            "EmployeeCode": "000005",
            "ExternalRequestID": "EXT-CLM-1002",
            "ApprovalStatus": "PS"
        },
        {
            "Records": [
                {
                    "Remarks": "string",
                    "RecordID": "",
                    "ReceiptNo": "R-30002",
                    "ExpenseCode": "string",
                    "ReceiptDate": "2026-11-12",
                    "CurrencyCode": "SGD",
                    "ReceiptAmount": 20,
                    "ExternalRecordID": "string"
                },
                {
                    "Remarks": "string",
                    "RecordID": "",
                    "ReceiptNo": "R-30003",
                    "ExpenseCode": "string",
                    "ReceiptDate": "2026-11-12",
                    "CurrencyCode": "SGD",
                    "ReceiptAmount": 15,
                    "ExternalRecordID": "string"
                }
            ],
            "Remarks": "string",
            "RecordID": "",
            "ClaimCode": "C001",
            "ClaimDate": "2026-11-13",
            "CurrencyCode": "SGD",
            "EmployeeCode": "000005",
            "ExternalRequestID": "EXT-CLM-1003"
        },
        {
            "Records": [
                {
                    "Remarks": "string",
                    "RecordID": "",
                    "ReceiptNo": "R-30004",
                    "ExpenseCode": "HOTEL",
                    "ReceiptDate": "2026-11-12",
                    "CurrencyCode": "SGD",
                    "ReceiptAmount": -50,
                    "ExternalRecordID": "string"
                }
            ],
            "Remarks": "string",
            "RecordID": "",
            "ClaimCode": "CLAIMTESTING",
            "ClaimDate": "2026-11-13",
            "CurrencyCode": "SGD",
            "EmployeeCode": "000005",
            "ExternalRequestID": "EXT-CLM-1004"
        }
    ],
    "InterfaceCode": "BIPO-CLD"
}
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

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

print(response.json())
```

```javascript Draft claim with refused claims in the same call
const url = 'https://server.bipocloud.com/tenant/intapi/Interface/Import#postIntapiInterfaceImport87';
const options = {
  method: 'POST',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: '{"Data":[{"Records":[{"Remarks":"string","RecordID":"","ReceiptNo":"R-30001","ExpenseCode":"HOTEL","ReceiptDate":"2026-11-12","CurrencyCode":"SGD","ReceiptAmount":88,"ExternalRecordID":"EXT-TXN-1002-1"}],"Remarks":"string","RecordID":"","ClaimCode":"CLAIMTESTING","ClaimDate":"2026-11-13","CurrencyCode":"SGD","EmployeeCode":"000005","ExternalRequestID":"EXT-CLM-1002","ApprovalStatus":"PS"},{"Records":[{"Remarks":"string","RecordID":"","ReceiptNo":"R-30002","ExpenseCode":"string","ReceiptDate":"2026-11-12","CurrencyCode":"SGD","ReceiptAmount":20,"ExternalRecordID":"string"},{"Remarks":"string","RecordID":"","ReceiptNo":"R-30003","ExpenseCode":"string","ReceiptDate":"2026-11-12","CurrencyCode":"SGD","ReceiptAmount":15,"ExternalRecordID":"string"}],"Remarks":"string","RecordID":"","ClaimCode":"C001","ClaimDate":"2026-11-13","CurrencyCode":"SGD","EmployeeCode":"000005","ExternalRequestID":"EXT-CLM-1003"},{"Records":[{"Remarks":"string","RecordID":"","ReceiptNo":"R-30004","ExpenseCode":"HOTEL","ReceiptDate":"2026-11-12","CurrencyCode":"SGD","ReceiptAmount":-50,"ExternalRecordID":"string"}],"Remarks":"string","RecordID":"","ClaimCode":"CLAIMTESTING","ClaimDate":"2026-11-13","CurrencyCode":"SGD","EmployeeCode":"000005","ExternalRequestID":"EXT-CLM-1004"}],"InterfaceCode":"BIPO-CLD"}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Draft claim with refused claims in the same call
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://server.bipocloud.com/tenant/intapi/Interface/Import#postIntapiInterfaceImport87"

	payload := strings.NewReader("{\n  \"Data\": [\n    {\n      \"Records\": [\n        {\n          \"Remarks\": \"string\",\n          \"RecordID\": \"\",\n          \"ReceiptNo\": \"R-30001\",\n          \"ExpenseCode\": \"HOTEL\",\n          \"ReceiptDate\": \"2026-11-12\",\n          \"CurrencyCode\": \"SGD\",\n          \"ReceiptAmount\": 88,\n          \"ExternalRecordID\": \"EXT-TXN-1002-1\"\n        }\n      ],\n      \"Remarks\": \"string\",\n      \"RecordID\": \"\",\n      \"ClaimCode\": \"CLAIMTESTING\",\n      \"ClaimDate\": \"2026-11-13\",\n      \"CurrencyCode\": \"SGD\",\n      \"EmployeeCode\": \"000005\",\n      \"ExternalRequestID\": \"EXT-CLM-1002\",\n      \"ApprovalStatus\": \"PS\"\n    },\n    {\n      \"Records\": [\n        {\n          \"Remarks\": \"string\",\n          \"RecordID\": \"\",\n          \"ReceiptNo\": \"R-30002\",\n          \"ExpenseCode\": \"string\",\n          \"ReceiptDate\": \"2026-11-12\",\n          \"CurrencyCode\": \"SGD\",\n          \"ReceiptAmount\": 20,\n          \"ExternalRecordID\": \"string\"\n        },\n        {\n          \"Remarks\": \"string\",\n          \"RecordID\": \"\",\n          \"ReceiptNo\": \"R-30003\",\n          \"ExpenseCode\": \"string\",\n          \"ReceiptDate\": \"2026-11-12\",\n          \"CurrencyCode\": \"SGD\",\n          \"ReceiptAmount\": 15,\n          \"ExternalRecordID\": \"string\"\n        }\n      ],\n      \"Remarks\": \"string\",\n      \"RecordID\": \"\",\n      \"ClaimCode\": \"C001\",\n      \"ClaimDate\": \"2026-11-13\",\n      \"CurrencyCode\": \"SGD\",\n      \"EmployeeCode\": \"000005\",\n      \"ExternalRequestID\": \"EXT-CLM-1003\"\n    },\n    {\n      \"Records\": [\n        {\n          \"Remarks\": \"string\",\n          \"RecordID\": \"\",\n          \"ReceiptNo\": \"R-30004\",\n          \"ExpenseCode\": \"HOTEL\",\n          \"ReceiptDate\": \"2026-11-12\",\n          \"CurrencyCode\": \"SGD\",\n          \"ReceiptAmount\": -50,\n          \"ExternalRecordID\": \"string\"\n        }\n      ],\n      \"Remarks\": \"string\",\n      \"RecordID\": \"\",\n      \"ClaimCode\": \"CLAIMTESTING\",\n      \"ClaimDate\": \"2026-11-13\",\n      \"CurrencyCode\": \"SGD\",\n      \"EmployeeCode\": \"000005\",\n      \"ExternalRequestID\": \"EXT-CLM-1004\"\n    }\n  ],\n  \"InterfaceCode\": \"BIPO-CLD\"\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("Authorization", "Bearer <token>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Draft claim with refused claims in the same call
require 'uri'
require 'net/http'

url = URI("https://server.bipocloud.com/tenant/intapi/Interface/Import#postIntapiInterfaceImport87")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"Data\": [\n    {\n      \"Records\": [\n        {\n          \"Remarks\": \"string\",\n          \"RecordID\": \"\",\n          \"ReceiptNo\": \"R-30001\",\n          \"ExpenseCode\": \"HOTEL\",\n          \"ReceiptDate\": \"2026-11-12\",\n          \"CurrencyCode\": \"SGD\",\n          \"ReceiptAmount\": 88,\n          \"ExternalRecordID\": \"EXT-TXN-1002-1\"\n        }\n      ],\n      \"Remarks\": \"string\",\n      \"RecordID\": \"\",\n      \"ClaimCode\": \"CLAIMTESTING\",\n      \"ClaimDate\": \"2026-11-13\",\n      \"CurrencyCode\": \"SGD\",\n      \"EmployeeCode\": \"000005\",\n      \"ExternalRequestID\": \"EXT-CLM-1002\",\n      \"ApprovalStatus\": \"PS\"\n    },\n    {\n      \"Records\": [\n        {\n          \"Remarks\": \"string\",\n          \"RecordID\": \"\",\n          \"ReceiptNo\": \"R-30002\",\n          \"ExpenseCode\": \"string\",\n          \"ReceiptDate\": \"2026-11-12\",\n          \"CurrencyCode\": \"SGD\",\n          \"ReceiptAmount\": 20,\n          \"ExternalRecordID\": \"string\"\n        },\n        {\n          \"Remarks\": \"string\",\n          \"RecordID\": \"\",\n          \"ReceiptNo\": \"R-30003\",\n          \"ExpenseCode\": \"string\",\n          \"ReceiptDate\": \"2026-11-12\",\n          \"CurrencyCode\": \"SGD\",\n          \"ReceiptAmount\": 15,\n          \"ExternalRecordID\": \"string\"\n        }\n      ],\n      \"Remarks\": \"string\",\n      \"RecordID\": \"\",\n      \"ClaimCode\": \"C001\",\n      \"ClaimDate\": \"2026-11-13\",\n      \"CurrencyCode\": \"SGD\",\n      \"EmployeeCode\": \"000005\",\n      \"ExternalRequestID\": \"EXT-CLM-1003\"\n    },\n    {\n      \"Records\": [\n        {\n          \"Remarks\": \"string\",\n          \"RecordID\": \"\",\n          \"ReceiptNo\": \"R-30004\",\n          \"ExpenseCode\": \"HOTEL\",\n          \"ReceiptDate\": \"2026-11-12\",\n          \"CurrencyCode\": \"SGD\",\n          \"ReceiptAmount\": -50,\n          \"ExternalRecordID\": \"string\"\n        }\n      ],\n      \"Remarks\": \"string\",\n      \"RecordID\": \"\",\n      \"ClaimCode\": \"CLAIMTESTING\",\n      \"ClaimDate\": \"2026-11-13\",\n      \"CurrencyCode\": \"SGD\",\n      \"EmployeeCode\": \"000005\",\n      \"ExternalRequestID\": \"EXT-CLM-1004\"\n    }\n  ],\n  \"InterfaceCode\": \"BIPO-CLD\"\n}"

response = http.request(request)
puts response.read_body
```

```java Draft claim with refused claims in the same call
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://server.bipocloud.com/tenant/intapi/Interface/Import#postIntapiInterfaceImport87")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("{\n  \"Data\": [\n    {\n      \"Records\": [\n        {\n          \"Remarks\": \"string\",\n          \"RecordID\": \"\",\n          \"ReceiptNo\": \"R-30001\",\n          \"ExpenseCode\": \"HOTEL\",\n          \"ReceiptDate\": \"2026-11-12\",\n          \"CurrencyCode\": \"SGD\",\n          \"ReceiptAmount\": 88,\n          \"ExternalRecordID\": \"EXT-TXN-1002-1\"\n        }\n      ],\n      \"Remarks\": \"string\",\n      \"RecordID\": \"\",\n      \"ClaimCode\": \"CLAIMTESTING\",\n      \"ClaimDate\": \"2026-11-13\",\n      \"CurrencyCode\": \"SGD\",\n      \"EmployeeCode\": \"000005\",\n      \"ExternalRequestID\": \"EXT-CLM-1002\",\n      \"ApprovalStatus\": \"PS\"\n    },\n    {\n      \"Records\": [\n        {\n          \"Remarks\": \"string\",\n          \"RecordID\": \"\",\n          \"ReceiptNo\": \"R-30002\",\n          \"ExpenseCode\": \"string\",\n          \"ReceiptDate\": \"2026-11-12\",\n          \"CurrencyCode\": \"SGD\",\n          \"ReceiptAmount\": 20,\n          \"ExternalRecordID\": \"string\"\n        },\n        {\n          \"Remarks\": \"string\",\n          \"RecordID\": \"\",\n          \"ReceiptNo\": \"R-30003\",\n          \"ExpenseCode\": \"string\",\n          \"ReceiptDate\": \"2026-11-12\",\n          \"CurrencyCode\": \"SGD\",\n          \"ReceiptAmount\": 15,\n          \"ExternalRecordID\": \"string\"\n        }\n      ],\n      \"Remarks\": \"string\",\n      \"RecordID\": \"\",\n      \"ClaimCode\": \"C001\",\n      \"ClaimDate\": \"2026-11-13\",\n      \"CurrencyCode\": \"SGD\",\n      \"EmployeeCode\": \"000005\",\n      \"ExternalRequestID\": \"EXT-CLM-1003\"\n    },\n    {\n      \"Records\": [\n        {\n          \"Remarks\": \"string\",\n          \"RecordID\": \"\",\n          \"ReceiptNo\": \"R-30004\",\n          \"ExpenseCode\": \"HOTEL\",\n          \"ReceiptDate\": \"2026-11-12\",\n          \"CurrencyCode\": \"SGD\",\n          \"ReceiptAmount\": -50,\n          \"ExternalRecordID\": \"string\"\n        }\n      ],\n      \"Remarks\": \"string\",\n      \"RecordID\": \"\",\n      \"ClaimCode\": \"CLAIMTESTING\",\n      \"ClaimDate\": \"2026-11-13\",\n      \"CurrencyCode\": \"SGD\",\n      \"EmployeeCode\": \"000005\",\n      \"ExternalRequestID\": \"EXT-CLM-1004\"\n    }\n  ],\n  \"InterfaceCode\": \"BIPO-CLD\"\n}")
  .asString();
```

```php Draft claim with refused claims in the same call
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://server.bipocloud.com/tenant/intapi/Interface/Import#postIntapiInterfaceImport87', [
  'body' => '{
  "Data": [
    {
      "Records": [
        {
          "Remarks": "string",
          "RecordID": "",
          "ReceiptNo": "R-30001",
          "ExpenseCode": "HOTEL",
          "ReceiptDate": "2026-11-12",
          "CurrencyCode": "SGD",
          "ReceiptAmount": 88,
          "ExternalRecordID": "EXT-TXN-1002-1"
        }
      ],
      "Remarks": "string",
      "RecordID": "",
      "ClaimCode": "CLAIMTESTING",
      "ClaimDate": "2026-11-13",
      "CurrencyCode": "SGD",
      "EmployeeCode": "000005",
      "ExternalRequestID": "EXT-CLM-1002",
      "ApprovalStatus": "PS"
    },
    {
      "Records": [
        {
          "Remarks": "string",
          "RecordID": "",
          "ReceiptNo": "R-30002",
          "ExpenseCode": "string",
          "ReceiptDate": "2026-11-12",
          "CurrencyCode": "SGD",
          "ReceiptAmount": 20,
          "ExternalRecordID": "string"
        },
        {
          "Remarks": "string",
          "RecordID": "",
          "ReceiptNo": "R-30003",
          "ExpenseCode": "string",
          "ReceiptDate": "2026-11-12",
          "CurrencyCode": "SGD",
          "ReceiptAmount": 15,
          "ExternalRecordID": "string"
        }
      ],
      "Remarks": "string",
      "RecordID": "",
      "ClaimCode": "C001",
      "ClaimDate": "2026-11-13",
      "CurrencyCode": "SGD",
      "EmployeeCode": "000005",
      "ExternalRequestID": "EXT-CLM-1003"
    },
    {
      "Records": [
        {
          "Remarks": "string",
          "RecordID": "",
          "ReceiptNo": "R-30004",
          "ExpenseCode": "HOTEL",
          "ReceiptDate": "2026-11-12",
          "CurrencyCode": "SGD",
          "ReceiptAmount": -50,
          "ExternalRecordID": "string"
        }
      ],
      "Remarks": "string",
      "RecordID": "",
      "ClaimCode": "CLAIMTESTING",
      "ClaimDate": "2026-11-13",
      "CurrencyCode": "SGD",
      "EmployeeCode": "000005",
      "ExternalRequestID": "EXT-CLM-1004"
    }
  ],
  "InterfaceCode": "BIPO-CLD"
}',
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp Draft claim with refused claims in the same call
using RestSharp;

var client = new RestClient("https://server.bipocloud.com/tenant/intapi/Interface/Import#postIntapiInterfaceImport87");
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"Data\": [\n    {\n      \"Records\": [\n        {\n          \"Remarks\": \"string\",\n          \"RecordID\": \"\",\n          \"ReceiptNo\": \"R-30001\",\n          \"ExpenseCode\": \"HOTEL\",\n          \"ReceiptDate\": \"2026-11-12\",\n          \"CurrencyCode\": \"SGD\",\n          \"ReceiptAmount\": 88,\n          \"ExternalRecordID\": \"EXT-TXN-1002-1\"\n        }\n      ],\n      \"Remarks\": \"string\",\n      \"RecordID\": \"\",\n      \"ClaimCode\": \"CLAIMTESTING\",\n      \"ClaimDate\": \"2026-11-13\",\n      \"CurrencyCode\": \"SGD\",\n      \"EmployeeCode\": \"000005\",\n      \"ExternalRequestID\": \"EXT-CLM-1002\",\n      \"ApprovalStatus\": \"PS\"\n    },\n    {\n      \"Records\": [\n        {\n          \"Remarks\": \"string\",\n          \"RecordID\": \"\",\n          \"ReceiptNo\": \"R-30002\",\n          \"ExpenseCode\": \"string\",\n          \"ReceiptDate\": \"2026-11-12\",\n          \"CurrencyCode\": \"SGD\",\n          \"ReceiptAmount\": 20,\n          \"ExternalRecordID\": \"string\"\n        },\n        {\n          \"Remarks\": \"string\",\n          \"RecordID\": \"\",\n          \"ReceiptNo\": \"R-30003\",\n          \"ExpenseCode\": \"string\",\n          \"ReceiptDate\": \"2026-11-12\",\n          \"CurrencyCode\": \"SGD\",\n          \"ReceiptAmount\": 15,\n          \"ExternalRecordID\": \"string\"\n        }\n      ],\n      \"Remarks\": \"string\",\n      \"RecordID\": \"\",\n      \"ClaimCode\": \"C001\",\n      \"ClaimDate\": \"2026-11-13\",\n      \"CurrencyCode\": \"SGD\",\n      \"EmployeeCode\": \"000005\",\n      \"ExternalRequestID\": \"EXT-CLM-1003\"\n    },\n    {\n      \"Records\": [\n        {\n          \"Remarks\": \"string\",\n          \"RecordID\": \"\",\n          \"ReceiptNo\": \"R-30004\",\n          \"ExpenseCode\": \"HOTEL\",\n          \"ReceiptDate\": \"2026-11-12\",\n          \"CurrencyCode\": \"SGD\",\n          \"ReceiptAmount\": -50,\n          \"ExternalRecordID\": \"string\"\n        }\n      ],\n      \"Remarks\": \"string\",\n      \"RecordID\": \"\",\n      \"ClaimCode\": \"CLAIMTESTING\",\n      \"ClaimDate\": \"2026-11-13\",\n      \"CurrencyCode\": \"SGD\",\n      \"EmployeeCode\": \"000005\",\n      \"ExternalRequestID\": \"EXT-CLM-1004\"\n    }\n  ],\n  \"InterfaceCode\": \"BIPO-CLD\"\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift Draft claim with refused claims in the same call
import Foundation

let headers = [
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = [
  "Data": [
    [
      "Records": [
        [
          "Remarks": "string",
          "RecordID": "",
          "ReceiptNo": "R-30001",
          "ExpenseCode": "HOTEL",
          "ReceiptDate": "2026-11-12",
          "CurrencyCode": "SGD",
          "ReceiptAmount": 88,
          "ExternalRecordID": "EXT-TXN-1002-1"
        ]
      ],
      "Remarks": "string",
      "RecordID": "",
      "ClaimCode": "CLAIMTESTING",
      "ClaimDate": "2026-11-13",
      "CurrencyCode": "SGD",
      "EmployeeCode": "000005",
      "ExternalRequestID": "EXT-CLM-1002",
      "ApprovalStatus": "PS"
    ],
    [
      "Records": [
        [
          "Remarks": "string",
          "RecordID": "",
          "ReceiptNo": "R-30002",
          "ExpenseCode": "string",
          "ReceiptDate": "2026-11-12",
          "CurrencyCode": "SGD",
          "ReceiptAmount": 20,
          "ExternalRecordID": "string"
        ],
        [
          "Remarks": "string",
          "RecordID": "",
          "ReceiptNo": "R-30003",
          "ExpenseCode": "string",
          "ReceiptDate": "2026-11-12",
          "CurrencyCode": "SGD",
          "ReceiptAmount": 15,
          "ExternalRecordID": "string"
        ]
      ],
      "Remarks": "string",
      "RecordID": "",
      "ClaimCode": "C001",
      "ClaimDate": "2026-11-13",
      "CurrencyCode": "SGD",
      "EmployeeCode": "000005",
      "ExternalRequestID": "EXT-CLM-1003"
    ],
    [
      "Records": [
        [
          "Remarks": "string",
          "RecordID": "",
          "ReceiptNo": "R-30004",
          "ExpenseCode": "HOTEL",
          "ReceiptDate": "2026-11-12",
          "CurrencyCode": "SGD",
          "ReceiptAmount": -50,
          "ExternalRecordID": "string"
        ]
      ],
      "Remarks": "string",
      "RecordID": "",
      "ClaimCode": "CLAIMTESTING",
      "ClaimDate": "2026-11-13",
      "CurrencyCode": "SGD",
      "EmployeeCode": "000005",
      "ExternalRequestID": "EXT-CLM-1004"
    ]
  ],
  "InterfaceCode": "BIPO-CLD"
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://server.bipocloud.com/tenant/intapi/Interface/Import#postIntapiInterfaceImport87")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```