BgMax — service-specific incoming-payment reporting
BgMax reports processed incoming payments to a company; it is not an outgoing . This page selects Bankgiro Receivables Technical Manual October 2023. Autogiro also reports executed payments in a BgMax profile, but its rules are not identical and are not mixed into the specimen.
DIRECTION: From Bankgirot through the contracted reporting arrangement to the company or nominated recipient. The report describes processed receipts and deposits; it does not authorise a new payment or itself prove settlement finality. Reconcile it with the bank account and investigate missing, duplicate or inconsistent delivery under the agreed service procedures.
WHO IS INVOLVED
- BankgirotProduces the service-specific processed-payment report and published record layout.
- Payee and its reporting recipientMatch references, reconcile section/deposit totals and counters, and retain the applicable bank/service edition.
- Banks and source payment servicesSupply the information available for the selected incoming-payment service. Payer information is not guaranteed to be present.
- Accounting integrationSelect the correct service profile, preserve section context and reconcile amounts, record counts and bank postings. A parser pass is not bank acceptance.
WHAT TO UNDERSTAND ABOUT IT
Read the file as a hierarchy: 01 starts the file, 05 opens a section, 20 reports a payment with any associated information, 15 closes the section with the deposit and 70 closes the file with record counts. Each file has at least one section; each section has at least one payment. Deductions, where present, affect section totals. A company can reconcile individual receipts to a deposit and then its bank statement, while retaining section currency and deposit date.
The conventional layout is eighty characters. The manual tells implementers to ignore unrecognised record types; compatibility policy for shortened trailing blanks in redistributed examples is separate from the documented positions. Bankgiro Receivables is domestic SEK from 31 October 2016 according to the manual. Its remaining euro-related deposit paragraph is stale/ambiguous and does not establish current euro support.
The operator’s 2026 migration plan lists Bankgiro Receivables among the products being replaced by bank services. Its FAQ separately says Autogiro and E-invoice file communication continue until further notice. A Receivables change is therefore not a universal shutdown of the BgMax format. Check the actual product and bank agreement.
Version + profile: BgMax is a fixed-width layout, so a field is found by counting characters and a layout version is not cosmetic: when a publisher revises the document, positions move and a reader that counts to the old offset reads the wrong field rather than failing. Check the version your counterparty is sending before building against this page, and check whether they have a house variant — several of these formats are published as a standard that banks are free to extend.
KEY FIELDS
Thirty-two existing field paths are retained and checked against the actual primary October 2023 Receivables tables. This supersedes the earlier search-only/open-implementation evidence boundary; those implementations remain secondary history. The primary establishes numeric version/serial fields, microsecond timestamp,T/P indicators, reference quality domains, channels 1–3 with 4–9 reserved, images 0/1 and exact counter semantics.
The catalogue is intentionally partial: records 21,22/23,25,27,28,29 and deposit-type position 80 are not fully tabulated here. Name record 26 has 35+35 characters. Address record 28 contains town,country and country code rather than a generic second street line. Deposit position 80 may carryK/Dunder an individual bank agreement or remain blank. Parser acceptance does not establish agreement eligibility.
Autogiro’s executed-payment BgMax profile is separate: channel 4, permitted reference codes 0/2 and blank serial/image fields in its selected section 10 must not be imported into this Receivables specimen. Non-executed balance-check outcomes use Autogiro Online. A shared layout does not prove both products belong in one physical file.
The source text has a stale euro deposit paragraph despite its domestic-SEK restriction, and Table 11 prints a reserved span as 53–8. These ambiguities are recorded, not silently corrected inside a copied official figure. Existing original diagrams are not reproduced; reuse rights remain unverified. Conventional 80-column layout is evidence for the teaching fixture, not proof that every redistributed trimmed example is bank-valid.
No schema version was read for this record. A fixed-width file: each field sits at a set character position, which the format's layout document gives. It is not Extensible Markup Language (XML), so there is no XML schema, the machine-readable list of a message's elements and which of them are required, to check it against. The coverage note and cited sources on this page say how far that layout document was read.
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.
| FIELD | NAME | POSITION | PRESENCE | WHAT IT MEANS |
|---|---|---|---|---|
Start record/Transaction code | Transaction code | 001-0029(2) · 2 chars | MANDATORYbank or market infrastructureRequirement 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 | 003-022X(20) · 20 chars | MANDATORYbank or market infrastructureRequirement 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 | 023-0249(2) · 2 chars | MANDATORYbank or market infrastructureRequirement 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 | 025-0449(20) · 20 chars | MANDATORYbank or market infrastructureRequirement 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 | 045-045X(1) · 1 chars | MANDATORYbank or market infrastructureRequirement 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 | 001-0029(2) · 2 chars | MANDATORYbank or market infrastructureRequirement 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 | 003-0129(10) · 10 chars | MANDATORYbank or market infrastructureRequirement 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 | 013-0229(10) · 10 chars | CONDITIONALbank or market infrastructureRequirement 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 | 023-025X(3) · 3 chars | MANDATORYbank or market infrastructureRequirement 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 | 001-0029(2) · 2 chars | MANDATORYbank or market infrastructureRequirement 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 | 003-0129(10) · 10 chars | CONDITIONALbank or market infrastructureRequirement 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 | 013-03725 chars | CONDITIONALbank or market infrastructureRequirement 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 | 038-0559(16)V99 · 18 chars | MANDATORYbank or market infrastructureRequirement 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 | 056-0569(1) · 1 chars | MANDATORYbank or market infrastructureRequirement 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 | 057-0579(1) · 1 chars | MANDATORYbank or market infrastructureRequirement 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 | 058-0699(12) · 12 chars | MANDATORYbank or market infrastructureRequirement 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 | 070-0709(1) · 1 chars | MANDATORYbank or market infrastructureRequirement 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 | 001-0029(2) · 2 chars | MANDATORYbank or market infrastructureRequirement 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 | 003-037X(35) · 35 chars | MANDATORYbank or market infrastructureRequirement 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 | 038-072X(35) · 35 chars | CONDITIONALbank or market infrastructureRequirement 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 | 001-0029(2) · 2 chars | MANDATORYbank or market infrastructureRequirement 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 | 003-0379(35) · 35 chars | MANDATORYbank or market infrastructureRequirement 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 | 038-0459(8) · 8 chars | MANDATORYbank or market infrastructureRequirement 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 | 046-0509(5) · 5 chars | MANDATORYbank or market infrastructureRequirement 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 | 051-0689(16)V99 · 18 chars | MANDATORYbank or market infrastructureRequirement 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 | 069-071X(3) · 3 chars | MANDATORYbank or market infrastructureRequirement 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 | 072-0799(8) · 8 chars | MANDATORYbank or market infrastructureRequirement 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 | 001-0029(2) · 2 chars | MANDATORYbank or market infrastructureRequirement 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 | 003-0109(8) · 8 chars | MANDATORYbank or market infrastructureRequirement 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 | 011-0189(8) · 8 chars | MANDATORYbank or market infrastructureRequirement 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 | 019-0269(8) · 8 chars | MANDATORYbank or market infrastructureRequirement 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 | 027-0349(8) · 8 chars | MANDATORYbank or market infrastructureRequirement 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. |
FIELD BY FIELD — THE SAMPLE'S STRUCTURE
Every field this record documents, laid out on this synthetic BgMax sample, in its nesting, with a sample value and what it means. Expand a branch to drill in. Values are fictional (SYNTHETIC / TRAINING ONLY); this is a curated practitioner view, not the full schema.
Start record—Transaction code01001-002 9(2)Mandatorybank or market infrastructure01 identifies the starting record.- Use case
- Read the two-character discriminator before selecting field offsets.
Layout nameBGMAX003-022 X(20)Mandatorybank or market infrastructureBGMAX, left-aligned and blank-filled to 20 characters.- Use case
- Table 2 establishes the literal and alignment; do not rely only on a parser’s prefix guard.
Version01023-024 9(2)Mandatorybank or market infrastructureTwo numeric, right-aligned zero-filled version digits.- Use case
- The primary Table 2 resolves the old implementation disagreement: N:h0, not arbitrary text. Select a supported layout edition.
Timestamp20260805090000000001025-044 9(20)Mandatorybank or market infrastructureCreation timestamp CCYYMMDDHHmmSSNNNNNN, with six microsecond digits.- Use case
- Table 2 defines century/year/month/day/hour/minute/second and microseconds. This is file creation time, not payment settlement time.
Test markingT045-045 X(1)Mandatorybank or market infrastructureT indicates a test file; P indicates a production file.- Use case
- 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 code05001-002 9(2)Mandatorybank or market infrastructure05 starts a section.- Use case
- Each section ends with 15 and includes at least one payment; a file includes at least one section.
Recipient bankgiro number0009900001003-012 9(10)Mandatorybank or market infrastructureThe payee bankgiro address in a ten-digit right-aligned zero-filled container.- Use case
- Retain identifiers as strings; canonicalise padding by a documented rule rather than silently changing meaningful identifiers.
Recipient plusgiro number013-022 9(10)Conditionalbank or market infrastructureThe payee plusgiro number only with conversion, otherwise blank.- Use case
- Table 3 gives N:h0 or blank for this conditional field; its presence does not establish independent modern Plusgiro product support.
CurrencySEK023-025 X(3)Mandatorybank or market infrastructureThe section deposit currency, SEK in the selected Receivables profile.- Use case
- 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 code20001-002 9(2)Mandatorybank or market infrastructure20 identifies a payment record.- Use case
- Associated references and payer information follow the payment and must remain attached to it.
Payer bankgiro number0009900003003-012 9(10)Conditionalbank or market infrastructureThe payer’s bankgiro number if available, right-aligned and zero-filled.- Use case
- Table 4 qualifies availability; do not assume every payment contains an issued payer bankgiro number.
Reference2026004100013-037Conditionalbank or market infrastructureThe company reference, interpreted using the reference code at 56 and Table 5.- Use case
- 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.
Amount000000000000100000038-055 9(16)V99Mandatorybank or market infrastructureEighteen zero-filled digits with the last two representing öre in the selected SEK profile.- Use case
- Use integer minor units.100000 meansSEK 1,000.00; section arithmetic must also account for any deduction records.
Reference code3056-056 9(1)Mandatorybank or market infrastructureThe Table 5 reference quality and representation indicator.- Use case
- 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 channel2057-057 9(1)Mandatorybank or market infrastructureReceivables Table 6:1 electronic bank payment,2 Supplier Payments(LB),3 paper-based payment;4–9 reserved.- Use case
- Autogiro’s section 10 uses 4, but that is a different profile. Importing it here was the old mixed-profile defect.
Bankgirot serial number000000000101058-069 9(12)Mandatorybank or market infrastructureTwelve numeric characters identifying the payment at Bankgirot, unique for two years.- Use case
- Table 4 also uses this as the image key. Do not assume uniqueness forever or across every product solely from this width.
Image marking0070-070 9(1)Mandatorybank or market infrastructure0 means no image;1 means an image exists;2–9 reserved in Receivables Table 7.- Use case
- 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 code26001-002 9(2)Mandatorybank or market infrastructure26 identifies the optional associated payer-name record.- Use case
- Table 12 and the surrounding text distinguish record availability from field layout; no corresponding name record appears when information is unavailable.
Payer nameDEMO TRADING LTD003-037 X(35)Mandatorybank or market infrastructureFirst 35 characters of payer name, left-aligned and blank-filled.- Use case
- 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.
Extra name field038-072 X(35)Conditionalbank or market infrastructureAn additional 35-character name field, left-aligned and blank-filled.- Use case
- Table 12 resolves the continuation layout; a blank example does not prove it is always unused.
Payment record—Transaction code20001-002 9(2)Mandatorybank or market infrastructure20 identifies a payment record.- Use case
- Associated references and payer information follow the payment and must remain attached to it.
Payer bankgiro number0009900005003-012 9(10)Conditionalbank or market infrastructureThe payer’s bankgiro number if available, right-aligned and zero-filled.- Use case
- Table 4 qualifies availability; do not assume every payment contains an issued payer bankgiro number.
ReferenceINV 2026 0042013-037Conditionalbank or market infrastructureThe company reference, interpreted using the reference code at 56 and Table 5.- Use case
- 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.
Amount000000000000245075038-055 9(16)V99Mandatorybank or market infrastructureEighteen zero-filled digits with the last two representing öre in the selected SEK profile.- Use case
- Use integer minor units.100000 meansSEK 1,000.00; section arithmetic must also account for any deduction records.
Reference code4056-056 9(1)Mandatorybank or market infrastructureThe Table 5 reference quality and representation indicator.- Use case
- 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 channel2057-057 9(1)Mandatorybank or market infrastructureReceivables Table 6:1 electronic bank payment,2 Supplier Payments(LB),3 paper-based payment;4–9 reserved.- Use case
- Autogiro’s section 10 uses 4, but that is a different profile. Importing it here was the old mixed-profile defect.
Bankgirot serial number000000000102058-069 9(12)Mandatorybank or market infrastructureTwelve numeric characters identifying the payment at Bankgirot, unique for two years.- Use case
- Table 4 also uses this as the image key. Do not assume uniqueness forever or across every product solely from this width.
Image marking0070-070 9(1)Mandatorybank or market infrastructure0 means no image;1 means an image exists;2–9 reserved in Receivables Table 7.- Use case
- 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 code26001-002 9(2)Mandatorybank or market infrastructure26 identifies the optional associated payer-name record.- Use case
- Table 12 and the surrounding text distinguish record availability from field layout; no corresponding name record appears when information is unavailable.
Payer nameASHA TRADERS003-037 X(35)Mandatorybank or market infrastructureFirst 35 characters of payer name, left-aligned and blank-filled.- Use case
- 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.
Extra name field038-072 X(35)Conditionalbank or market infrastructureAn additional 35-character name field, left-aligned and blank-filled.- Use case
- Table 12 resolves the continuation layout; a blank example does not prove it is always unused.
Deposit record—Transaction code15001-002 9(2)Mandatorybank or market infrastructure15 closes a section with its deposit.- Use case
- Table 16 defines the record; do not treat it as an opening instruction.
Recipient bank account number00000000000000000000009900000012345003-037 9(35)Mandatorybank or market infrastructureThe payee bank account in a 35-digit zero-filled container.- Use case
- 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.
Payment date20260805038-045 9(8)Mandatorybank or market infrastructureThe payment date in CCYYMMDD.- Use case
- This date belongs to the deposit. Copy it with section context when storing individual payment records.
Deposit serial number00001046-050 9(5)Mandatorybank or market infrastructureFive numeric zero-filled characters, unique for each bankgiro number and year.- Use case
- The bank can report this deposit reference on its statement. Keep the bankgiro/year scope when matching.
Deposit amount000000000000345075051-068 9(16)V99Mandatorybank or market infrastructureThe section’s deposit amount, last two digits in öre for SEK.- Use case
- Reconcile payment amounts less deductions against the reported deposit; do not simply sum every amount in all record types.
CurrencySEK069-071 X(3)Mandatorybank or market infrastructureSEK, repeating the selected section’s currency.- Use case
- Table 16 establishes this field directly; it no longer depends on a single open implementation.
Number of payments00000002072-079 9(8)Mandatorybank or market infrastructureNumber of payment and deduction records in this deposit.- Use case
- Table 16 includes both payment and deduction records, not just 20 records. Associated name/reference rows are not additional payments.
End record—Transaction code70001-002 9(2)Mandatorybank or market infrastructure70 closes the file.- Use case
- A closing record plus counters helps detect truncation, but does not cryptographically authenticate the file.
Payment record count00000002003-010 9(8)Mandatorybank or market infrastructureNumber of 20 payment records in the file.- Use case
- Compare against parsed payment rows separately from 21 deductions,22/23 extra references and 15 deposits.
Deduction record count00000000011-018 9(8)Mandatorybank or market infrastructureNumber of 21 deduction records in the file.- Use case
- A deduction can represent a credit invoice. The manual requires each payer’s payments to cover its deductions in the section.
Extra reference record count00000000019-026 9(8)Mandatorybank or market infrastructureNumber of 22/23 extra-reference records in the file.- Use case
- Count these records separately; do not confuse extra references with extra payments.
Deposit record count00000001027-034 9(8)Mandatorybank or market infrastructureNumber of 15 deposit records in the file.- Use case
- Compare against complete 05–15 sections as well as checking payment counts and arithmetic.
COMMON ERRORS
- Mixing Autogiro and Receivables fieldsConsequence: A reserved channel value or inappropriate serial/reference rule appears in an apparently plausible report.Avoid it: Select the service and effective manual before validating fields.
- Treating a reference code as invoice proofConsequence: A format/control-agreement result is mistaken for commercial correctness.Avoid it: Interpret Table 5 and the agreement, then match references to the company’s actual invoices.
- Counting only payments in the deposit countConsequence: Sections containing deductions fail or reconcile incorrectly.Avoid it: Table 16 counts both payment/deduction records; Table 17 keeps separate file counters.
- Losing section contextConsequence: Payment rows lose currency and deposit date.Avoid it: Attach opening/deposit context and verify deposit arithmetic before posting.
USAGE CONTEXTS
- Reconcile a depositPreserve section currency/date and bankgiro address; reconcile payments less deductions to deposit and match the bank statement reference.
- Select a product profileValidate Receivables fields under its own manual. Autogiro channel 4 is not valid Receivables evidence.
- Handle incomplete or future reportsThe manual says ignore unrecognised record types. Retain an audit trail and reconcile known totals/counts rather than interpreting every unknown row as a payment.
IMPLEMENTATION RESOURCES
2 RESOURCES
EVIDENCE AT ARM'S REACH
Start with the exact message version, then apply the scheme or network profile that governs your implementation.
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.
BgMax field matrix
Sources for this reference — 7 sources
- 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.
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.
- 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.
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.
- 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 BGMAXand that its last line must begin70. Its example-files directory carries Bankgirot's own published example file, which the project attributes to the publisher's example-files pageAn 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.
- 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
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.
- 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
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.
- Simplified educational illustration
Payments Signal editorial teaching models — Payments Signal
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.
- 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.
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.