# Pain.010 The pain.010 message defined by [ISO 20022](https://www.iso20022.org/iso-20022-message-definitions) is used to submit mandate change (amend) requests to Italian banks using the [SEDA](/docs/payment-processors/seda-for-sepa) scheme. The pain.010 file is generated by mandate schedules. FinDock follows the Associazione Bancaria Italiana message specifications which are based on pain.010.001.02. ## Pain.010 file structure The pain.010 file in a simple XML with two sections: * Group header node * Amendment details node ## Pain.010 field mapping The following table outlines how Salesforce data is mapped to pain.011 elements of the parent Mandate Amendment Request (MndtAmdmntReq) message. ### Group Header node The Group Header (GrpHdr) node includes details covering the entire scope of the file. | Object | Field | Pain.010 element | Further info | | --- | --- | --- | --- | | Mandate | Mandate Id | MsgId | - | | N/A | N/A | CreDtTm | Time file was generated, Y-m-d\TH:i:s | ### Underlying Amendment Details node The Underlying Amendment Details (UndrlygAmdmntDtls) node includes details about the mandate that needs to be amended and the creditor initiating the request. | Object | Field | Pain.010 element | Further info | | --- | --- | --- | --- | | N/A | N/A | AmdmntRsn / Rsn / Cd | N/A, always `MD17` | | Mandate | Mandate Id | Mndt / MndtId | - | | Mandate | Mandate Id | Mndt / MndtReqId | - | | N/A | N/A | Mndt / Tp / SvcLvl / Prtry | N/A, always `CMF` | | N/A | N/A | Mndt / Tp / LclInstrum / Prtry | N/A, always `CORSEDPM` | | Mandate | Type | Mndt / Ocrncs / SeqTp | `RCUR` (recurring) or `OOFF` (one-time) | | Mandate | Date Signed | Mndt / Drtn / FrDt | - | | N/A | Creditor Id | Mndt / CdtrSchmeId / Id / OrgId / Othr / Id | From target on mandate schedule | | N/A | Company Name | Mndt / Cdtr / Nm | From target on mandate schedule | | N/A | Bank Account Addition | Mndt / CdtrAgt / FinInstnId / BICFI | From target on mandate schedule | | Mandate | Account Holder Name | Mndt / Dbtr / Nm | - | | Mandate | Tax Code | Mndt / Dbtr / Id / PrvtId / Othr / Id | - | | Mandate | IBAN | Mndt / DbtrAcct / Id / IBAN | - | | Mandate | Mandate Id | OrgnlMndt / OrgnlMndt / MndtId | - | | N/A | Company Name | OrgnlMndt / OrgnlMndt / Cdtr / Nm | From target on mandate schedule |