OCR specification for mandates
An OCR file is a flat file which contains one transmission which is made up of one or more orders. Each order has an order type, contains transactions of that type, and applies to a specific service (e.g. AvtaleGiro). This file is used to communicate reconciliation data and payment mandate data to the payee.
This section describes the specifications for the order type for AvtaleGiro mandates (in the diagram below, the “order with AvtaleGiro mandates” section. For the full OCR documentation, please see Dokumentasjon OCR Giro.
Example OCR file structure:

Following are the format descriptions related to the “order with AvtaleGiro mandates”:
Start record for AvtaleGiro mandates order

AvtaleGiro mandate record

End record for AvtaleGiro mandates order

An example OCR file with an AvtaleGiro order including two new/updated mandates and one deleted mandate
NY000010000080802900001000005520000000000000000000000000000000000000000000000000
NY212420000000000000000182000194501000000000000000000000000000000000000000000000
NY21947000000011 55405419J00000000000000000000000000000000000000
NY21947000000022 96352141J00000000000000000000000000000000000000
NY21947000000031 74123654J00000000000000000000000000000000000000
NY212488000000030000000500000000000000000000000000000000000000000000000000000000
NY000089000000030000000700000000000000000000000000000000000000000000000000000000