# ACARS and Type B messages

> ACARS and Type B messages: what the collector reads, how to connect it, its permissions, its certification by Atlantic Agentic Labs and its security posture.

Built, not certified Built and tested against recorded and synthetic responses (version 0.1.0, 21 November 2026). Not yet run against the vendor's sandbox or a client environment.

Reads ACARS downlinks and Type B operational messages (MVT movement and LDM load messages) from the files your message host writes to a bucket prefix or a drop folder, one record per message, read-only. Built to the published IATA and ARINC message formats; **not yet certified**.

## At a glance

| Collector                   | ACARS and Type B messages, version `0.1.0`                                                                                                                                                                                                                      |
| --------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Reads                       | Datalink and Type B messaging (SITA, Collins Aerospace ARINC): ACARS downlinks and Type B operational messages (MVT, LDM) from the airline's message host ([the vendor's documentation](https://www.iata.org/en/publications/manuals/airport-handling-manual/)) |
| Family                      | Aviation                                                                                                                                                                                                                                                        |
| Kind                        | Flights                                                                                                                                                                                                                                                         |
| Ways to connect             | None (no credential), Service account                                                                                                                                                                                                                           |
| Scopes                      | - Read:                                                                                                                                                                                                                                                         |
| Read only                   | Yes                                                                                                                                                                                                                                                             |
| Vendor's API can move money | No                                                                                                                                                                                                                                                              |
| Personal data               | Content                                                                                                                                                                                                                                                         |
| Hosts it may contact        | Only the hosts on your deployment's allow-list (`*`: the host is the one you give it)                                                                                                                                                                           |
| Vendor API versions         | IATA Type B messages; MVT (AHM 780) and LDM (AHM 583); ACARS downlinks in Type B form (ARINC 620)                                                                                                                                                               |
| Lowest engine version       | `0.46.0`                                                                                                                                                                                                                                                        |

## What it reads

- Every file under the prefix you name whose name ends in one of `suffixes` (`.txt`, `.msg` and `.tlx` by default). A file may hold one message or many, separated by Type B address lines or by the SOH and ETX characters a message host writes.
- The Type B envelope of each message: priority, addresses, originator and the `DDHHMM` time, resolved to a date against the file’s time.
- **MVT** (IATA AHM 780): flight and day, registration and station, and the `AD` (off-block, airborne), `AA` (touchdown, on-block), `EA`, `ED`, `EB`, `NI`, `DL` (delay codes), `PX` and `SI` lines.
- **LDM** (IATA AHM 583): flight and day, registration, configuration and crew, and each destination line with its total deadload.
- **ACARS downlinks in Type B form** (ARINC 620): the standard message identifier and the `FI` (flight), `AN` (registration) and `DT` (service provider, ground station, time, sequence) elements. The free text that follows (OOOI, position, engine and fault reports) is indexed as written: its layout is set by each airline’s avionics and no standard fixes it.
- Each record carries the flight, day, registration and station, so the messages of one flight leg are found together.

## How to connect

1. Have the message host (or the gateway in front of it) write received SITA AIRCOM, ARINC GLOBALink and Type B traffic to a bucket prefix, or to a folder the deployment mounts.
2. Your engineer sets this source up in the source card (there is no key to paste): `store` (`s3://bucket/prefix/`, `gs://`, `azblob://` or `file:/path`), `suffixes` if the files have other endings, and for S3 a `role_arn` (and `external_id`, `region`).
3. Give the role read access to that prefix only. In LightHouse the card reads **Read**.

## Permissions

- No credential is stored. The deployment’s identity, or the role it assumes, is the permission; grant list and get on the one prefix and nothing else.
- The collector only lists and reads objects (and, for a `file:` store, reads files). It never writes, moves or deletes a file, and never connects to SITA, Collins Aerospace or the message host, so it cannot send a message. Its read-only test uses a stub S3 client that fails on any operation but list and get, and checks that a drop folder is byte-for-byte unchanged afterwards.

## Limits

- Built to the published specifications and tested against invented messages only; it has not yet read a real message host’s files. See `CERTIFICATION.md`.
- A file is read again only when its ETag changes. Files larger than `max_mb` (20 by default) are skipped and counted.
- Text that is not a Type B message (no address line and no origin line) is skipped and counted.
- Type B times carry no month or year: a `DDHHMM` is resolved to the latest such time no more than a day after the file’s time.
- ACARS free text is not interpreted. OOOI times are parsed from MVT messages, where AHM 780 fixes their place.
- Messages that leave a file, and files that are removed, become withdrawals.

## Data handling

- Records are read and indexed inside your deployment. LightHouse receives ids, hashes and counts, never a message.
- MVT and LDM carry no passenger names. ACARS free text may name crew; contact fields and reporter names are left out by default, and `exclude_fields` adds paths (for example `**.text`) where a deployment should not index free text. `keep_fields` takes a default back by its exact name. Nothing is cached raw.

## Troubleshooting

| What you see                                     | What it means                                                                                        | What to do                                                  |
| ------------------------------------------------ | ---------------------------------------------------------------------------------------------------- | ----------------------------------------------------------- |
| `a source needs its label`                       | No label was given                                                                                   | Give the source a label                                     |
| `the store's prefix is a plain path`             | The prefix holds characters a path cannot                                                            | Use a plain prefix                                          |
| `suffixes are file endings such as .txt or .msg` | A suffix is not a plain file ending                                                                  | Name endings such as `.txt`                                 |
| Read succeeded, nothing written                  | No file’s ETag has changed since the last read                                                       | Nothing to do                                               |
| Fewer messages than expected                     | Text without an address or origin line was skipped, or a file over `max_mb` (the source counts both) | Check the host writes whole Type B messages; raise `max_mb` |
| A record’s date is a month out                   | The file’s time is far from the message’s `DDHHMM`                                                   | Write files as messages arrive, not in late batches         |

## Certification

Each entry is a run by Atlantic Agentic Labs, newest first. Only a run against the vendor’s sandbox or a client environment certifies a collector; a certification lasts six months, or less if the vendor publishes an API version the collector does not list. See [How collectors are certified](/collectors/certification/).

| Date             | Collector | Engine   | Vendor API                                                     | Method                              | Expires        |
| ---------------- | --------- | -------- | -------------------------------------------------------------- | ----------------------------------- | -------------- |
| 21 November 2026 | `0.1.0`   | `0.47.1` | IATA Type B; MVT (AHM 780), LDM (AHM 583); ARINC 620 downlinks | Fixtures only: built, not certified | Not applicable |

## Security posture

From the collector’s last scan on the default branch. What each line means, and what blocks a release: [Security posture](/collectors/security/).

| Last scanned               | 25 November 2026                                                                                                                                                                                                      |
| -------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Critical findings          | 0                                                                                                                                                                                                                     |
| High findings              | 0                                                                                                                                                                                                                     |
| Medium findings            | 0                                                                                                                                                                                                                     |
| Low findings               | 0                                                                                                                                                                                                                     |
| Info findings              | 0                                                                                                                                                                                                                     |
| Release blocked            | No                                                                                                                                                                                                                    |
| Network allow-list check   | Pass                                                                                                                                                                                                                  |
| Read-only behavioural test | Pass                                                                                                                                                                                                                  |
| SBOM (CycloneDX)           | Produced                                                                                                                                                                                                              |
| Dependency licences        | Pass                                                                                                                                                                                                                  |
| Scanners                   | bandit 1.9.4, semgrep 1.181.1, pip-audit 2.10.1, osv-scanner 2.7.0, cyclonedx-py 7.5.0, pip-licenses 5.5.5, gitleaks repository job aal-secrets, hosts_check tools/hosts_check.py, read-only test pytest -m read_only |

Source: https://docs.atlanticagenticlabs.com/collectors/catalogue/acars-typeb/
