{
  "openapi": "3.0.1",
  "info": {
    "title": "SWIFT MT700, MT707 & MT760 L/C UCP 600 Audit JSON Bridge",
    "description": "Parse SWIFT MT700, MT707, and MT760 Documentary Letters of Credit (L/C) and Bank Guarantees into JSON/CSV and automatically audit commercial invoices, bills of lading, and packing lists against ICC UCP 600 rules (Art. 14, 18, 20, 28, 30) for exporters, freight forwarders, and trade-finance agents.",
    "version": "1.0",
    "x-build-id": "mBt3uhytNKLV32CUY"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/bifrost-data~swift-mt700-lc-ucp600-audit-bridge/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-bifrost-data-swift-mt700-lc-ucp600-audit-bridge",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/bifrost-data~swift-mt700-lc-ucp600-audit-bridge/runs": {
      "post": {
        "operationId": "runs-sync-bifrost-data-swift-mt700-lc-ucp600-audit-bridge",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/bifrost-data~swift-mt700-lc-ucp600-audit-bridge/run-sync": {
      "post": {
        "operationId": "run-sync-bifrost-data-swift-mt700-lc-ucp600-audit-bridge",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "swift_lc_messages": {
            "title": "SWIFT Category 7 Messages (MT700 / MT707 / MT760)",
            "type": "array",
            "description": "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).",
            "default": [
              "{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-}"
            ],
            "items": {
              "type": "string"
            }
          },
          "presentation_packets": {
            "title": "Shipping & Invoice Presentation Packets for UCP 600 Audit (Optional)",
            "type": "array",
            "description": "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.",
            "default": [
              {
                "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": {
            "title": "Generate ISO 20022 Trade Services Summary XML",
            "type": "boolean",
            "description": "Emit a clean ISO 20022 Trade Services / Undertaking XML envelope alongside the normalized JSON output.",
            "default": true
          },
          "mask_party_addresses": {
            "title": "Mask Applicant & Beneficiary Street Lines",
            "type": "boolean",
            "description": "Retain company names in :50: Applicant and :59: Beneficiary while masking detailed street address lines for shared audit logs.",
            "default": false
          },
          "max_items": {
            "title": "Max Verified Trade Finance Messages",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Maximum number of verified SWIFT L/C or Guarantee messages to process and charge in this run.",
            "default": 100
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}