ANNOTATED SAMPLE

BgMax — synthetic Receivables report, one service profile

Eight eighty-character records under the October 2023 Bankgiro Receivables profile: 01 starts the file, 05 opens one SEK section, two 20 payments each have a 26 name record, 15 reports the deposit and 70 closes the file. T at position 45 marks a test file; its twenty-digit timestamp includes six microsecond digits.

Amounts are integer öre: 100000 plus 245075 equals 345075, or SEK 3,450.75. The first reference code 3 means a general/uncontrolled or incorrect reference under Table 5, not a verified OCR number. The second code 4 assumes the synthetic extended-form-registration agreement described by that code; it does not prove a real invoice match. Both payment channels are 2, Supplier Payments (LB). Autogiro channel 4 must not be mixed into this Receivables section.

The opening currency and deposit currency are SEK. The deposit includes two payment/deduction records (here two payments, no deductions). Trailer counters report 2 payments, 0 deductions, 0 extra-reference records and 1 deposit. These relationships are checked alongside eighty-column widths; no bank acceptance is inferred.

SYNTHETIC / TRAINING ONLY. The bankgiro numbers 9900001, 9900003 and 9900005 deliberately fail modulus 10; the reference 2026004100 and account digits 9900000012345 also fail that check. They are placeholders, not issued bank details. Demo Trading Ltd and Asha Traders are fictional. Serial numbers are invented examples, not independently verified as unissued. Field positions, profile domains, lengths, arithmetic and counts were checked against the selected manual; no Swedish bank or accounting system acceptance, current bank contract or production eligibility is claimed.

BgMax
                                   
                                                                 
0009900003               2026004100          
                                           
0009900005INV 2026 0042                      
                                           
 
                                              

EVERY ANNOTATED FIELD

Each presence flag belongs to the layer named beside it: the base standard, a scheme's usage guideline, or a bank's or market infrastructure's own rule. The base standard is the format's own published definition, such as the MT message standard or a file layout; there is no ISO 20022 schema behind it. A flag marked conditional is not always required: it depends on something else, such as an optional block the field sits inside, or a rule the specification gives that field, such as not to fill it. A pass at one layer is not a pass at the next. These layers are this site's way of sorting whose rule a flag is. That is a teaching simplification and not an ISO 20022 or scheme term, and a real rulebook can say more than one thing about the same element.

Start record/Transaction code Transaction code — mandatory bank or market infrastructure

Requirement per: Selected Bankgiro Receivables Technical Manual October 2023, actual record tables read; field presence and record availability follow this service profile, not every BgMax product.

01 identifies the starting record.

Read the two-character discriminator before selecting field offsets.

Start record/Layout name Layout name — mandatory bank or market infrastructure

Requirement per: Selected Bankgiro Receivables Technical Manual October 2023, actual record tables read; field presence and record availability follow this service profile, not every BgMax product.

BGMAX, left-aligned and blank-filled to 20 characters.

Table 2 establishes the literal and alignment; do not rely only on a parser’s prefix guard.

Start record/Version Version — mandatory bank or market infrastructure

Requirement per: Selected Bankgiro Receivables Technical Manual October 2023, actual record tables read; field presence and record availability follow this service profile, not every BgMax product.

Two numeric, right-aligned zero-filled version digits.

The primary Table 2 resolves the old implementation disagreement: N:h0, not arbitrary text. Select a supported layout edition.

Start record/Timestamp Timestamp — mandatory bank or market infrastructure

Requirement per: Selected Bankgiro Receivables Technical Manual October 2023, actual record tables read; field presence and record availability follow this service profile, not every BgMax product.

Creation timestamp CCYYMMDDHHmmSSNNNNNN, with six microsecond digits.

Table 2 defines century/year/month/day/hour/minute/second and microseconds. This is file creation time, not payment settlement time.

Start record/Test marking Test marking — mandatory bank or market infrastructure

Requirement per: Selected Bankgiro Receivables Technical Manual October 2023, actual record tables read; field presence and record availability follow this service profile, not every BgMax product.

T indicates a test file; P indicates a production file.

Table 2 explicitly defines both values. The specimen usesT; a marker alone is not a safeguard against sending a file to the wrong endpoint.

Opening record/Transaction code Transaction code — mandatory bank or market infrastructure

Requirement per: Selected Bankgiro Receivables Technical Manual October 2023, actual record tables read; field presence and record availability follow this service profile, not every BgMax product.

05 starts a section.

Each section ends with 15 and includes at least one payment; a file includes at least one section.

Opening record/Recipient bankgiro number Recipient bankgiro number — mandatory bank or market infrastructure

Requirement per: Selected Bankgiro Receivables Technical Manual October 2023, actual record tables read; field presence and record availability follow this service profile, not every BgMax product.

The payee bankgiro address in a ten-digit right-aligned zero-filled container.

Retain identifiers as strings; canonicalise padding by a documented rule rather than silently changing meaningful identifiers.

Opening record/Recipient plusgiro number Recipient plusgiro number — conditional bank or market infrastructure

Requirement per: Selected Bankgiro Receivables Technical Manual October 2023, actual record tables read; field presence and record availability follow this service profile, not every BgMax product.

The payee plusgiro number only with conversion, otherwise blank.

Table 3 gives N:h0 or blank for this conditional field; its presence does not establish independent modern Plusgiro product support.

Opening record/Currency Currency — mandatory bank or market infrastructure

Requirement per: Selected Bankgiro Receivables Technical Manual October 2023, actual record tables read; field presence and record availability follow this service profile, not every BgMax product.

The section deposit currency, SEK in the selected Receivables profile.

Preserve section currency with every parsed payment and compare with the deposit currency; a generic ISO 4217 code does not establish service eligibility.

Payment record/Transaction code Transaction code — mandatory bank or market infrastructure

Requirement per: Selected Bankgiro Receivables Technical Manual October 2023, actual record tables read; field presence and record availability follow this service profile, not every BgMax product.

20 identifies a payment record.

Associated references and payer information follow the payment and must remain attached to it.

Payment record/Payer bankgiro number Payer bankgiro number — conditional bank or market infrastructure

Requirement per: Selected Bankgiro Receivables Technical Manual October 2023, actual record tables read; field presence and record availability follow this service profile, not every BgMax product.

The payer’s bankgiro number if available, right-aligned and zero-filled.

Table 4 qualifies availability; do not assume every payment contains an issued payer bankgiro number.

Payment record/Reference Reference — conditional bank or market infrastructure

Requirement per: Selected Bankgiro Receivables Technical Manual October 2023, actual record tables read; field presence and record availability follow this service profile, not every BgMax product.

The company reference, interpreted using the reference code at 56 and Table 5.

Codes 0/1 specify blank;2 is a correct OCR number under the applicable control agreement,3 covers general/incorrect/uncontrolled references,4/5 refer to correct/incorrect extended-form registration. These statuses depend on the relevant agreement.

Payment record/Amount Amount — mandatory bank or market infrastructure

Requirement per: Selected Bankgiro Receivables Technical Manual October 2023, actual record tables read; field presence and record availability follow this service profile, not every BgMax product.

Eighteen zero-filled digits with the last two representing öre in the selected SEK profile.

Use integer minor units.100000 meansSEK 1,000.00; section arithmetic must also account for any deduction records.

Payment record/Reference code Reference code — mandatory bank or market infrastructure

Requirement per: Selected Bankgiro Receivables Technical Manual October 2023, actual record tables read; field presence and record availability follow this service profile, not every BgMax product.

The Table 5 reference quality and representation indicator.

0/1 blank;2 numeric right-aligned blank-filled verified OCR under agreement;3 alphanumeric reference(s);4 left-aligned extended-form reference accepted under agreement;5 incorrect extended-form reference;6–9 reserved. Do not equate code 2 with universal invoice correctness.

Payment record/Payment channel Payment channel — mandatory bank or market infrastructure

Requirement per: Selected Bankgiro Receivables Technical Manual October 2023, actual record tables read; field presence and record availability follow this service profile, not every BgMax product.

Receivables Table 6:1 electronic bank payment,2 Supplier Payments(LB),3 paper-based payment;4–9 reserved.

Autogiro’s section 10 uses 4, but that is a different profile. Importing it here was the old mixed-profile defect.

Payment record/Bankgirot serial number Bankgirot serial number — mandatory bank or market infrastructure

Requirement per: Selected Bankgiro Receivables Technical Manual October 2023, actual record tables read; field presence and record availability follow this service profile, not every BgMax product.

Twelve numeric characters identifying the payment at Bankgirot, unique for two years.

Table 4 also uses this as the image key. Do not assume uniqueness forever or across every product solely from this width.

Payment record/Image marking Image marking — mandatory bank or market infrastructure

Requirement per: Selected Bankgiro Receivables Technical Manual October 2023, actual record tables read; field presence and record availability follow this service profile, not every BgMax product.

0 means no image;1 means an image exists;2–9 reserved in Receivables Table 7.

The electronic/standard OCR-slip no-image case differs from a payment/deposit slip with an image. Autogiro profile image fields must be checked separately.

Name record/Transaction code Transaction code — mandatory bank or market infrastructure

Requirement per: Selected Bankgiro Receivables Technical Manual October 2023, actual record tables read; field presence and record availability follow this service profile, not every BgMax product.

26 identifies the optional associated payer-name record.

Table 12 and the surrounding text distinguish record availability from field layout; no corresponding name record appears when information is unavailable.

Name record/Payer name Payer name — mandatory bank or market infrastructure

Requirement per: Selected Bankgiro Receivables Technical Manual October 2023, actual record tables read; field presence and record availability follow this service profile, not every BgMax product.

First 35 characters of payer name, left-aligned and blank-filled.

Read together with the extra 35-character name field. A name is supporting information, not a universal legal-identity proof or the sole reconciliation key.

Name record/Extra name field Extra name field — conditional bank or market infrastructure

Requirement per: Selected Bankgiro Receivables Technical Manual October 2023, actual record tables read; field presence and record availability follow this service profile, not every BgMax product.

An additional 35-character name field, left-aligned and blank-filled.

Table 12 resolves the continuation layout; a blank example does not prove it is always unused.

Deposit record/Transaction code Transaction code — mandatory bank or market infrastructure

Requirement per: Selected Bankgiro Receivables Technical Manual October 2023, actual record tables read; field presence and record availability follow this service profile, not every BgMax product.

15 closes a section with its deposit.

Table 16 defines the record; do not treat it as an opening instruction.

Deposit record/Recipient bank account number Recipient bank account number — mandatory bank or market infrastructure

Requirement per: Selected Bankgiro Receivables Technical Manual October 2023, actual record tables read; field presence and record availability follow this service profile, not every BgMax product.

The payee bank account in a 35-digit zero-filled container.

The surrounding section specifies 16 reported digits, clearing number at 22–25 and account at 26–37, right-aligned/zero-filled. Synthetic specimen digits are intentionally not accepted bank details.

Deposit record/Payment date Payment date — mandatory bank or market infrastructure

Requirement per: Selected Bankgiro Receivables Technical Manual October 2023, actual record tables read; field presence and record availability follow this service profile, not every BgMax product.

The payment date in CCYYMMDD.

This date belongs to the deposit. Copy it with section context when storing individual payment records.

Deposit record/Deposit serial number Deposit serial number — mandatory bank or market infrastructure

Requirement per: Selected Bankgiro Receivables Technical Manual October 2023, actual record tables read; field presence and record availability follow this service profile, not every BgMax product.

Five numeric zero-filled characters, unique for each bankgiro number and year.

The bank can report this deposit reference on its statement. Keep the bankgiro/year scope when matching.

Deposit record/Deposit amount Deposit amount — mandatory bank or market infrastructure

Requirement per: Selected Bankgiro Receivables Technical Manual October 2023, actual record tables read; field presence and record availability follow this service profile, not every BgMax product.

The section’s deposit amount, last two digits in öre for SEK.

Reconcile payment amounts less deductions against the reported deposit; do not simply sum every amount in all record types.

Deposit record/Currency Currency — mandatory bank or market infrastructure

Requirement per: Selected Bankgiro Receivables Technical Manual October 2023, actual record tables read; field presence and record availability follow this service profile, not every BgMax product.

SEK, repeating the selected section’s currency.

Table 16 establishes this field directly; it no longer depends on a single open implementation.

Deposit record/Number of payments Number of payments — mandatory bank or market infrastructure

Requirement per: Selected Bankgiro Receivables Technical Manual October 2023, actual record tables read; field presence and record availability follow this service profile, not every BgMax product.

Number of payment and deduction records in this deposit.

Table 16 includes both payment and deduction records, not just 20 records. Associated name/reference rows are not additional payments.

End record/Transaction code Transaction code — mandatory bank or market infrastructure

Requirement per: Selected Bankgiro Receivables Technical Manual October 2023, actual record tables read; field presence and record availability follow this service profile, not every BgMax product.

70 closes the file.

A closing record plus counters helps detect truncation, but does not cryptographically authenticate the file.

End record/Payment record count Payment record count — mandatory bank or market infrastructure

Requirement per: Selected Bankgiro Receivables Technical Manual October 2023, actual record tables read; field presence and record availability follow this service profile, not every BgMax product.

Number of 20 payment records in the file.

Compare against parsed payment rows separately from 21 deductions,22/23 extra references and 15 deposits.

End record/Deduction record count Deduction record count — mandatory bank or market infrastructure

Requirement per: Selected Bankgiro Receivables Technical Manual October 2023, actual record tables read; field presence and record availability follow this service profile, not every BgMax product.

Number of 21 deduction records in the file.

A deduction can represent a credit invoice. The manual requires each payer’s payments to cover its deductions in the section.

End record/Extra reference record count Extra reference record count — mandatory bank or market infrastructure

Requirement per: Selected Bankgiro Receivables Technical Manual October 2023, actual record tables read; field presence and record availability follow this service profile, not every BgMax product.

Number of 22/23 extra-reference records in the file.

Count these records separately; do not confuse extra references with extra payments.

End record/Deposit record count Deposit record count — mandatory bank or market infrastructure

Requirement per: Selected Bankgiro Receivables Technical Manual October 2023, actual record tables read; field presence and record availability follow this service profile, not every BgMax product.

Number of 15 deposit records in the file.

Compare against complete 05–15 sections as well as checking payment counts and arithmetic.

FULL BgMax REFERENCE →

Sources for this sample — 2 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. 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.

DOWNLOAD AND GOVERNING SOURCES

2 RESOURCES

EVIDENCE AT ARM'S REACH

Download the canonical fictional sample, then open the exact official definition and profile needed for implementation testing.

An XSD checks XML structure. A usage guideline adds profile rules, conditional fields, code restrictions, and business controls. XSD-valid does not mean scheme-compliant.

Teaching sampleIllustrative; no scheme profile checked

BgMax — synthetic Receivables report, one service profile — raw POSITIONAL

PRO PASS
Field matrixIllustrative; no scheme profile checked

BgMax field matrix

PRO PASS