OFFSET LAB

A file with no field names.

A great deal of money still moves in files with no tags and no labels. The amount is characters 120 to 134 because a layout document says so.

Count wrong by one and the file does not complain. It hands back digits from somewhere else. Shift a real record below and watch it happen.

Try this one without a pass

SHIFT THIS RECORD →

One labelled line from a BgMax incoming-payments file. The other layouts in the lab stay Pro.

This one file is open without a pass. The other layouts in the lab stay Pro.

A fixed-width record names nothing. The characters at 038-055 are Amount because a layout document says so, and for no other reason. Shift the count by one or two and read what comes back — the record will not object.

RECORDBgMax — Payment record (80 chars)

········10········20········30········40········50········60········70········80
200009900003               2026004100000000000000100000320000000001010          
                                     ├────────────────┤                         
                                     ├────────────────┤                         

DECLARED 038-055READING 038-055 — unmoved

OFFSET
DECLARED · 038-055 · 9(16)V9900000000000010000018 characters · reads 1000.00
READING · 038-055 · 9(16)V9900000000000010000018 characters · reads 1000.00

This is the record read the way its layout says to read it. 038-055 is 18 characters, and nothing in the line marks where they start or stop. A program finds them by counting from the front, every time, on every record of this file.

What would catch it — Nothing needs to, yet. Note what is true even here: the address exists in the layout, and it exists a second time wherever this sample’s description teaches a reader to count to it. The description printed beside this sample does not quote 038-055, so here the layout is the only copy there is.

SYNTHETIC / TRAINING ONLY. The record above is BgMax — synthetic Receivables report, one service profile, a fictional extract: every company, account, branch and reference in it is invented, and it is not validated against any bank or scheme. The character positions and picture clauses are the ones the record page publishes, with its sources.

Sources for these layouts and their character positions — 7 sources
  1. Scheme-specific rule

    Bankgiro Receivables (Bankgiro Inbetalningar) — Technical Manual ↗ — Bankgirot (Bankgirocentralen BGC AB) · October 2023 full text and record tables actually read; Tables 2–7 and 12–17 reread on 7 November 2026. Receivables profile, domestic SEK scope; original figure rights unverified.

    The publisher's own description of the BgMax file. It is an eighty-character record layout that collects the reporting of all payments received on a bankgiro number into one file. It opens with a Start record and closes with an End record, with sections in between that each open with an Opening record and close with a Deposit record. Published openly in Swedish and in an English translation, alongside example files on the same publisher's site. Cited on this site for what the document is, for the eighty-character layout and for that file shape, and for nothing else. · Checked 2026-08-05

    Search excerpts only, page not opened. The layout width and the record ordering come from web-search result content across two searches. NOT ONE character position, length, picture or code value on this site is quoted from it. Every position the site publishes comes from two independent open implementations, each cited separately, one of which states that its own field table was built from this manual's Swedish edition.

    Follow-up full-domain analysis / resumption 6–7 November 2026: October 2023 Bankgiro Receivables technical manual complete extracted text and all record tables read, including TIFF appendix; source figure appearance not reviewed for reproduction. Receivables-specific 80-character profile, production/test indicator and domestic-SEK scope; stale euro prose and Table 11 position typo retained as source ambiguities, not silently expanded into current support. No reuse permission verified.

  2. Scheme-specific rule

    Bg Autogiro — Technical Manual ↗ — Bankgirot (Bankgirocentralen BGC AB) · November 2021 selected sections including complete section 10: executed-payment BgMax profile; contrast only, not mixed into the Receivables specimen.

    The technical manual for Bankgirot's direct debit service, cited on this site for a single statement: that executed direct debit payments are reported back in the BgMax format. That is what backs up the fourth value of the payment-channel character on the site's BgMax record, which otherwise rests on one open implementation. · Checked 2026-08-05

    Search excerpts only, page not opened. The one statement cited comes from web-search result content on the access date. No field, position or code value from the Autogiro format itself appears anywhere on this site. Follow-up full-domain analysis / resumption 6–7 November 2026: November 2021 technical manual selected rejected-payment/mandate sections and complete section 10 BgMax profile actually read, including printed pages 103–110. Not all 110 pages. Autogiro channel 4 differs from Receivables reserved 4–9; shared layout is not a shared physical-file certification.

  3. Market practice

    fabhed/bgmax-parser — a JavaScript parser for Bankgirot's BgMax format ↗ — Fabian Hedin (open source) · config.js and index.js — the ten record types named in Swedish and, for each, the start and end position, length and content-and-padding format of every field; the format table keyed on the reference code; the payment-channel and image values; and the rule that a file must open 01 BGMAX and that its last line must begin 70. Its example-files directory carries Bankgirot's own published example file, which the project attributes to the publisher's example-files page

    A field-by-field declaration of the BgMax layout. It names ten record types in Swedish: Startpost, Öppningspost, Betalningspost, Avdragspost, Extra referensnummerpost, Informationspost, Namnpost, Adresspost, Insättningspost and Slutpost. For each one it gives the start position, end position, length and content-and-padding format of every field.

    It also carries the format table keyed on the reference code, the four payment-channel values and the three image values in Swedish, the rule that a file opens with the literal 01BGMAX and that its last line begins 70. And Bankgirot's own published example file in its example-files directory. · Checked 2026-08-05

    An implementation and not the publisher. Its own documentation states that everything in it was taken from Bankgirot's Swedish technical manual, which was not fetched, so it is a transcription this site can read of a document it cannot.

    Read at raw.githubusercontent.com on the access date, at the master branch: config.js, index.js, package.json, README.md, and example-files/bankgiroinbetalningar_exempelfil_avtal-om-ocr-kontroll_checksiffra_langd_sv.txt, which the project attributes to the publisher's own example-files page.

    Two known defects in its configuration are worth carrying: it labels the record at transaction code 29 with the name and heading of the address record above it. And it declares the last field of the deposit record with a content format that is not one. Neither affects a position, and the site publishes nothing that rests on either.

  4. Market practice

    Zimpler/bankgiro_inbetalningar — a Ruby gem that parses BgMax files ↗ — Zimpler (open source) · lib/bankgiro_inbetalningar/parser.rb — an independent second declaration of the same records and positions, written in another language by another author: the transaction code as the first two characters, the fields of records 01, 05, 15, 20, 22, 25, 26, 27, 28, 29 and 70, the amount fields read as minor units and divided by a hundred for display, the section's currency and date copied onto each payment, and the trailer's payment and deposit counters checked against what was actually parsed

    An independent second declaration of the same layout, written in another language by another author: the transaction code as the first two characters of every line. And the fields and character ranges of the records at codes 01, 05, 15, 20, 22, 25, 26, 27, 28, 29 and 70.

    It additionally reads both amount fields as minor units and divides by a hundred to display them. It splits the deposit date into four digits of year, two of month and two of day, and copies the section's currency and date onto each payment it parses. It checks the trailer's payment and deposit counters against what it actually read. · Checked 2026-08-05

    Read at raw.githubusercontent.com on the access date, at the master branch: README.md and lib/bankgiro_inbetalningar/parser.rb.

    It cites the publisher's service pages and not the other open implementation, and on every field both declare the character ranges are identical — which is the corroboration the site's BgMax record rests on.

    Two disagreements are published rather than resolved: the two projects differ on whether the layout version and Bankgirot's serial number hold text or digits. And on whether the thirty-five characters at position 3 of the record at code 28 are a second address line or the payer's town.

  5. Scheme-specific rule

    Beräkning av kontrollsiffra 10-modulen / Calculate check digit modulus 10 ↗ — Bankgirot (Bankgirocentralen BGC AB) · the modulus-10 check-digit calculation Bankgirot publishes for its own numbers — the rule every constructed identifier in this page's sample is built to fail. Recovered from web-search result content, which also states independently that a bankgiro number is seven or eight digits whose last digit is that check digit; not opened

    The modulus-10 check-digit calculation Bankgirot publishes in its own user manuals, which is the rule every constructed identifier in this site's BgMax sample is built to fail. Cited for the existence of the rule and for what it applies to, never for a worked example. · Checked 2026-08-05

    Verification boundary: bankgirot.se could not be fetched, so the document was not opened; its title, publisher and subject come from web-search result content on the access date. And the same searches independently returned that a bankgiro number is seven or eight digits whose last digit is a check digit calculated by the Luhn algorithm, which is the modulus-10 calculation under another name.

    The site uses it in one direction only — to demonstrate that an invented number CANNOT be valid — which is the direction an unopened document can still support: a number that fails a check-digit calculation fails it whoever publishes the calculation.

  6. Simplified educational illustration

    Payments Signal editorial teaching models — Payments Signal

    This site's own simplified teaching models. · Checked 2026-07-12

    What this simplifies: Eight synthetic fixed-width records, one Receivables section and no deductions or extra-reference/address records. Identifiers deliberately fail checks and no bank acceptance is claimed. Contrast with Autogiro stays outside the sample.

    Used wherever diagrams, scenarios, figures, or example values are didactic constructions rather than sourced facts; every such use carries a simplifications disclosure. All people, companies, banks, and list entries in examples are fictional.

  7. Scheme-specific rule

    Bankgirot transformation: questions and answers ↗ — Bankgirot · Current official FAQ, migration/file-communication and product sections, read on 8 November 2026: bank-specific migration, end-2026 plan and explicit Autogiro/E-invoice exception.

    Planned end-2026 flow migration, bank-specific customer timing, continued bankgiro/OCR numbers, replacement of Receivables and explicit Autogiro/E-invoice file-communication exceptions. · Checked 2026-11-12

    Full substantive FAQ read on 8 November 2026. The published end-2026 target remains a plan, not evidence that all banks have completed migration. No individual bank cutoff or universal BgMax-format retirement inferred.

    Second-pass 12 November 2026: official end-2026 plan and Autogiro/E-invoice exceptions reconfirmed; no new universal completed-migration claim.