# SWIFT MT700, MT707 & MT760 L/C UCP 600 Audit JSON Bridge (`bifrost-data/swift-mt700-lc-ucp600-audit-bridge`) Actor

Stateless zero-retention trade finance engine. Parse SWIFT MT700, MT707, and MT760 Letters of Credit and Guarantees into clean JSON, and pre-audit Commercial Invoices, Bills of Lading, and Packing Lists against ICC UCP 600 discrepancy rules.

- **URL**: https://apify.com/bifrost-data/swift-mt700-lc-ucp600-audit-bridge.md
- **Developed by:** [SEOK HOON HONG](https://apify.com/bifrost-data) (community)
- **Categories:** Developer tools, Business, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $8.00 / 1,000 verified swift l/c or guarantee audit records

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## SWIFT MT700, MT707 & MT760 L/C UCP 600 Audit JSON Bridge

### 10-Second Summary (Why Trade Finance & Logistics Teams Use This)

- **Stop Paying $75–$150 Bank Discrepancy Fees**: Over 65% of Documentary Credit presentations are flagged on first submission due to subtle date, tolerance, port, Incoterms, or 110% CIF insurance mismatches. Pre-audit every **SWIFT `MT700`, `MT707`, and `MT760`** against your Commercial Invoice and Bill of Lading for **$0.01 per credit** (`$10.00 / 1,000`).
- **Plug Directly into Excel, Make, Zapier, n8n, ERP & AI Agents**: Converts cryptic multi-line SWIFT Category 7 messages (`:31D:`, `:32B:`, `:39A:`, `:44C:`, `:45A:`, `:46A:`, `:48:`) into flat, deterministic JSON or CSV—zero banking middleware subscriptions or manual re-typing.
- **100% Stateless RAM Execution & $0.00 Failed-Parse Guarantee**: Runs entirely in **256 MB ephemeral memory** with zero external network calls, zero disk retention, and **$0 charge** on unreadable or malformed text.

### Core Capabilities

- **Multi-Message SWIFT Category 7 Parser**: Supports full 5-block (`{1:}..{5:}`) and raw Block-4 (`:20:..:49:`) excerpts for **`MT700`** (Issue of a Documentary Credit), **`MT701`** (Continuation), **`MT707`** (Amendment with `:32B:`/`:33B:` increase/decrease calculation), **`MT710`** (Third-Bank Advice), and **`MT760`** (Demand Guarantee / Standby L/C under URDG 758 or ISP98).
- **Exact `Decimal` Credit Tolerance & SWIFT Rule Checks**: Computes `effective_min_amount` and `effective_max_amount` under **UCP 600 Article 30** (`:39A:` `+/-%` tolerance vs `:39B: NOT EXCEEDING`) and flags SWIFT network rule conflicts (`D05` `:39A:+:39B:`, `D06` `:44C:+:44D:`).
- **Automated ICC UCP 600 Cross-Document Discrepancy Engine**: When you supply a matching `presentation_packets` item (Invoice + Bill of Lading + Insurance), automatically checks:
  - **Article 6 & 14(c)**: Expired L/C (`presentation_date` after `:31D:`) and Late Presentation (`presentation_date` exceeding `:48:` days—defaulting to 21 calendar days—after B/L on-board date).
  - **Article 18 & 30**: Invoice currency mismatch and invoice amount exceeding `:32B:` + `:39A:` tolerance cap, plus `:45A:` goods/Incoterms 2020 alignment.
  - **Article 20, 27 & 31**: Late shipment (`bl_on_board_date` after `:44C:`), port of loading/discharge mismatch (`:44E:`/`:44F:`), unclean B/L, prohibited partial shipments (`:43P:`), and prohibited transhipment (`:43T:`).
  - **Article 28(f)(ii)**: CIF/CIP insurance coverage below `110%` of the invoice/credit value.

### Sample Output Record

```json
{
  "message_type": "MT700",
  "lc_or_guarantee_number": "LC2026SEOUL881",
  "currency": "USD",
  "principal_amount": "250000.00",
  "tolerance_plus_pct": "5.00",
  "tolerance_minus_pct": "5.00",
  "effective_min_amount": "237500.00",
  "effective_max_amount": "262500.00",
  "latest_shipment_date": "2026-12-10",
  "expiry_date": "2026-12-31",
  "detected_incoterms": "CIF",
  "bank_presentation_ready": true,
  "discrepancy_count": 0,
  "estimated_discrepancy_fee_saved_usd": "0.00",
  "ucp600_discrepancies": []
}
```

### Transparent Pay-Per-Event Pricing

- **Verified L/C or Guarantee Audit Record (`verified-lc-audit-record`)**: **$0.01 per message** (`$10.00 / 1,000 messages`).
- **Malformed / Empty Text**: **$0.00** (skipped automatically before dataset push).

### Related Enterprise Finance, Trade & Logistics Tools by `bifrost-data`

| Actor | Best For | Pricing |
| :--- | :--- | :--- |
| **[SWIFT MT103 & MT202 to ISO 20022 CBPR+ Wire Bridge](https://apify.com/bifrost-data/swift-mt103-cbpr-pacs008-wire-bridge)** | Decode `MT103`/`MT202` wire proofs, audit `:32A:/:33B:/:71F:` fees, flag fake MT103 scams & build `pacs.008` XML | **$8.00 / 1k** |
| **[IATA Cargo-IMP, Cargo-XML & ONE Record Air Waybill Bridge](https://apify.com/bifrost-data/iata-cargo-imp-onerecord-awb-bridge)** | Convert `FWB`/`FHL`/`FSU` air waybills to IATA ONE Record JSON-LD & audit Mod-7 AWB and `167 kg/CBM` freight billing | **$9.00 / 1k** |
| **[ISO 20022 pain.001, pacs.008 & camt.053 JSON Bridge](https://apify.com/bifrost-data/iso20022-payment-statement-bridge)** | Validate SEPA/Swiss SPS 2026 XML, check IBAN Mod-97 & convert legacy `MT940` statements to `camt.053` | **$8.00 / 1k** |
| **[BAI2 & OFX/QFX Bank Statement to JSON & camt.053 Bridge](https://apify.com/bifrost-data/bai2-ofx-bank-statement-bridge)** | Reconcile US corporate `BAI2` lockbox files & `OFX`/`QFX` bank/card statements with exact `Decimal` control totals | **$8.00 / 1k** |
| **[cXML SAP Ariba & Coupa Order, ASN & Invoice Bridge](https://apify.com/bifrost-data/cxml-ariba-coupa-procurement-bridge)** | Parse SAP Ariba & Coupa `cXML` Purchase Orders, ASNs, and Invoices to JSON or generate compliant `cXML` Invoices | **$8.00 / 1k** |

# Actor input Schema

## `swift_lc_messages` (type: `array`):

Paste one or more raw SWIFT FIN Category 7 messages (full 5-block {1:}..{5:} or Block-4 :20:..:49: text for MT700 Documentary Credit, MT707 Amendment, MT710 Advice, or MT760 Guarantee).

## `presentation_packets` (type: `array`):

Optional array of JSON objects representing the exporter's Commercial Invoice, Bill of Lading, and Insurance figures keyed by 'lc_number' to check UCP 600 compliance before bank presentation.

## `include_iso20022_tsrv_xml` (type: `boolean`):

Emit a clean ISO 20022 Trade Services / Undertaking XML envelope alongside the normalized JSON output.

## `mask_party_addresses` (type: `boolean`):

Retain company names in :50: Applicant and :59: Beneficiary while masking detailed street address lines for shared audit logs.

## `max_items` (type: `integer`):

Maximum number of verified SWIFT L/C or Guarantee messages to process and charge in this run.

## Actor input object example

```json
{
  "swift_lc_messages": [
    "{1:F01SCBLHKHHAXXX0000000000}{2:I700KOEXKRSEXXXXN}{4:\n:27:1/1\n:40A:IRREVOCABLE\n:20:LC2026SEOUL881\n:31C:261101\n:40E:UCP LATEST VERSION\n:31D:261231SINGAPORE\n:50:PACIFIC INDUSTRIAL TRADING PTE LTD\n10 MARINA BLVD SINGAPORE 018983\n:59:HANJIN PRECISION METALS CO LTD\n88 TEHERAN-RO GANGNAM-GU SEOUL KOREA\n:32B:USD250000,00\n:39A:05/05\n:41D:ANY BANK\nBY NEGOTIATION\n:42C:AT SIGHT\n:43P:ALLOWED\n:43T:NOT ALLOWED\n:44E:BUSAN PORT, REPUBLIC OF KOREA\n:44F:PORT OF SINGAPORE\n:44C:261210\n:45A:+500 MT COLD ROLLED STEEL COILS SPEC JIS G3141 SPCC-SD\n+CIF PORT OF SINGAPORE INCOTERMS 2020\n:46A:+SIGNED COMMERCIAL INVOICE IN 3 ORIGINALS\n+FULL SET 3/3 CLEAN ON BOARD OCEAN BILLS OF LADING\n+INSURANCE POLICY FOR 110 PCT OF CIF VALUE\n+PACKING LIST IN 3 COPIES\n:47A:+ALL DOCUMENTS MUST QUOTE L/C NO LC2026SEOUL881\n:48:21/FROM SHIPMENT DATE\n:49:WITHOUT\n:71D:ALL BANKING CHARGES OUTSIDE SINGAPORE ARE FOR BENEFICIARY\n:78:UPON RECEIPT OF COMPLIANT DOCUMENTS WE SHALL REMIT PROCEEDS AS INSTRUCTED\n-}"
  ],
  "presentation_packets": [
    {
      "lc_number": "LC2026SEOUL881",
      "presentation_date": "2026-12-18",
      "invoice_number": "INV-HPM-2026-441",
      "invoice_currency": "USD",
      "invoice_amount": "255000.00",
      "invoice_goods_description": "500 MT COLD ROLLED STEEL COILS SPEC JIS G3141 SPCC-SD CIF PORT OF SINGAPORE INCOTERMS 2020",
      "incoterms": "CIF",
      "bl_on_board_date": "2026-12-05",
      "bl_port_of_loading": "BUSAN PORT, REPUBLIC OF KOREA",
      "bl_port_of_discharge": "PORT OF SINGAPORE",
      "bl_clean_on_board": true,
      "partial_shipment_used": false,
      "transhipment_used": false,
      "insurance_currency": "USD",
      "insurance_coverage_amount": "280500.00"
    }
  ],
  "include_iso20022_tsrv_xml": true,
  "mask_party_addresses": false,
  "max_items": 100
}
```

# Actor output Schema

## `lcAuditRecords` (type: `string`):

Structured SWIFT MT700, MT707, and MT760 documentary credit and guarantee JSON records with Decimal tolerance bounds and UCP 600 discrepancy findings.

## `runMetrics` (type: `string`):

Execution telemetry including parsed messages, $0 invalid skips, and PPE billing counts.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("bifrost-data/swift-mt700-lc-ucp600-audit-bridge").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {}

# Run the Actor and wait for it to finish
run = client.actor("bifrost-data/swift-mt700-lc-ucp600-audit-bridge").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call bifrost-data/swift-mt700-lc-ucp600-audit-bridge --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,bifrost-data/swift-mt700-lc-ucp600-audit-bridge"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/fHxgjJCmgJ1HMA7HD/builds/mBt3uhytNKLV32CUY/openapi.json
