Military Search batch integration
Verified against source (1)
qbo4.ContactServices.QMS/readme.md
This page is the technical reference for batch orders. For the instant API, see the Developer view. For a plain-language summary of batch, see Batch file orders in the Power user view.
Batch processing overview
Section titled “Batch processing overview”Batch integration processes files of subjects instead of one search per API call. You send a request file, Military Search validates each record and runs SCRA or MLA verification against DMDC, and you receive a product file and, if enabled, DMDC certificates.
| Search type | Products | Description |
|---|---|---|
Ad-Hoc |
SCRA, MLA | One-time verification of every subject in the file. |
Monitoring |
SCRA | Subjects are enrolled and re-verified each monitoring cycle. The output reports new searches and changes. |
To verify only a few subjects, or to search in real time, use the instant API.
Processing steps
Section titled “Processing steps”- Receive. Your request file is picked up from the agreed file exchange location and PGP-decrypted. See File exchange and File encryption.
- Pre-scrub. Each record is checked against the validation rules. Records that fail are not searched, and are returned with an error.
- Permutate. Names are parsed and permutated according to your permutation settings. This can produce several searches for one subject.
- Search. Each search is verified with DMDC using the DMDC verification logic.
- Roll up. When a subject had more than one search, the best-scored result becomes the subject’s status in the standard output.
- Deliver. The product file and certificate ZIPs are PGP-encrypted and placed in your pickup location.
File exchange
Section titled “File exchange”Files are exchanged through a secure location agreed with you during onboarding, such as SFTP, Amazon S3, Azure Storage or another secure file transfer service. The location, folders and pickup schedule are set up for each client. You can use a location you host, or the Quandis sFTP server. File names follow the file naming conventions.
File types
Section titled “File types”| File | Direction | Format | Description |
|---|---|---|---|
| Request file | Client → Quandis | CSV | One record per subject. See SCRA request file and MLA request file. |
| Product file | Quandis → Client | CSV | One file per batch. See SCRA output files and MLA product file. |
| Invalid file | Quandis → Client | CSV | One file per batch. Subjects that could not be searched because of an input issue. See Invalid file. |
| Certificate ZIP | Quandis → Client | ZIP | The PDF certificates for the batch. By default, they’re split into ZIPs of up to 1,000 certificates, numbered with a 3-digit sequence (001, 002, …). |
| Certificate | Quandis → Client | The official DMDC certificate for one search. CertificateID in the product file links each row to its PDF. |
File naming conventions
Section titled “File naming conventions”Batch files follow these name patterns. The request file’s {DateStamp} is reused in the names of the files Quandis returns, so you can match each product file and certificate ZIP to its request.
| File type | Source | Name pattern | Sample |
|---|---|---|---|
| Request file | Client | {Product}.Request.{DateStamp}.csv |
SCRA.Request.20250527.csv |
| Product file | Quandis | {Product}.Response.{RequestFileDateStamp}.csv |
SCRA.Response.20250527.csv |
| Monitoring product file | Quandis | {Product}.Monitoring.Response.{RequestFileDateStamp}.csv |
SCRA.Monitoring.Response.20250527.csv |
| Invalid file | Quandis | {Product}.Invalid.{RequestFileDateStamp}.csv |
SCRA.Invalid.20250527.csv |
| Certificate ZIP | Quandis | {Product}.Images.{ImageSequence}.{RequestFileDateStamp}.zip |
SCRA.Images.001.20250527.zip |
| Monitoring certificate ZIP | Quandis | {Product}.Monitoring.Images.{ImageSequence}.{RequestFileDateStamp}.zip |
SCRA.Monitoring.Images.001.20250527.zip |
| Certificate | Quandis | {SourceReferenceNumber}.{ContactID}_{Product}_{CertificateID}.pdf |
LN1234567.12345_SCRA_18437B5FJ0F3K80.pdf |
| Token | Description |
|---|---|
{Product} |
SCRA or MLA. |
{DateStamp} |
The date you created the request file, as yyyymmdd. If you send more than one file a day, make each name unique with a timestamp (yyyymmddHHmmss) or an identifier of your choosing, such as a job number. For example, SCRA.Request.20250527143000.csv or SCRA.Request.20250527-JOB1042.csv. |
{RequestFileDateStamp} |
The {DateStamp} from the name of the request file the results belong to, including any timestamp or identifier. |
{ImageSequence} |
The ZIP’s 3-digit sequence number, starting at 001. By default, each ZIP holds up to 1,000 certificates. |
{SourceReferenceNumber} |
SourceReferenceNumber from the product file row. |
{ContactID} |
ContactID from the product file row. |
{CertificateID} |
CertificateID from the product file row. |
- PGP-encrypted files add
.pgpto the end of the name. For example,SCRA.Request.20250527.csv.pgp. See File encryption. - You can send several request files a day, as long as each file name is unique (see
{DateStamp}). - A file sent again with the same name is processed again, and its subjects are searched again.
- Request and product files can use a
.csvor.txtextension. Either way, the content is CSV. - Certificates are provided for every search or for the best-scored search only, as set up for you. See Certificates.
Quandis sFTP server
Section titled “Quandis sFTP server”| Setting | Value |
|---|---|
| Host | sftp6.quandis.com |
| Protocol | SFTP (SSH File Transfer Protocol) |
| Port | 22 |
| Authentication | SSH key only. RSA, 4096 bits or stronger. |
| Accounts | Two per client: production and UAT. |
To request an account:
-
Firewall. The server’s IP addresses are not static. Allow outbound port 22 to the host name
sftp6.quandis.com, not to an IP address. -
Keys. Create a separate key pair for each account. For example:
Terminal window ssh-keygen -t rsa -b 4096 -m PEM -N "" -f quandis-sftp-uat-keyssh-keygen -t rsa -b 4096 -m PEM -N "" -f quandis-sftp-prod-keyThe
.pubfile is the public key you send to Quandis. Keep the private key. -
Request. Send your Quandis integration contact your company information (name, address, city, state, ZIP and country), a principal technical contact (name, title, phone, mobile for SMS and email), and the production and UAT public keys.
-
Logins. When the accounts are set up, Quandis gives you the sFTP login name for each one.
File encryption
Section titled “File encryption”Batch request files, product files and certificate ZIPs contain nonpublic personal information: SSN, date of birth, name and address. Protect them in transit and at rest.
- In transit: files are exchanged through a secure location such as SFTP, Amazon S3 or Azure Storage. The connection is encrypted, but the files themselves are not.
- At rest: PGP-encrypt the file itself, so it stays encrypted in the exchange location, in storage and in any copy, and only the intended recipient can read it.
PGP encryption is required for all batch files: request files you send to Quandis, and the product files and certificate ZIPs Quandis sends you.
How PGP is applied
Section titled “How PGP is applied”| Direction | Encrypted with | Signed with | Decrypted with | Signature verified with |
|---|---|---|---|---|
| Request file (client → Quandis) | Quandis public key | Your private key | Quandis private key | Your public key |
| Product file and certificate ZIP (Quandis → client) | Your public key | Quandis private key | Your private key | Quandis public key |
Each party only ever holds the other party’s public key. Private keys and passphrases never leave the party that owns them.
If a request file can’t be decrypted, or its signature fails verification, the file is rejected. Quandis support is notified and will contact you.
PGP key exchange best practices
Section titled “PGP key exchange best practices”Keys
- Use RSA keys of at least 4096 bits. Smaller keys are not accepted.
- Use a separate key pair for each environment (UAT and production).
- Set an expiration date on every key, 1 to 2 years ahead, and replace the key before it expires.
- Protect every private key with a strong passphrase. Keep keys and passphrases in a secure key store, never in source control, configuration files, tickets or email.
Exchanging keys
- Exchange public keys only. Never send or ask for a private key or passphrase.
- Send public keys as ASCII-armored
.ascfiles, named for the owner and environment. For example,acme-scra-prod.asc. - Check every key you receive by confirming its fingerprint with the owner over a separate channel, such as a phone call to a known contact. Do not trust a fingerprint sent in the same email as the key.
- Keep a record of each key’s fingerprint, owner, environment and expiration date.
Replacing and revoking keys
- Send the new public key before the old one expires. Keep both until every file encrypted with the old key has been processed.
- If a private key might be compromised, tell the other party immediately, stop using the key, and exchange a new one.
Files
- Add
.pgpto the end of the original file name. For example,SCRA.Request.20250101.csv.pgp. - Delete decrypted copies when processing is complete.
Sample GnuPG commands
Section titled “Sample GnuPG commands”You can use GnuPG to create keys, and to encrypt and decrypt files.
# Create a key pair. Choose "RSA and RSA", 4096 bits and an expiration (for example 2y)gpg --full-generate-key
# Show your fingerprint to confirm with Quandisgpg --fingerprint scra@acme.com
# Export your public key to send to Quandisgpg --armor --export scra@acme.com > acme-scra-prod.asc
# Import the Quandis public key, then confirm its fingerprint with Quandisgpg --import quandis-scra-prod.ascgpg --fingerprint {QuandisKeyID}
# Encrypt and sign a request filegpg --encrypt --sign --recipient {QuandisKeyID} --output SCRA.Request.20250101.csv.pgp SCRA.Request.20250101.csv
# Decrypt a product file and check its signaturegpg --output SCRA.Response.20250101.csv --decrypt SCRA.Response.20250101.csv.pgpFile formats
Section titled “File formats”Batch files are quoted, comma-separated (CSV) text files with a header row. You send a request file containing the subjects to search, and Quandis returns a product file containing the results for each subject. SCRA and MLA each have their own request and product layouts. All formats share the rules below. The column definitions for each layout follow.
| Format | Product | Direction | Description |
|---|---|---|---|
| SCRA request file | SCRA | Client → Quandis | Subjects to search, for Ad-Hoc or Monitoring. The action column adds, updates or removes monitored accounts. |
| SCRA output files | SCRA | Quandis → Client | Search results in one of two layouts: standard (one row per subject, best-scored result) or detailed (one row per search). Monitoring output adds cycle and change columns. |
| MLA request file | MLA | Client → Quandis | Subjects to search, identified by SSN or ITIN. |
| MLA product file | MLA | Quandis → Client | The active duty result and match result for each subject. |
| Invalid file | SCRA, MLA | Quandis → Client | Subjects that could not be searched because of an input issue, with the reason. |
Format rules
Section titled “Format rules”| Setting | Value | Description |
|---|---|---|
| Date format | yyyymmdd |
The format of every Date field. |
| Line ending | CRLF |
The line ending between records. |
| Byte order mark | None | Files must not begin with a byte order mark (BOM). |
| Quote escape | "" |
To include a double quote inside a value, double it. For example, "JOHN ""JACK"" DOE". |
- Values are comma-separated, and every value is enclosed in double quotes (
"). - The first row is a header row with the column names.
Charvalues must not exceed their stated width.Enumeratedvalues must exactly match one of the allowed values.- Header names are case-sensitive, and must match the column definitions exactly.
- Columns must appear in the documented order.
- Extra columns are ignored.
- Request files should contain no more than 1,000,000 records. Larger files take longer to process. Split larger batches into several request files, each with a unique name. See File naming conventions.
- Every column must be present, even when its value is empty. A missing column causes an error.
- An empty value is written as two double quotes (
""). For example,"DOE","JANE","","987654321". - The Required column in each layout shows whether a value must be provided.
Yes: a value is always required.No: the value can be empty.Conditional: a value is required depending on other columns, as described in the column’s description. - If a file is rejected, Quandis support is notified and will contact you.
- Most clients build their files from this specification. Quandis can provide a sample file on request.
SCRA request file
Section titled “SCRA request file”Use this layout for both Ad-Hoc and Monitoring files.
| Column | Field name | Type | Width | Required | Description |
|---|---|---|---|---|---|
| 1 | sourcereferencenumber |
Char | 50 | Yes | Your reference number, such as a loan number. |
| 2 | action |
Enumerated | Yes | add enrolls the account, update updates it, and delete removes it. Accounts are identified by borrowerid. add is ignored if the account is already enrolled. update and delete are ignored if it isn’t. Ad-Hoc files always use add. |
|
| 3 | borrowerid |
Char | 50 | Yes | Your unique identifier for the subject. It is the key that identifies the account for add, update and delete. |
| 4 | borrowertype |
Enumerated | Yes | Primary, Secondary, or 1–9. |
|
| 5 | lastname |
Char | 50 | Yes | Last name of the subject. |
| 6 | firstname |
Char | 50 | No | First name of the subject. |
| 7 | middlename |
Char | 20 | No | Middle name of the subject. |
| 8 | usssn |
Char | 9 | Conditional | U.S. Social Security Number. Provide usssn, birthdate or both. usssn gives a more accurate match. |
| 9 | birthdate |
Date | 8 | Conditional | Date of birth. Provide usssn, birthdate or both. No earlier than 19000101 and not in the future. |
| 10 | address |
Char | 255 | No | Street address. |
| 11 | city |
Char | 50 | No | City. |
| 12 | state |
Char | 2 | No | 2-letter U.S. state code. |
| 13 | postalcode |
Char | 10 | No | ZIP or ZIP+4. |
| 14 | dateofinterest |
Date | 8 | No | The date to check status on, such as the loan origination or foreclosure date. DMDC reports whether the subject was on active duty, had received notice to serve, or had served within 367 days before this date. Must be 19850930 or later and not in the future. If empty, the current date is used. |
Example
"sourcereferencenumber","action","borrowerid","borrowertype","lastname","firstname","middlename","usssn","birthdate","address","city","state","postalcode","dateofinterest""REF987654321","add","B9876543210","Primary","DOE","JANE","L","987654321","19950315","45 North Street","Boston","MA","02110","20250101"Example with optional fields empty
Only birthdate is provided, and dateofinterest is empty, so the current date is used.
"sourcereferencenumber","action","borrowerid","borrowertype","lastname","firstname","middlename","usssn","birthdate","address","city","state","postalcode","dateofinterest""REF987654322","add","B9876543211","Primary","SMITH","","","","19870622","","","","",""SCRA output files
Section titled “SCRA output files”Two SCRA output layouts are available, for both Ad-Hoc and Monitoring. Both use the same columns.
| Layout | Rows | Records that fail validation |
|---|---|---|
| Standard (rollup) | One row per request record. When a subject had several searches because of name parsing or permutations, the best-scored result is returned. | Included, with Status = Invalid and the reason in Error. |
| Detailed | One row per search performed, so a subject can appear more than once. | Not included. |
Columns 1–25 appear in Ad-Hoc and Monitoring files. Columns 26–30 appear only in Monitoring files.
| Column | Field name | Type | Width | Required | Description |
|---|---|---|---|---|---|
| 1 | ContactID |
Number | Yes | Quandis identifier for the subject. Use it for reconciliation. | |
| 2 | SourceReferenceNumber |
Char | 50 | Yes | Your reference number, such as a loan number. |
| 3 | SourceBorrowerID |
Char | 50 | Yes | borrowerid from the request. |
| 4 | USSSN4 |
Char | 4 | No | Last 4 digits of the SSN. |
| 5 | BirthDate |
Date | 8 | No | Date of birth. |
| 6 | FirstName |
Char | 50 | No | First name. |
| 7 | LastName |
Char | 50 | Yes | Last name. |
| 8 | MiddleName |
Char | 50 | No | Middle name. |
| 9 | Address |
Char | 255 | No | Street address. |
| 10 | City |
Char | 50 | No | City. |
| 11 | PostalCode |
Char | 10 | No | ZIP or ZIP+4. |
| 12 | State |
Char | 2 | No | 2-letter U.S. state code. |
| 13 | ContactType |
Enumerated | Yes | Primary, Secondary, or 1–9. |
|
| 14 | Status |
Enumerated | Yes | SCRA status. See SCRA status values. | |
| 15 | DateOfInterest |
Date | 8 | Yes | The date status was checked on. Must be 19850930 or later and not in the future. If empty in the request, the current date is used. |
| 16 | Branch |
Enumerated | No | Service branch: Army National Guard, Army Active Duty, Army Temporary, Army Reserve, Army Unknown, Coast Guard Active Duty, Coast Guard Reserve, Air National Guard, Air Force Active Duty, Air Force Temporary, Air Force Reserve, Public Health Services, Marine Corps Active Duty, Marine Corps Temporary, Marine Corps Reserve, Marine Corps Unknown, Navy Active Duty, Navy Temporary, Navy Reserve, Navy Unknown, Nat'l Oceanic & Atmospheric Administration, Space Force Active Duty. |
|
| 17 | Effective |
Date | 8 | No | Active duty begin date. |
| 18 | Expires |
Date | 8 | No | Active duty end date, if the subject has left active duty. |
| 19 | VerifiedDate |
Date | 8 | No | Date the subject was verified. |
| 20 | CertificateID |
Char | 15 | No | Identifies the certificate PDF. Empty if certificates are not enabled. |
| 21 | Error |
Char | 255 | No | Why the subject could not be searched or verified. See Validation rules. |
| 22 | MatchType |
Enumerated | No | How DMDC matched the subject: Multiple records, SSN, Date of Birth, Last Name, and First Name, SSN, Date of Birth, and Last Name, SSN, Last Name, and First Name, SSN and Last Name, Last Name and Date of Birth, USSSN Match but no match on Name, Insufficient information to perform a match. |
|
| 23 | EIDBeginDate |
Date | 8 | No | Start date of the order notification. |
| 24 | EIDEndDate |
Date | 8 | No | End date of the order notification. |
| 25 | EidServiceComponent |
Enumerated | No | Branch for the order notification. Uses the Branch values. |
|
| 26 | Cycle |
Number | Yes | Quandis identifier for the monitoring cycle. | |
| 27 | MonitorType |
Enumerated | Yes | New Search or Change. |
|
| 28 | Field |
Enumerated | Yes | The SCRA field that changed: ActiveDutyBeginDate, Status or ActiveDutyEndDate. |
|
| 29 | PreviousValue |
Char | 50 | No | Value before the change. |
| 30 | CurrentValue |
Char | 50 | Yes | Value after the change. |
SCRA status values
Section titled “SCRA status values”| Status | Description |
|---|---|
Active |
On active duty, or had received notice to serve, as of the date of interest. |
Discharged |
Left active duty within 367 days before the date of interest. |
Not Found |
No active duty record found. |
Undetermined |
DMDC could not determine status from the information provided. |
Undetermined - Error |
DMDC returned an error while determining status. |
Error |
The search could not be completed. |
Invalid |
The record failed validation and was not searched. |
Ad-Hoc example
"ContactID","SourceReferenceNumber","SourceBorrowerID","USSSN4","BirthDate","FirstName","LastName","MiddleName","Address","City","PostalCode","State","ContactType","Status","DateOfInterest","Branch","Effective","Expires","VerifiedDate","CertificateID","Error","MatchType","EIDBeginDate","EIDEndDate","EidServiceComponent""12345","LN1234567","BR6789","1234","19800115","JOHN","DOE","A","123 Main Street","Boston","02110","MA","Primary","Active","20250101","Army Active Duty","20230101","20250101","20250102","CERT123","","SSN, Date of Birth, and Last Name","20230101","20250101","Army Active Duty"Monitoring example
"ContactID","SourceReferenceNumber","SourceBorrowerID","USSSN4","BirthDate","FirstName","LastName","MiddleName","Address","City","PostalCode","State","ContactType","Status","DateOfInterest","Branch","Effective","Expires","VerifiedDate","CertificateID","Error","MatchType","EIDBeginDate","EIDEndDate","EidServiceComponent","Cycle","MonitorType","Field","PreviousValue","CurrentValue""12345","LN1234567","BR6789","1234","19800115","JOHN","DOE","A","123 Main Street","Boston","02110","MA","Primary","Active","20250101","Army Active Duty","20230101","20250101","20250102","CERT123","","SSN, Date of Birth, and Last Name","20230101","20250101","Army Active Duty","123","New Search","Status","","Active"MLA request file
Section titled “MLA request file”| Column | Field name | Type | Width | Required | Description |
|---|---|---|---|---|---|
| 1 | PIN |
Char | 9 | Yes | Person Identifier Number: an SSN or ITIN, 9 digits, with no spaces or dashes. Include leading zeros (for example, 000223334). An ITIN begins with 9. |
| 2 | BirthDate |
Date | 8 | Yes | Date of birth. |
| 3 | LastName |
Char | 26 | Yes | Last name. |
| 4 | FirstName |
Char | 20 | No | First name. |
| 5 | MiddleName |
Char | 20 | No | Middle name. |
| 6 | SourceReferenceNumber |
Char | 28 | Yes | Your reference number. |
| 7 | PINTypeCode |
Char | 1 | Yes | S for SSN or I for ITIN. |
Example
"PIN","BirthDate","LastName","FirstName","MiddleName","SourceReferenceNumber","PINTypeCode""123456789","19800101","DOE","JOHN","MICHAEL","REF987654321012345678901234","S"Example with optional fields empty
"PIN","BirthDate","LastName","FirstName","MiddleName","SourceReferenceNumber","PINTypeCode""987654321","19920410","SMITH","","","REF123456789012345678901234","S"MLA product file
Section titled “MLA product file”| Column | Field name | Type | Width | Required | Description |
|---|---|---|---|---|---|
| 1 | PIN |
Char | 9 | Yes | PIN from the request. |
| 2 | BirthDate |
Date | 8 | Yes | Date of birth. |
| 3 | LastName |
Char | 26 | Yes | Last name. |
| 4 | FirstName |
Char | 20 | No | First name. |
| 5 | MiddleName |
Char | 20 | No | Middle name. |
| 6 | ContactID |
Number | 20 | Yes | Quandis identifier for the subject. Use it for reconciliation. |
| 7 | SourceReferenceNumber |
Char | 28 | Yes | SourceReferenceNumber from the request. |
| 8 | PINTypeCode |
Char | 1 | Yes | S (SSN) or I (ITIN). |
| 9 | OnActiveDuty |
Char | 1 | Yes | Y: the subject, or the servicemember they are a dependent of, was on active duty on the search date. N: not on active duty, and not a dependent of a servicemember on active duty. Z: no uniformed service affiliation, or a problem with the input. See MatchResultCode. |
| 10 | MatchResultCode |
Char | 1 | Yes | B: matched on PIN, PIN type, date of birth and last name. Z: no match to a servicemember or dependent. |
| 11 | Error |
Char | 1 | No | 1 if the subject could not be processed. Empty if there was no error. |
| 12 | DateOfMatch |
Date | 8 | Yes | The date DMDC completed the match. Active duty status changes daily, so treat this as the as-of date of the result. |
| 13 | CertificateID |
Char | 15 | No | Identifies the certificate PDF. Empty if certificates are not enabled. |
Example
"PIN","BirthDate","LastName","FirstName","MiddleName","ContactID","SourceReferenceNumber","PINTypeCode","OnActiveDuty","MatchResultCode","Error","DateOfMatch","CertificateID""123456789","19800101","DOE","JOHN","MICHAEL","12345","REF987654321012345678901234","S","Y","B","","20250904","CERT123456789012"Example with optional fields empty
No first or middle name, not on active duty, and no certificate.
"PIN","BirthDate","LastName","FirstName","MiddleName","ContactID","SourceReferenceNumber","PINTypeCode","OnActiveDuty","MatchResultCode","Error","DateOfMatch","CertificateID""987654321","19920410","SMITH","","","12346","REF123456789012345678901234","S","N","Z","","20250904",""Invalid file
Section titled “Invalid file”The invalid file lists the subjects that could not be searched because of an input issue, such as an invalid SSN or missing required fields. It applies to both SCRA and MLA, and is named {Product}.Invalid.{RequestFileDateStamp}.csv. See File naming conventions.
| Column | Field name | Type | Width | Required | Description |
|---|---|---|---|---|---|
| 1 | ContactID |
Number | 20 | Yes | Quandis identifier for the subject. Use it for reconciliation. |
| 2 | SourceReferenceNumber |
Char | 50 | Yes | Your reference number, such as a loan number. |
| 3 | SourceContactID |
Char | 50 | No | Your identifier for the subject. Empty when not available. For example, MLA request files have no subject identifier. |
| 4 | Error |
Char | 255 | Yes | The input issue that prevented the subject from being searched, such as Invalid SSN or Missing Required Fields. See Validation rules. |
Example
"ContactID","SourceReferenceNumber","SourceContactID","Error""12345","LN1234567","BR6789","Invalid SSN"Example with optional fields empty
An MLA subject, which has no SourceContactID.
"ContactID","SourceReferenceNumber","SourceContactID","Error""12346","REF123456789012345678901234","","Invalid SSN"Certificates
Section titled “Certificates”When certificates are enabled, DMDC certificates are provided as PDFs, either for every search performed or for the best-scored search only, as set up for you.
- By default, certificates are delivered in ZIP files of up to 1,000 PDFs. See File naming conventions.
- Each search has its own
CertificateID. It appears on the certificate, in the product file row and in the certificate file name. - In the standard (rollup) output, the row holds the
CertificateIDof the best-scored search. Certificates for the subject’s other searches share the{SourceReferenceNumber}.{ContactID}prefix in their file names. - The footer content, and whether the DMDC search criteria screen is included, are set for each client. By default, the footer shows the source reference number and the search criteria screen is not included.
DMDC verification logic
Section titled “DMDC verification logic”DMDC verification needs a minimum set of fields, which depends on whether the check is SCRA or MLA.
SCRA verification logic
Section titled “SCRA verification logic”| Field | Type | Width | Required | Description |
|---|---|---|---|---|
SSN |
Char | 9 | Conditional | Required if BirthDate is not provided. Preferred, because it gives the most accurate match. |
BirthDate |
Date | 8 | Conditional | Required if SSN is not provided. |
LastName |
Char | 26 | Yes | Last name of the subject. |
MiddleName |
Char | 20 | No | Middle name of the subject. Improves the match. |
FirstName |
Char | 20 | No | First name of the subject. Improves the match. |
Names longer than these widths are truncated before they are sent to DMDC: LastName to 26 characters, and FirstName and MiddleName to 20.
SCRA searches use this cascade:
- If
SSNis provided, the search usesSSNandLastName.FirstName,MiddleNameandBirthDateare added when present, to improve the match. - If
SSNis not provided butBirthDateis, the search usesLastNameandBirthDate. - If neither is provided, the record fails validation with
Missing Required Fields.
MLA verification logic
Section titled “MLA verification logic”| Field | Type | Width | Required | Description |
|---|---|---|---|---|
PIN |
Char | 9 | Yes | Person Identifier Number: an SSN or ITIN. |
BirthDate |
Date | 8 | Yes | Date of birth. |
LastName |
Char | 26 | Yes | Last name of the subject. |
MiddleName |
Char | 20 | No | Middle name of the subject. Improves the match. |
FirstName |
Char | 20 | No | First name of the subject. Improves the match. |
Name permutations
Section titled “Name permutations”Name permutation generates alternate first, middle and last name values from the name you provide, and verifies each one with DMDC. The SSN and birth date are used in every alternate search when they are present. The permutation model and scrub values are set for each client during onboarding. The default is the Parse and Permutate verification model with the default scrub values. See Permutations in the Power user view.
Validation rules
Section titled “Validation rules”Every record is pre-scrubbed before searching. A record that fails is not sent to DMDC. In the SCRA standard output, it is returned with Status = Invalid and one of these values in Error:
| Rule | Error |
|---|---|
| Last name is required, and must contain at least one letter or number. | Invalid Last Name |
| First name, if provided, must contain at least one letter or number. | Invalid First Name |
| SSN, if provided, must be 9 numeric digits. | Invalid SSN |
Birth date, if provided, must be a valid yyyymmdd date, no earlier than 19000101 and not in the future. |
Invalid Date of Birth |
| SSN or birth date must be provided (SCRA). | Missing Required Fields |
Date of interest, if provided, must be a valid yyyymmdd date, no earlier than 19850930 and not in the future. |
Invalid Date |
DMDC can also return this error after a search:
| Error | Description |
|---|---|
Multiple Records |
DMDC found several records that match the information provided, and cannot identify one individual. |
Implementing batch
Section titled “Implementing batch”These are the steps to set up a batch integration, in the order you complete them. Most steps are the same for Ad-Hoc and Monitoring. Where they differ, both are shown. The configuration checklist at the end collects every decision, so you can work through it with your Quandis integration contact.
| Step | What you do | Ad-Hoc | Monitoring |
|---|---|---|---|
| 1 | Choose Ad-Hoc, Monitoring, or both | ✓ | ✓ |
| 2 | Choose the file exchange location | ✓ | ✓ |
| 3 | Agree file names | ✓ | ✓ |
| 4 | Exchange PGP keys | ✓ | ✓ |
| 5 | Choose output and certificate options | ✓ | ✓ |
| 6 | Build your request files | ✓ | ✓ |
| 7 | Test in UAT | ✓ | ✓ |
| 8 | Go live | ✓ | ✓ |
Step 1: Choose Ad-Hoc or Monitoring
Section titled “Step 1: Choose Ad-Hoc or Monitoring”Ad-Hoc checks every subject in a file once. Monitoring enrolls subjects and checks them again each cycle, reporting only what changed. Many clients use both: Ad-Hoc at a business event, such as boarding or a foreclosure sale, and Monitoring for the life of the account.
| Ad-Hoc | Monitoring | |
|---|---|---|
| Products | SCRA, MLA | SCRA only |
| Use it to | Check a set of subjects as of a date | Find out when a subject’s status changes |
| What you send | Every subject you want checked, each time | Your full population once, then only additions, updates and removals |
action column |
Always add |
add, update or delete |
| When searches run | Once, when the file is processed | Each monitoring cycle, until the subject is removed |
| What you receive | A result for every subject in the file | New searches and changes only |
| Product file name | {Product}.Response.{RequestFileDateStamp}.csv |
{Product}.Monitoring.Response.{RequestFileDateStamp}.csv |
| Certificate ZIP name | {Product}.Images.{ImageSequence}.{RequestFileDateStamp}.zip |
{Product}.Monitoring.Images.{ImageSequence}.{RequestFileDateStamp}.zip |
| Extra output columns | None | Cycle, MonitorType, Field, PreviousValue, CurrentValue |
| Your system must | Store each result against the request | Keep the current status for each subject, and apply each change as it arrives |
If you choose both, Ad-Hoc and Monitoring are set up separately. Decide which folders and file names each one uses so the files are not confused.
Step 2: Choose the file exchange location
Section titled “Step 2: Choose the file exchange location”Files are exchanged through a secure location. You can use the Quandis sFTP server, or a location you host.
| Quandis sFTP server | Your location | |
|---|---|---|
| Who hosts it | Quandis | You (SFTP, Amazon S3, Azure Storage or another secure file transfer service) |
| Who manages access | Quandis, using SSH keys you provide | You. Give Quandis access to UAT and production. |
| What you set up | SSH key pairs, a firewall rule, and a job to upload requests and download results | The location, folders, Quandis access, and your own upload and download jobs |
| Suits you if | You don’t already run a file exchange service, or want the quickest setup | You already exchange files with vendors this way, or your policy requires data to stay on your systems |
If you use the Quandis sFTP server
- Allow outbound port 22 to the host name
sftp6.quandis.com. Its IP addresses are not static. - Create an RSA SSH key pair of 4096 bits or more for each account, one for UAT and one for production. See Quandis sFTP server.
- Send your Quandis integration contact your company information, a principal technical contact, and the UAT and production public keys (the
.pubfiles). Keep the private keys. - Receive the sFTP login name for each account, and test that you can connect to both.
If you use your own location
- Set up UAT and production locations.
- Give Quandis the connection details and access to each one.
- Confirm that Quandis can connect, read request files and write product files in both environments.
For either location
- Agree the folders for request files and returned files, for each product, each search type and each environment.
- Agree the pickup schedule: when Quandis collects request files, and when you collect the files Quandis returns.
Step 3: Agree file names
Section titled “Step 3: Agree file names”Quandis finds your request files, and you match the returned files to them, by name. See File naming conventions.
- Name request files
{Product}.Request.{DateStamp}.csv, for both Ad-Hoc and Monitoring. Use folders to separate Ad-Hoc and Monitoring files. - Choose your
{DateStamp}format. Useyyyymmddif you send at most one file a day per product. If you send more, add a timestamp (yyyymmddHHmmss) or a job number (yyyymmdd-JOB1042). - Make every name unique. A file sent again with the same name is processed again, and every subject in it is searched again. Make sure a retried or restarted transfer can’t resend a file.
- Add
.pgpto the end of every encrypted file name, for exampleSCRA.Request.20250527.csv.pgp. - Match returned files to requests by
{RequestFileDateStamp}, which repeats your request file’s{DateStamp}. Watch for theMonitoringpart in Monitoring product files and certificate ZIPs. - Choose
.csvor.txt. Either is accepted. The content is CSV either way.
Step 4: Exchange PGP keys
Section titled “Step 4: Exchange PGP keys”Every batch file is PGP-encrypted and signed. You encrypt request files with the Quandis public key and sign them with your private key. Quandis encrypts product files and certificate ZIPs with your public key and signs them with its private key. See File encryption.
- Create your key pairs. Create one RSA key pair of 4096 bits or more for UAT, and one for production. Set an expiration date 1 to 2 years ahead, and protect each private key with a strong passphrase.
- Export your public keys as ASCII-armored
.ascfiles named for your company and environment, such asacme-scra-uat.ascandacme-scra-prod.asc. - Send your public keys to your Quandis integration contact. Never send a private key or passphrase.
- Receive the Quandis public keys for UAT and production, and import them.
- Confirm fingerprints in both directions by phone with a known contact. Don’t trust a fingerprint sent in the same email as the key.
- Record each key with its fingerprint, owner, environment and expiration date, and set a reminder to replace it before it expires.
- Test the keys by encrypting and signing a UAT request file, and decrypting and verifying the UAT product file.
If a request file can’t be decrypted, or its signature fails, the file is rejected and Quandis support contacts you.
Step 5: Choose output and certificate options
Section titled “Step 5: Choose output and certificate options”| Option | Choices | Default | Ad-Hoc | Monitoring |
|---|---|---|---|---|
| SCRA output layout | Standard (one row per subject, best-scored result) or detailed (one row per search) | ✓ | ✓ | |
| Name permutation model and scrub values | See Name permutations | Parse and Permutate, default scrub values | ✓ | ✓ |
| Certificates | Enabled or not | ✓ | ✓ | |
| Certificate scope | Every search, or best-scored search only | ✓ | ✓ | |
| Certificates per ZIP | Number of PDFs in each ZIP | 1,000 | ✓ | ✓ |
| Certificate footer | Fields shown in the footer | Source reference number | ✓ | ✓ |
| DMDC search criteria screen | Included or not | Not included | ✓ | ✓ |
Step 6: Build your request files
Section titled “Step 6: Build your request files”Build request files from your system of record using the SCRA request file or MLA request file layout and the format rules. Quandis can provide a sample file on request.
Ad-Hoc
- Send every subject you want checked. Set
actiontoadd. - Set
dateofinterestto the date you need status on, such as a foreclosure sale date. Leave it empty to use the current date. - Keep each file under 1,000,000 records. Split larger batches into several files with unique names.
Monitoring
- Enroll your population. Your first file sends every subject to monitor, with
actionset toadd. Split it into several files if it has more than 1,000,000 records. - Send only changes after that. Use
addfor new accounts,updatewhen a subject’s details change, anddeletewhen an account no longer needs monitoring, such as when a loan is paid off or transferred. Subjects stay enrolled until you senddelete. - Keep
borroweridstable. It identifies the account foradd,updateanddelete. A changedborroweridis treated as a different account. - Decide how often you send changes, such as daily, as part of your pickup schedule.
Step 7: Test in UAT
Section titled “Step 7: Test in UAT”Use your UAT sFTP account or location, and your UAT PGP keys.
| Test | Ad-Hoc | Monitoring |
|---|---|---|
| A file is collected, decrypted and its signature verified | ✓ | ✓ |
| Returned files are named as agreed, and you can decrypt and verify them | ✓ | ✓ |
| Records with empty optional fields are accepted | ✓ | ✓ |
| Records that break each validation rule are returned with the expected error | ✓ | ✓ |
| Product file rows, the invalid file and certificates reconcile to the request | ✓ | ✓ |
| A file large enough to produce several certificate ZIPs | ✓ | ✓ |
add enrolls a subject, and a later add for the same borrowerid is ignored |
✓ | |
update changes a subject’s details |
✓ | |
delete removes a subject, and it no longer appears in later cycles |
✓ | |
| Your system applies changes from the Monitoring product file | ✓ |
Step 8: Go live
Section titled “Step 8: Go live”- Confirm your production sFTP account or location, folders and PGP keys.
- Agree the date of the first production file with your Quandis integration contact.
- Ad-Hoc: send your first production file on your normal schedule.
- Monitoring: send your enrollment file or files, then start sending changes on your agreed schedule.
- Check that the first production files are returned, decrypted and loaded as they were in UAT.
Configuration checklist
Section titled “Configuration checklist”Work through this list with your Quandis integration contact. The Ad-Hoc and Monitoring columns show which items apply to each.
| ✓ | Step | Item | Ad-Hoc | Monitoring |
|---|---|---|---|---|
| ☐ | 1 | Search type chosen: Ad-Hoc, Monitoring, or both | ✓ | ✓ |
| ☐ | 1 | Products chosen: SCRA, MLA, or both | ✓ | SCRA only |
| ☐ | 2 | File exchange location chosen: Quandis sFTP or your own | ✓ | ✓ |
| ☐ | 2 | Quandis sFTP: outbound port 22 allowed to sftp6.quandis.com |
✓ | ✓ |
| ☐ | 2 | Quandis sFTP: UAT and production SSH public keys sent | ✓ | ✓ |
| ☐ | 2 | Quandis sFTP: company information and technical contact sent | ✓ | ✓ |
| ☐ | 2 | Quandis sFTP: UAT and production logins received and tested | ✓ | ✓ |
| ☐ | 2 | Your location: UAT and production access given to Quandis and tested | ✓ | ✓ |
| ☐ | 2 | Folders agreed for each product, search type and environment | ✓ | ✓ |
| ☐ | 2 | Pickup schedule agreed | ✓ | ✓ |
| ☐ | 3 | {DateStamp} format agreed, including several files a day |
✓ | ✓ |
| ☐ | 3 | File extension chosen: .csv or .txt |
✓ | ✓ |
| ☐ | 3 | Transfer job can’t resend a file with the same name | ✓ | ✓ |
| ☐ | 3 | Returned files matched to requests by {RequestFileDateStamp} |
✓ | ✓ |
| ☐ | 4 | Your UAT and production PGP public keys sent | ✓ | ✓ |
| ☐ | 4 | Quandis UAT and production PGP public keys received and imported | ✓ | ✓ |
| ☐ | 4 | Fingerprints confirmed by phone in both directions | ✓ | ✓ |
| ☐ | 4 | Key expiration dates recorded, with replacement reminders | ✓ | ✓ |
| ☐ | 5 | SCRA output layout chosen: standard or detailed | ✓ | ✓ |
| ☐ | 5 | Name permutation model and scrub values agreed | ✓ | ✓ |
| ☐ | 5 | Certificates: enabled, scope, ZIP size, footer and search criteria screen agreed | ✓ | ✓ |
| ☐ | 6 | Request files built to the layout and format rules | ✓ | ✓ |
| ☐ | 6 | Date of interest agreed: a business date, or empty for the current date | ✓ | ✓ |
| ☐ | 6 | borrowerid is stable and unique for each subject |
✓ | |
| ☐ | 6 | Enrollment file or files prepared | ✓ | |
| ☐ | 6 | Schedule for sending add, update and delete changes agreed |
✓ | |
| ☐ | 7 | UAT tests passed | ✓ | ✓ |
| ☐ | 7 | Monitoring add, update and delete tests passed |
✓ | |
| ☐ | 8 | Production folders, keys and first file date confirmed | ✓ | ✓ |