Skip to content

CCB Asia

About This Page

What: CCB Asia's API statement collection, CcbasiaMatch matching rules, and BOCO date processing mechanism Audience: PMs needing to understand CCB integration details Prerequisites: Bank Capability MatrixReading time: 3 minutes Owner: Deposit Product Manager

Key takeaway: CCB Asia collects statements via API. Its matching engine has a unique BOCO date processing mechanism — attention needed for cross-day statement attribution.


Capability Overview

CapabilitySupportedProtocol/ChannelCore Service
Deposit Statement CollectionAPI scheduled pullStandard BankFlow collection
Withdrawal
Sub-account
eDDA/eDDI
FPS
BST

CCB Asia is a deposit-only bank — it only collects statements and matches deposit applications, with no withdrawal support. Its matching rules are among the strictest of all banks, requiring all four conditions to be met.


Channel Interface Overview

DimensionDescription
ProtocolAPI
Data CollectionScheduled pull
IMPORT_BANK_ID15 (CCBASIA)
TransType206
Matching EngineCcbasiaMatch

Deposit: API Statement Collection

Collection Method

CCB provides statement data through a standard API interface. The system pulls on a schedule and writes to the unified BankFlow format.

Data Flow

API Interface Fields

CCB's statement data is based on the generic BankFlow format, containing the following key fields:

FieldDescriptionPurpose
transaction_idTransaction unique identifierDeduplication key
transaction_dateTransaction dateDate window matching
value_dateValue dateAuxiliary date reference
currencyCurrencyCurrency matching condition
amountTransaction amountAmount tolerance matching
payer_namePayer nameExact name matching
payer_accountPayer accountAuxiliary identification
beneficiary_accountBeneficiary accountmoomoo receiving account identifier
transaction_typeTransaction typeDistinguish credit/debit
remarksTransaction remarksSupplementary information
Statement Status Processing

CCB statements follow the standard statement disposition flow:

StatusMeaning
0Pending
1Matched
2Credited
3Ignored
4Abnormal

Matching Rules (CcbasiaMatch)

Core Characteristics

CCB's matching rules are among the strictest of all banks — all four conditions must be met simultaneously; failure of any one means no match.

DimensionRuleDescription
Auto-depositNot supportedAssisted match recommendation only, requires manual confirmation
Currency MatchMust be identicalStatement currency = Application currency
Name MatchEnglish exact match (nameUsEqual)No fuzzy/similar matching supported
Amount MatchStandard tolerance (see table below)Allows small fee deductions
Date MatchBOCO date rule (daySimilarBoc)-3 ~ +4 days, 2 days more than standard

Amount Tolerance

CurrencyTolerance RangeCompared to BOCHK Local
HKDCRM - 20 ≤ Statement ≤ CRMSame as BOCHK local (-20)
USDCRM - 3 ≤ Statement ≤ CRMSame as BOCHK local (-3)

Why is the tolerance the same as BOCHK local? CCB deposits are primarily local transfers with low and predictable fees, so the standard tolerance is sufficient.

BOCO Date Window

CCB uses the daySimilarBoc date rule with a window of -3 ~ +4 days, which is 2 days more than the standard -3 ~ +2 days:

Date RuleWindow RangeUsed By
daySimilar (Standard)-3 ~ +2 daysDBS, Hang Seng, and most other banks
daySimilarBoc (BOCO)-3 ~ +4 daysCCB, BOCHK cross-border

Why 2 extra days? CCB and BOCHK cross-border share the BOCO date rule. Cross-border transfers may be delayed due to holidays or timezone differences, and the +4 day forward window covers more delay scenarios. Although CCB is primarily local, it uses the same rule.

Complete Matching Logic

Matching Conditions Summary

ConditionCheck MethodRequirementResult if Missing
CurrencyDirect comparisonStatement currency = Application currencyNo match
NamenameUsEqualEnglish name exact match (case-insensitive)No match
AmountamountSimilarHKD: -20~0 / USD: -3~0No match
DatedaySimilarBocStatement date within application date -3~+4 daysNo match

Difference from Other Banks

Most banks return "standard match" when amount tolerance is met, and may downgrade to "suggested match" if some conditions fail. CCB has no downgrade mechanism — either all four conditions pass and return standard match, or it's a direct no-match.


Scheduled Tasks

TaskFrequencyDescription
Statement CollectionScheduled pullFetch latest statements from CCB API
match:ccbasiaEvery 3 minutesExecute CCB statement matching

Follow-up time: 1 day — after CCB matching results are recommended to operations, staff must complete manual review within 1 day.


Comparison with Similar Banks

DimensionCCBBOCHK LocalICBC
Deposit ProtocolAPI pullB2E XML APIBank-Enterprise Direct API
Withdrawal✅ FTS/FPS/Wire
HKD Tolerance-20-20-20
USD Tolerance-3-3-3
Date Window-3~+4 days (BOCO)-15~+15 daysStandard
Name RuleExact (nameUsEqual)Exact or similarStandard
Auto-deposit
StrictnessMost strictMediumMedium

Change Guide

Change RequirementModification LocationDescription
Modify amount toleranceCcbasiaMatch.phpamountSimilar()Adjust HKD -20 / USD -3 thresholds
Modify date windowCcbasiaMatch.phpdaySimilarBoc()Adjust -3~+4 day range
Relax name matchingCcbasiaMatch.php → change to nameSimilar()From exact match to similar match
Enable auto-depositCcbasiaMatch.php → add depositInstance return logicCurrently not supported, enabling requires risk assessment
Add supported currencyCcbasiaMatch.php → currency checkAdd new currency tolerance configuration
Modify matching frequencydeposit/doc/crontab.shmatch:ccbasiaAdjust cron interval
Modify collection frequencyStatement collection service cron configAdjust scheduled pull interval

Monitoring & Alerts

Alert ItemTrigger ConditionSeverityHandling Steps
API connection timeoutCCB API unresponsiveMediumCheck network, confirm CCB-side service status
High English name match failure rateMany statements rejected due to name mismatchMediumCheck name format requirements (exact match), guide users to verify
BOCO date offsetStatement date deviates from expectedMediumConfirm timezone processing logic, check BOCO date conversion

API Interface Field Details

Statement Query Request

FieldTypeRequiredDescription
account_nostringCCB account number
start_datestringQuery start date. Format YYYYMMDD
end_datestringQuery end date. Format YYYYMMDD
page_nointPage number, default 1
page_sizeintItems per page, default 50

Statement Query Response

FieldTypeDescription
trans_datestringTransaction date (BOCO format)
trans_amountdecimalTransaction amount
balancedecimalBalance after transaction
trans_typestringTransaction type
counterparty_namestringCounterparty name (used for name matching)
counterparty_accountstringCounterparty account
remarkstringTransaction remarks

English Name Matching Details

CCB is the only bank requiring exact English name matching. Matching rules:

DimensionRuleDescription
Match methodExact matchcounterparty_name in statement must exactly match the English name in CRM application
Case sensitivityCase-insensitiveJOHN DOE and John Doe are considered a match
Space handlingIgnores extra spacesJOHN DOE and JOHN DOE are considered a match
Common failure causeName orderBank-side DOE JOHN vs moomoo-side JOHN DOE
Common failure causeMiddle nameBank-side includes middle name while moomoo-side doesn't
Common failure causeSpecial charactersBank-side contains - or ' (e.g., O'BRIEN)

Name mismatch is the most common matching failure for CCB

Operations staff performing manual matching should pay special attention to comparing name order and spelling. If confirmed to be the same person, manual match confirmation is acceptable.


After Reading

I want to...Go to
See CCB's position among all banksBank Capability Matrix
Understand the full matching engine logicMatching & Auto-Deposit
Compare with another strict matching bankICBC
See detailed date window rulesDeposit Reference
Look up TransType and Bank ID referenceDeposit Reference
Was this page helpful?

内部业务文档 · 仅限 moomoo 团队使用