DocAccord

App · 6 actions

Check letter of credit documents and review credits with DocAccord, and find your cases and past results.

Actions

ActionWhat it does
Get accountCheck the connected key and see its account email and plan.
Get checkGet the result of a past LC check.
List casesList your cases, each with whether a credit is saved to it.
Pre-check invoiceCheck an invoice, and optionally the bill of lading and sales order, against the credit saved with a case.
Review creditReview a letter of credit's terms, as the seller or the buyer, before any documents exist.
Run LC checkCheck a presentation's documents against the letter of credit.

Get account

Check the connected key and see its account email and plan.

Inputs

None.

Outputs

dataobject
The response from DocAccord.
Example output
{
  "data": {
    "account_email": "trade-ops@example.com",
    "ok": true,
    "plan": "ENTERPRISE"
  }
}

Get check

Get the result of a past LC check.

Inputs

Check IDidnumberRequired
The ID of the check, from Run LC check.

Outputs

dataobject
The response from DocAccord.
Example output
{
  "data": {
    "compliance_score": 85,
    "created_at": "2026-09-23T09:14:02.118204",
    "findings": [
      {
        "affected_doc_type": "INVOICE",
        "affected_document": "Commercial Invoice #INV-2291",
        "expected_value": "100% cotton men's shirts, style X",
        "explanation_code": "goodsDescExactMismatch",
        "explanation_params": {},
        "field_name": "Goods Description",
        "found_value": "100% cotton men's shirts",
        "requires_acknowledgment": false,
        "rule_reference": "UCP 600 Art. 18(c) / ISBP 821 C3",
        "severity": "CRITICAL_ERROR",
        "suggested_fix_code": "goodsDescExactMismatchFix",
        "suggested_fix_params": {}
      }
    ],
    "id": 1842,
    "lc_reference": "LC-2026-0457",
    "overall_status": "REJECTED_DISCREPANCIES",
    "report_number": "LCC-2026-001842"
  }
}

List cases

List your cases, each with whether a credit is saved to it.

Inputs

Credit referencelc_referencetext
Only the case for this credit reference number, such as LC-2026-0457.

Outputs

dataobject
The response from DocAccord.
Example output
{
  "data": {
    "cases": [
      {
        "credit": {
          "saved": true,
          "saved_at": "2026-09-24T08:12:44.101233",
          "source": "credit_review",
          "terms_available": true,
          "version": 2
        },
        "id": 1842,
        "latest_shipment_date": "2026-10-31",
        "lc_expiry_date": "2026-11-30",
        "lc_reference": "LC-2026-0457"
      }
    ],
    "storage_enabled": true
  }
}

Pre-check invoice

Check an invoice, and optionally the bill of lading and sales order, against the credit saved with a case. Billed as one check.

Inputs

Casecase_idnumberRequired
The case whose saved credit to check against. Pick one, or use a case ID from List cases.
Repeat-safe keyidempotency_keytext
Any text, 8 or more characters, unique to this set of documents. Sending the same key again returns the stored result instead of running and billing a second time.
Invoice fileinvoice_filetext
The commercial invoice, as a file (an EN 16931 e-invoice works too). Give this or Invoice text, not both.
Invoice textinvoice_texttext
The commercial invoice as text. Give this or Invoice file, not both.
Bill of lading filebill_of_lading_filetext
The bill of lading as a file, or a DCSA eBL 3.0 JSON file.
Bill of lading textbill_of_lading_texttext
The bill of lading as text.
Sales order fileorder_filetext
The sales order, order confirmation, proforma invoice or contract, to compare with the credit.
Sales order textorder_texttext
The sales order as text, to compare with the credit.
Sales order dataorder_jsontext
The sales order as JSON from your own system, such as {"order_number": "5000123", "currency": "EUR", "amount": 248000}. It is compared without being read.
Strictnessstrictnesstext
How strictly to check. DocAccord uses Standard if left empty.One of: STANDARD, STRICT.
Amount to drawamount_to_be_drawnnumber
The amount you claim under the credit, in its currency. It decides when the invoice is above the credit.At least 0.
Presentation datepresentation_datedate
The day you'll present the documents to the bank, so the presentation period is checked too.

Outputs

dataobject
The response from DocAccord.
Example output
{
  "data": {
    "case_id": 4711,
    "created_at": "2026-09-23T09:14:02.118204",
    "credit": {
      "case_id": 4711,
      "case_reference": "LC-2026-0457",
      "saved_at": "2026-09-24T08:12:44.101233",
      "source": "credit_review",
      "version": 2
    },
    "documents_checked": [
      "INVOICE"
    ],
    "findings": [
      {
        "affected_doc_type": "INVOICE",
        "affected_document": "Commercial Invoice #INV-2291",
        "expected_value": "100% cotton men's shirts, style X",
        "explanation_code": "goodsDescExactMismatch",
        "explanation_params": {},
        "field_name": "Goods Description",
        "found_value": "100% cotton men's shirts",
        "requires_acknowledgment": false,
        "rule_reference": "UCP 600 Art. 18(c) / ISBP 821 C3",
        "severity": "CRITICAL_ERROR",
        "suggested_fix_code": "goodsDescExactMismatchFix",
        "suggested_fix_params": {}
      }
    ],
    "id": 1842,
    "lc_reference": "LC-2026-0457",
    "order_check": {
      "compared": [
        "buyer",
        "currency",
        "amount"
      ],
      "not_compared": [
        {
          "key": "unit_price",
          "reason": "not_on_order"
        }
      ],
      "order_kind": "OTHER"
    },
    "overall_status": "REJECTED_DISCREPANCIES",
    "report_number": "LCC-2026-001842"
  }
}

Review credit

Review a letter of credit's terms, as the seller or the buyer, before any documents exist. It uses no check.

Inputs

Repeat-safe keyidempotency_keytext
Any text, 8 or more characters, unique to this set of documents. Sending the same key again returns the stored result instead of running and billing a second time.
Credit filelc_filetext
The letter of credit as a PDF, scan or photo. Give this or Credit text, not both.
Credit textlc_texttext
The credit as text, such as the pasted MT700 with its MT701s. Give this or Credit file, not both.
Review assidetext
Whose view to take. DocAccord reviews as the seller if left empty.One of: exporter (Seller (exporter)), importer (Buyer (importer)).
Draftis_drafttrue/false
Turn on if the credit is a draft still being negotiated. A draft is never saved to a case.
Sales order fileorder_filetext
The sales order, order confirmation, proforma invoice or contract, to compare with the credit.
Sales order textorder_texttext
The sales order as text, to compare with the credit.
Save to casecase_idnumber
The case to save the reviewed terms to. Terms are saved only when nothing in the reading is in doubt.
Save termssave_to_casetrue/false
Turn on to save the terms to the case for this credit's reference, opening one if needed.

Outputs

dataobject
The response from DocAccord.
Example output
{
  "data": {
    "created_at": "2026-09-23T09:14:02.118204",
    "dimensions": [
      {
        "band": "HIGH",
        "colour": "red",
        "finding_ids": [
          "IR-001"
        ],
        "key": "unit_price",
        "score": 25,
        "summary_code": "dimension.payment.HIGH"
      }
    ],
    "error_count": 1,
    "findings": [
      {
        "amendment_strategy": "MUST_FIX",
        "change_basis": "SIDE_OBJECTIVE",
        "counterparty_severity": "CRITICAL_ERROR",
        "dimension": "payment",
        "explanation_code": "goodsDescExactMismatch",
        "explanation_params": {},
        "field_name": "Goods Description",
        "id": "IR-001",
        "requires_acknowledgment": false,
        "rule_reference": "UCP 600 Art. 18(c) / ISBP 821 C3",
        "score_points": 25,
        "severity": "CRITICAL_ERROR",
        "suggested_clause": {
          "clause_id": "LC-INS-02",
          "guidance_code": "clause.insuranceRisks",
          "locked": false,
          "rule_reference": "UCP 600 Art. 18(c) / ISBP 821 C3",
          "wording": "The insurance line in field 46A is amended to state the risks to be covered."
        }
      }
    ],
    "is_draft": false,
    "lc_reference": "LC-2026-0457",
    "overall_status": "BLOCKED",
    "risk_band": "HIGH",
    "risk_score": 25,
    "ruleset_version": "2026-09-29",
    "side": "exporter",
    "warning_count": 0
  }
}

Run LC check

Check a presentation's documents against the letter of credit. Each check is billed like one in the app.

Inputs

Repeat-safe keyidempotency_keytext
Any text, 8 or more characters, unique to this set of documents. Sending the same key again returns the stored result instead of running and billing a second time.
Credit filelc_filetext
The letter of credit as a PDF, scan or photo. Give this or Credit text, not both.
Credit textlc_texttext
The credit as text, such as the pasted MT700 with its MT701s. Give this or Credit file, not both.
Invoice fileinvoice_filetext
The commercial invoice, as a file (an EN 16931 e-invoice works too). Give this or Invoice text, not both.
Invoice textinvoice_texttext
The commercial invoice as text. Give this or Invoice file, not both.
Bill of lading filebill_of_lading_filetext
The bill of lading as a file, or a DCSA eBL 3.0 JSON file.
Bill of lading textbill_of_lading_texttext
The bill of lading as text.
Sea waybillsea_waybill_filetext
The sea waybill, if that is the transport document.
Air waybillair_transport_doc_filetext
The air transport document, if that is the transport document.
Multimodal transport documentmultimodal_transport_doc_filetext
The multimodal transport document, if that is the transport document.
Road, rail or inland waterway documentroad_rail_inland_waterway_doc_filetext
The road, rail or inland waterway transport document, if that is the transport document.
Charter party bill of ladingcharter_party_bill_of_lading_filetext
The charter party bill of lading, if that is the transport document.
Courier receiptcourier_receipt_filetext
The courier or post receipt, if that is the transport document.
Packing listpacking_list_filetext
The packing list, if the credit asks for one.
Weight listweight_list_filetext
The weight list, if the credit asks for one.
Certificate of origincertificate_of_origin_filetext
The certificate of origin, if the credit asks for one.
Insurance certificateinsurance_certificate_filetext
The insurance certificate or policy, if the credit asks for one.
Inspection certificateinspection_certificate_filetext
The inspection certificate, if the credit asks for one.
Bill of exchangebill_of_exchange_filetext
The draft (bill of exchange), if the credit asks for one.
Beneficiary certificatebeneficiary_certificate_filetext
The beneficiary's certificate, if the credit asks for one.
Amendmentamendment_filetext
An amendment you haven't answered yet (an MT707 or the bank's letter), to check against the credit as issued and as amended.
Amendment statusamendment_statustext
Whether you've accepted the amendment. DocAccord assumes Pending if left empty. Only with Amendment.One of: PENDING, ACCEPTED, REJECTED.
Strictnessstrictnesstext
How strictly to check. DocAccord uses Standard if left empty.One of: STANDARD, STRICT.
Amount to drawamount_to_be_drawnnumber
The amount you claim under the credit, in its currency. It decides when the invoice is above the credit.At least 0.
Presentation datepresentation_datedate
The day you'll present the documents to the bank, so the presentation period is checked too.
Presentation mediumpresentation_mediumtext
How the documents go to the bank. It matters only for a credit subject to eUCP.One of: PAPER, ELECTRONIC, MIXED.

Outputs

dataobject
The response from DocAccord.
Example output
{
  "data": {
    "compliance_score": 85,
    "created_at": "2026-09-23T09:14:02.118204",
    "findings": [
      {
        "affected_doc_type": "INVOICE",
        "affected_document": "Commercial Invoice #INV-2291",
        "expected_value": "100% cotton men's shirts, style X",
        "explanation_code": "goodsDescExactMismatch",
        "explanation_params": {},
        "field_name": "Goods Description",
        "found_value": "100% cotton men's shirts",
        "requires_acknowledgment": false,
        "rule_reference": "UCP 600 Art. 18(c) / ISBP 821 C3",
        "severity": "CRITICAL_ERROR",
        "suggested_fix_code": "goodsDescExactMismatchFix",
        "suggested_fix_params": {}
      }
    ],
    "id": 1842,
    "lc_reference": "LC-2026-0457",
    "overall_status": "REJECTED_DISCREPANCIES",
    "report_number": "LCC-2026-001842"
  }
}

On this page