{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/groupe-bpce/main/json-schema/groupe-bpce-hal-payment-request-schema.json", "title": "HalPaymentRequest", "description": "HYPERMEDIA structure used for returning the original Payment Request to the PISP", "x-generated": "2026-10-09", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/groupe-bpce-psd2-payments-openapi.yml#/components/schemas/HalPaymentRequest", "type": "object", "properties": { "paymentRequest": { "$ref": "#/$defs/PaymentRequestResource" }, "_links": { "$ref": "#/$defs/PaymentRequestLinks" } }, "required": [ "paymentRequest", "_links" ], "$defs": { "AccountIdentification": { "description": "Unique and unambiguous identification for the account between the account owner and the account servicer.\nCard accounts must provide the identification of the card through the \"other\" substructure by giving, for instance, the masked PAN (MPAN).\nThe currency used for the account, when needed, can be specified through the [currency] field.\n", "type": "object", "properties": { "workspace": { "description": "Workspace to which the account is linked.\nThis workspace might be specified by the AISP when forwarding the consent on accounts.\nIf not provided, the default workspace is computed from the authentication that was used for getting the OAuth2 Access Token.\n", "type": "string", "maxLength": 32 }, "iban": { "description": "ISO20022: International Bank Account Number (IBAN) - identification used internationally by financial institutions to uniquely identify the account of a customer.\n\nFurther specifications of the format and content of the IBAN can be found in the standard ISO 13616 \"Banking and related financial services - International Bank Account Number (IBAN)\" version 1997-10-01, or later revisions.\n", "type": "string", "pattern": "^[A-Z]{2,2}[0-9]{2,2}[a-zA-Z0-9]{1,30}$" }, "other": { "$ref": "#/$defs/GenericIdentification" }, "currency": { "$ref": "#/$defs/CurrencyCode" } } }, "AmountType": { "description": "Structure aiming to embed the amount and the currency to be used.\n", "type": "object", "properties": { "amount": { "description": "ISO20022: Amount of money to be moved between the debtor and creditor, before deduction of charges, expressed in the currency as ordered by the initiating party.\n", "type": "number", "format": "float", "pattern": "^\\-{0,1}[0-9]{1,13}(\\.[0-9]{0,5}){0,1}$" }, "currency": { "$ref": "#/$defs/CurrencyCode" } }, "required": [ "amount", "currency" ] }, "AuthenticationApproach": { "description": "Authentication approaches that can be applied.\nREDIRECT: the PSU is redirected by the TPP to the ASPSP which processes identification and authentication\nDECOUPLED: the TPP identifies the PSU and forwards the identification to the ASPSP which processes the authentication through a decoupled device\nNONE: there is no need for the PSU to authenticate\n", "type": "string", "enum": [ "REDIRECT", "DECOUPLED", "EMBEDDED-1-FACTOR", "NONE" ] }, "AuthenticationApproaches": { "description": "List of authentication approaches", "type": "array", "items": { "$ref": "#/$defs/AuthenticationApproach" } }, "BatchBookingIndicator": { "description": "Identifies whether a single entry per individual transaction or a batch entry for the sum of the amounts of all transactions within the group of a message is requested.\nMeaning When True: Identifies that a batch entry for the sum of the amounts of all transactions in the batch or message is requested.\nMeaning When False: Identifies that a single entry for each of the transactions in the batch or message is requested.\nDefault value: each ASPSP must be able to specify its own default value.\n", "type": "boolean" }, "Beneficiary": { "description": "Specification of a beneficiary", "type": "object", "properties": { "workspace": { "$ref": "#/$defs/Workspace" }, "id": { "description": "Id of the beneficiary", "type": "string", "pattern": "^([a-zA-Z0-9 /\\-?:\\()\\.,']{1,36})$" }, "isTrusted": { "description": "The ASPSP having not implemented the trusted beneficiaries list must not set this flag.\nOtherwise, the ASPSP indicates whether or not the beneficiary was registered by the PSU within the trusted beneficiaries list.\n- true: the beneficiary is actually a trusted beneficiary\n- false: the beneficiary is not a trusted beneficiary\n", "type": "boolean", "readOnly": true }, "creditorAgent": { "$ref": "#/$defs/FinancialInstitutionIdentification" }, "creditor": { "$ref": "#/$defs/PartyIdentification" }, "creditorAccount": { "$ref": "#/$defs/AccountIdentification" } }, "required": [ "creditor" ] }, "BookingInformation": { "description": "Indicator that the payment can be immediately booked or not\n- true: payment is booked\n- false: payment is not booked\nBooking a transaction means that the funds required by this transaction are immediatly reserved and that a subsequent transaction will not interfere with the proper execution of the payment.\nHowever, usual fraud detection mechanisms might still be triggered and result as a rejection of the payment.\nThis indicator must be provided when the relevant Credit Transfer will be executed as soon as possible but not as an instant payment.\nThis indicator is irrelevant and will not be provided for delayed payments.\nThis indicator is only relevant for the first occurrence of a standing order when this occurrence is not delayed and will be executed as soon as possible.\n\nCase the Information System cannot handle this immediate booking, the ASPSP will have to provide the funds availability information.\n", "type": "boolean", "readOnly": true }, "CategoryPurposeCode": { "description": "ISO20022: Specifies the high level purpose of the instruction based on a set of pre-defined categories. This is used by the initiating party to provide information concerning the processing of the payment. It is likely to trigger special processing by any of the agents involved in the payment chain.\nAPI: The following values are allowed:\n| Code | Name | Description |\n| ---- | ---- | ---------- |\n| CASH | CashManagementTransfer | Transaction is a general cash management instruction. |\n| CORT | TradeSettlementPayment | Transaction is related to settlement of a trade, e.g. a foreign exchange deal or a securities transaction. |\n| DVPM | DeliverAgainstPayment | Code used to pre-advise the account servicer of a forthcoming deliver against payment instruction. |\n| INTC | IntraCompanyPayment | Transaction is an intra-company payment, i.e. a payment between two companies belonging to the same group. |\n| SALA | SalaryPayment | Transaction is the payment of salaries. |\n| TREA | TreasuryPayment | Transaction is related to treasury operations. E.g. financial contract settlement. |\n", "type": "string", "enum": [ "CASH", "CORT", "DVPM", "INTC", "TREA", "SALA" ] }, "ChargeBearerCode": { "description": "ISO20022: Specifies which party/parties will bear the charges associated with the processing of the payment transaction.\nThe following values are allowed:\n| Code | Name | Description |\n| ---- | ---- | ---------- |\n| DEBT | BorneByDebtor | All transaction charges are to be borne by the debtor. |\n| CRED | BorneByCreditor | All transaction charges are to be borne by the creditor. |\n| SHAR | Shared | In a credit transfer context, means that transaction charges on the sender side are to be borne by the debtor, transaction charges on the receiver side are to be borne by the creditor. In a direct debit context, means that transaction charges on the sender side are to be borne by the creditor, transaction charges on the receiver side are to be borne by the debtor. |\n| SLEV | FollowingServiceLevel | Charges are to be applied following the rules agreed in the service level and/or scheme. |\n", "type": "string", "enum": [ "DEBT", "CRED", "SHAR", "SLEV" ] }, "ClearingSystemMemberIdentification": { "description": "ISO20022: Information used to identify a member within a clearing system.\nAPI: to be used for some specific international credit transfers in order to identify the beneficiary bank\n", "type": "object", "properties": { "clearingSystemId": { "description": "ISO20022: Specification of a pre-agreed offering between clearing agents or the channel through which the payment instruction is processed.\n", "type": "string", "maxLength": 35 }, "memberId": { "description": "ISO20022: Identification of a member of a clearing system.\n", "type": "string", "maxLength": 35 } }, "required": [ "clearingSystemId", "memberId" ] }, "CodeAndIssuer": { "description": "Specifies a code and the issuer of this code.\n", "type": "object", "properties": { "code": { "description": "Provides the code.", "type": "string", "maxLength": 4 }, "issuer": { "description": "Identification of the issuer of the code.", "type": "string", "maxLength": 35 } }, "required": [ "code" ] }, "ContactDetails": { "description": "Indicates how to contact the party.\n", "type": "object", "properties": { "phoneNumber": { "$ref": "#/$defs/PhoneNumber" }, "faxNumber": { "$ref": "#/$defs/PhoneNumber" }, "emailAddress": { "description": "email address of the contact", "type": "string", "pattern": "^.+@.+$", "maxLength": 2048 } } }, "CreationDateTime": { "description": "ISO20022: Date and time at which a (group of) payment instruction(s) was created by the instructing party.\n", "type": "string", "format": "date-time" }, "CreditDebitIndicator": { "description": "Accounting flow of the amount\n| Code | Description |\n| ---- | ----------- |\n| CRDT | Credit type amount |\n| DBIT | Debit type amount |\n", "type": "string", "enum": [ "CRDT", "DBIT" ] }, "CreditTransferTransactionResource": { "description": "ISO20022: Payment processes required to transfer cash from the debtor to the creditor.\nThe [instructedAmount] property indicates Amount of money to be moved between the debtor and creditor, before deduction of charges, expressed in the currency as ordered by the initiating party.\n Usage: This amount has to be transported unchanged through the transaction chain.\nAPI: Amounts must always be set as positive values.\n", "type": "object", "properties": { "paymentId": { "$ref": "#/$defs/PaymentIdentification" }, "resourceId": { "$ref": "#/$defs/ResourceId" }, "requestedExecutionDate": { "$ref": "#/$defs/RequestedExecutionDate" }, "cancellableTill": { "description": "This field may allow the PISP to get information on the limit timestamp for requesting cancelation of the transaction.\nWhen this field is not provided by the ASPSP, the PISP must rely on the status of the transaction [transactionStatus] in order to estimate if the transaction is actually cancellable.\n", "type": "string", "format": "date-time" }, "acceptanceDateTime": { "description": "ISO20022: Date and time at which all processing conditions for execution of the payment are met and adequate financial cover is available at the account servicing agent.\n", "type": "string", "format": "date-time" }, "debtorDecisionDate": { "description": "ISO20022: Date and time on when the debtor has accepted or rejected the request.\n", "type": "string", "format": "date-time" }, "appliedExecutionDate": { "description": "ISO20022: Date and time on when the payment was executed.\n", "type": "string", "format": "date-time" }, "standingOrderCharacteristics": { "$ref": "#/$defs/StandingOrderCharacteristics" }, "instructedAmount": { "$ref": "#/$defs/AmountType" }, "equivalentAmount": { "$ref": "#/$defs/EquivalentAmountType" }, "exchangeRateInformation": { "$ref": "#/$defs/ExchangeRate" }, "ultimateDebtor": { "$ref": "#/$defs/PartyIdentification" }, "intermediaryAgent": { "$ref": "#/$defs/IntermediaryAgent" }, "beneficiary": { "$ref": "#/$defs/Beneficiary" }, "ultimateCreditor": { "$ref": "#/$defs/PartyIdentification" }, "instructionForCreditorAgent": { "description": "Further information related to the processing of the payment instruction, provided by the initiating party, and intended for the creditor agent.", "type": "array", "items": { "$ref": "#/$defs/InstructionForCreditorAgent" } }, "purpose": { "$ref": "#/$defs/PurposeCode" }, "regulatoryReportingCodes": { "$ref": "#/$defs/RegulatoryReportingCodes" }, "remittanceInformation": { "$ref": "#/$defs/RemittanceInformation" }, "transactionStatus": { "$ref": "#/$defs/TransactionIndividualStatusCode" }, "statusReasonInformation": { "$ref": "#/$defs/StatusReasonInformation" }, "supplementaryData": { "$ref": "#/$defs/SupplementaryData" } }, "required": [ "paymentId", "beneficiary" ] }, "CreditorReferenceInformation": { "description": "Reference information provided by the creditor to allow the identification of the underlying documents.", "type": "object", "properties": { "type": { "$ref": "#/$defs/CodeAndIssuer" }, "reference": { "description": "Unique reference, as assigned by the creditor, to unambiguously refer to the payment transaction.", "type": "string", "maxLength": 35 } } }, "CurrencyCode": { "description": "Specifies the currency of the amount or of the account.\nA code allocated to a currency by a Maintenance Agency under an international identification scheme, as described in the latest edition of the international standard ISO 4217 \"Codes for the representation of currencies and funds\".\n", "type": "string", "pattern": "^[A-Z]{3,3}$" }, "DateAndPlaceOfBirth": { "description": "Date and place of birth of a person.\nThis information must be requested for detection of Fraud, Money-Laundering and Terrorism Financing in case of international payment.\n", "type": "object", "properties": { "birthDate": { "description": "Date on which a person is born.", "type": "string", "format": "date" }, "cityOfBirth": { "description": "City where a person was born.", "type": "string", "maxLength": 35 }, "countryOfBirth": { "description": "Country where a person was born.", "type": "string", "pattern": "^[A-Z]{2,2}$" } }, "required": [ "birthDate", "cityOfBirth", "countryOfBirth" ] }, "DocumentAdjustment": { "description": "ISO20022: Specifies detailed information on the amount and reason of the adjustment.\nAPI: Amounts must always be set as positive values.\n", "type": "object", "properties": { "amount": { "$ref": "#/$defs/AmountType" }, "creditDebitIndicator": { "$ref": "#/$defs/CreditDebitIndicator" }, "reason": { "description": "Specifies the reason for the adjustment.", "type": "string", "maxLength": 4 }, "additionalInformation": { "description": "Provides further details on the document adjustment.", "type": "string", "maxLength": 140 } }, "required": [ "amount" ] }, "DocumentLineIdentification": { "description": "Provides identification of the document line.\nthe [type] property must be used for specifying the type of referred document type.\n", "type": "object", "properties": { "type": { "$ref": "#/$defs/CodeAndIssuer" }, "number": { "description": "Unique and unambiguous identification of the referred document line.", "type": "string", "maxLength": 35 }, "relatedDate": { "description": "Date associated with the referred document line.", "type": "string", "format": "date" } } }, "EndDate": { "description": "The last applicable day of execution for a given period.\nIf not given, the period is considered as endless.\n", "type": "string", "format": "date-time" }, "EndToEndId": { "description": "ISO20022: Unique identification assigned by the initiating party to unambiguously identify the transaction. This identification is passed on, unchanged, throughout the entire end-to-end chain.\n", "type": "string", "pattern": "^([a-zA-Z0-9 /\\-?:\\()\\.,']{1,36})$" }, "EquivalentAmountType": { "description": "Amount of money to be moved between debtor and creditor, before deduction of charges, expressed in the currency of the debtor's account, and to be moved in a different currency.\nUsage: The first agent will convert the equivalent amount into the amount to be moved.\n", "type": "object", "properties": { "amount": { "description": "ISO20022: Amount of money to be moved between the debtor and creditor, before deduction of charges, expressed in the currency as ordered by the initiating party.\n", "type": "number", "format": "float", "pattern": "^\\-{0,1}[0-9]{1,13}(\\.[0-9]{0,5}){0,1}$" }, "currency": { "$ref": "#/$defs/CurrencyCode" }, "currencyOfTransfer": { "$ref": "#/$defs/CurrencyCode" } }, "required": [ "amount", "currency", "currencyOfTransfer" ] }, "ExchangeRate": { "description": "ISO20022: Provides details on the currency exchange rate and contract.\nThe [unitCurrency] property specifies the currency in which the rate of exchange is expressed in a currency exchange. In the example 1GBP = xxxCUR, the unit currency is GBP.\nThe [estimatedPayerAmount] gives an estimation of the amount that will be debited on the payer's account, including transaction and change fees.\nThe [estimatedPayeeAmunt] gives an estimation of the amount that will be credited on the payee's account.\nAPI: Amounts must always be set as positive values.\n", "type": "object", "properties": { "unitCurrency": { "$ref": "#/$defs/CurrencyCode" }, "exchangeRate": { "description": "The factor used for conversion of an amount from one currency to another. This reflects the price at which one currency was bought with another currency.\n", "type": "number", "format": "float" }, "rateType": { "description": "Specifies the type used to complete the currency exchange.\n| Code | Name | Description |\n| ---- | ---- | ---------- |\n| SPOT | Spot | Exchange rate applied is the spot rate. |\n| SALE | Sale | Exchange rate applied is the market rate at the time of the sale. |\n| AGRD | Agreed | Exchange rate applied is the rate agreed between the parties. |\n", "type": "string", "enum": [ "SPOT", "SALE", "AGRD" ] }, "contractIdentification": { "description": "Unique and unambiguous reference to the foreign exchange contract agreed between the initiating party/creditor and the debtor agent.", "type": "string", "maxLength": 35 }, "estimatedPayerAmount": { "$ref": "#/$defs/AmountType" }, "estimatedPayeeAmount": { "$ref": "#/$defs/AmountType" } }, "required": [ "rateType" ] }, "ExecutionRule": { "description": "Execution date shifting rule for standing orders\nThis data attribute defines the behaviour when recurring payment dates falls on a weekend or bank holiday.\nThe payment is then executed either the \"preceding\" or \"following\" working day.\nASPSP might reject the request due to the communicated value, if rules in Online-Banking are not supporting\nthis execution rule.\n| Code | Description |\n| ---- | ----------- |\n| FWNG | following |\n| PREC | preceding |\n", "type": "string", "enum": [ "FWNG", "PREC" ] }, "FinancialInstitutionIdentification": { "description": "ISO20022: Unique and unambiguous identification of a financial institution, as assigned under an internationally recognised or proprietary identification scheme.\n", "type": "object", "properties": { "bicFi": { "description": "ISO20022: Code allocated to a financial institution by the ISO 9362 Registration Authority as described in ISO 9362 \"Banking - Banking telecommunication messages - Business identification code (BIC)\".\n", "type": "string", "pattern": "^[A-Z]{6,6}[A-Z2-9][A-NP-Z0-9]([A-Z0-9]{3,3}){0,1}$" }, "clearingSystemMemberId": { "$ref": "#/$defs/ClearingSystemMemberIdentification" }, "lei": { "$ref": "#/$defs/LeiIdentification" }, "name": { "description": "Name of the financial institution", "type": "string", "maxLength": 140 }, "postalAddress": { "$ref": "#/$defs/PostalAddress" } }, "required": [ "bicFi" ] }, "FrequencyCode": { "description": "Frequency rule for standing orders.\nThe following codes from the \"EventFrequency7Code\" of ISO 20022 are supported.\n| Code | Description |\n| ---- | ----------- |\n| DAIL | Daily |\n| WEEK | Weekly |\n| TOWK | EveryTwoWeeks |\n| MNTH | Monthly |\n| TOMN | EveryTwoMonths |\n| QUTR | Quarterly |\n| SEMI | SemiAnnual |\n| YEAR | Annual |\nHowever, each ASPSP might restrict these values into a subset if needed.\n", "type": "string", "enum": [ "DAIL", "WEEK", "TOWK", "MNTH", "TOMN", "QUTR", "SEMI", "YEAR" ] }, "FundsAvailabilityInformation": { "description": "Indicator that the payment can be covered or not by the funds available on the relevant account\n- true: payment is covered\n- false: payment is not covered\nThis indicator must be provided by the ASPSP when the Booking Information is present and set to \"False\".\nThis indicator will not be provided if the Booking Information is absent or set to \"True\".\n", "type": "boolean", "readOnly": true }, "GenericIdentification": { "description": "ISO20022: Unique identification of an account, a person or an organisation, as assigned by an issuer.\nAPI: The ASPSP will document which account reference type it will support.\n", "type": "object", "properties": { "identification": { "description": "API: Identifier\n", "type": "string", "maxLength": 70 }, "schemeName": { "description": "Name of the identification scheme.\nPossible values for the scheme name, partially based on ISO20022 external code list, are the following:\n| Code | Name | Description |\n| ---- | ---- | ----------- |\n| BANK | BankPartyIdentification | Unique and unambiguous assignment made by a specific bank or similar financial institution to identify a relationship as defined between the bank and its client. |\n| BBAN | BBANIdentifier | Basic Bank Account Number (BBAN) - identifier used nationally by financial institutions, ie, in individual countries, generally as part of a National Account Numbering Scheme(s), to uniquely identify the account of a customer. |\n| COID | CountryIdentificationCode) : Country authority given organisation identification (e.g., corporate registration number) |\n| SREN | SIREN | The SIREN number is a 9 digit code assigned by INSEE, the French National Institute for Statistics and Economic Studies, to identify an organisation in France. |\n| SRET | SIRET | The SIRET number is a 14 digit code assigned by INSEE, the French National Institute for Statistics and Economic Studies, to identify an organisation unit in France. It consists of the SIREN number, followed by a five digit classification number, to identify the local geographical unit of that entity. |\n| NIDN | NationalIdentityNumber | Number assigned by an authority to identify the national identity number of a person. |\nOther values are also permitted, for instance:\n| Code | Name | Description |\n| ---- | ---- | ----------- |\n| OAUT | OAUTH2 | OAUTH2 access token that is owned by the PISP being also an AISP and that can be used in order to identify the PSU |\n| CPAN | CardPan | Card PAN |\n| MPAN | MaskedPan | Card PAN where some digits were replaced for security reason |\n| TPAN | TokenizedPan | Token which was provided by a Token Service Provider (TSP) in order to obfuscate a real card PAN. The TSP must be identified in the issuer field |\n| TBAN | TokenizedIBAN | Token which was provided by a Token Service Provider (TSP) in order to obfuscate an IBAN. The TSP must be identified in the issuer field |\nEach implementation of the STET PSD2 API must specify in its own documentation which schemes can actually been used\n", "type": "string", "maxLength": 70 }, "issuer": { "description": "ISO20022: Entity that assigns the identification. this could a country code or any organisation name or identifier that can be recognized by both parties\n", "type": "string", "maxLength": 35 } }, "required": [ "identification", "schemeName" ] }, "GenericLink": { "description": "hypertext reference", "type": "object", "properties": { "href": { "description": "URI to be used. HREF stands for Hypertext REFerence.", "type": "string", "maxLength": 2000 }, "templated": { "description": "This field must be set with \"true\" when [href] is an URI template, i.e. with parameters that will be set by the client afterwards. Parameter fields must be included by the API server according to RFC6570.\nOtherwise, this property must be absent or set to false\ndefault value: false\n", "type": "boolean" } }, "required": [ "href" ] }, "InstructionForCreditorAgent": { "description": "Further information related to the processing of the payment instruction that may need to be acted upon by the creditor's agent. The instruction may relate to a level of service, or may be an instruction that has to be executed by the creditor's agent, or may be information required by the creditor's agent.\n", "type": "object", "properties": { "code": { "description": "Coded information related to the processing of the payment instruction, provided by the initiating party, and intended for the creditor's agent.\n| Code | Name | Description |\n| ---- | ---- | ---------- |\n| CHQB | PayCreditorByCheque | (Ultimate) creditor must be paid by cheque. |\n| HOLD | HoldCashForCreditor | Amount of money must be held for the (ultimate) creditor, who will call. Pay on identification. |\n| PHOB | PhoneBeneficiary | Please advise/contact (ultimate) creditor/claimant by phone. |\n| TELB | Telecom | Please advise/contact (ultimate) creditor/claimant by the most efficient means of telecommunication. |", "type": "string", "enum": [ "CHQB", "HOLD", "PHOB", "TELB" ] }, "instructionInformation": { "description": "Further information complementing the coded instruction or instruction to the creditor's agent that is bilaterally agreed or specific to a user community.", "type": "string", "maxLength": 140 } } }, "IntermediaryAgent": { "description": "Agent and agent account between the debtor's agent and the creditor's agent.", "type": "object", "properties": { "agent": { "$ref": "#/$defs/PartyIdentification" }, "agentAccount": { "$ref": "#/$defs/AccountIdentification" } } }, "LeiIdentification": { "description": "Legal Entity Identifier is a code allocated to a party as described in ISO 17442 \"Financial Services - Legal Entity Identifier (LEI)\".\n", "type": "string", "pattern": "^[A-Z0-9]{18,18}[0-9]{2,2}$" }, "LineDetail": { "description": "Set of elements used to provide the content of the referred document line.", "type": "object", "properties": { "identification": { "$ref": "#/$defs/DocumentLineIdentification" }, "description": { "description": "Description associated with the document line.", "type": "string", "maxLength": 2048 }, "amount": { "$ref": "#/$defs/RemittanceAmount" } } }, "LocalInstrumentCode": { "description": "ISO20022: User community specific instrument.\nUsage: This element is used to specify a local instrument, local clearing option and/or further qualify the service or service level.\nAPI: \"INST\" value is to be used in order to ask for an SEPA instant Payment (SCTInst).\nFor International payments, this field may be valued with one of the ISO20022 external code to specify with payment instrument should be used by the creditor's bank.\n", "type": "string" }, "PartyIdentification": { "description": "API : Description of a Party which can be either a person or an organization.\n", "type": "object", "properties": { "name": { "description": "ISO20022: Name by which a party is known and which is usually used to identify that party.\nThe [organisationId] property allows the specification of an unique and unambiguous way to identify an organisation.\nThe [privateId] property allows the specification of an unique and unambiguous way to identify a person.\n", "type": "string", "maxLength": 140 }, "dateAndPlaceOfBirth": { "$ref": "#/$defs/DateAndPlaceOfBirth" }, "postalAddress": { "$ref": "#/$defs/PostalAddress" }, "contactDetails": { "$ref": "#/$defs/ContactDetails" }, "organisationId": { "$ref": "#/$defs/GenericIdentification" }, "privateId": { "$ref": "#/$defs/GenericIdentification" }, "lei": { "$ref": "#/$defs/LeiIdentification" } }, "required": [ "name" ] }, "PaymentIdentification": { "description": "ISO20022: Set of elements used to reference a payment instruction.\n", "type": "object", "properties": { "instructionId": { "description": "ISO20022: Unique identification as assigned by an instructing party for an instructed party to unambiguously identify the instruction.\n\nAPI: Unique identification shared between the PISP and the ASPSP\n", "type": "string", "pattern": "^([a-zA-Z0-9 /\\-?:\\()\\.,']{1,36})$" }, "endToEndId": { "$ref": "#/$defs/EndToEndId" }, "uetr": { "description": "ISO20022: Universally unique identifier to provide an end-to-end reference of a payment transaction.\n", "type": "string", "pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89ab][a-f0-9]{3}-[a-f0-9]{12}$" } }, "required": [ "instructionId" ] }, "PaymentInformationId": { "description": "ISO20022: Reference assigned by a sending party to unambiguously identify the payment information block within the message.\nAPI: This field is a clue for idempotency check by the ASPSP in order to avoid duplicate SCA or payment execution. However the ASPSP may use other mechanisms.\n", "type": "string", "pattern": "^([a-zA-Z0-9 /\\-?:\\()\\.,']{1,36})$" }, "PaymentInformationStatusCode": { "description": "ISO20022: Specifies the status of the payment information.\nAPI: Mandatory. The following values are allowed to provide the status of the Payment Request\n| Code | Name | Description |\n| ---- | ---- | ---------- |\n| ACCO | AcceptedCustomerCOnfirmed | The customer, during his/her authentication, has confirmed the payment request. |\n| ACCP | AcceptedCustomerProfile | Preceding check of technical validation was successful. Customer profile check was also successful. |\n| ACSC | AcceptedSettlementCompleted | Settlement on the debtor's account was completed. In the case of SCTInst, this status must not been set by the debtor's Bank before the reception of the positive confirmation. |\n| ACSP | AcceptedSettlementInProcess | All preceding checks such as technical validation and customer profile were successful. Dynamic risk assessment is now also successful and therefore the Payment Request was accepted for execution. |\n| ACTC | AcceptedTechnicalValidation | Authentication and syntactical and semantical validation are successful. |\n| ACWC | AcceptedWithChange | Instruction is accepted but a change will be made, such as date or remittance not sent. |\n| ACWP | AcceptedWithoutPosting | Payment instruction included in the credit transfer is accepted without being posted to the creditor customer’s account. |\n| CANC | Cancelled | Payment initiation was successfully cancelled after having received a request for cancellation. |\n| PART | PartiallyAccepted | A number of transactions were accepted, whereas another number of transactions have not yet achieved 'accepted' status. |\n| PATC | PartiallyAcceptedTechnicalCorrect | Payment initiation needs multiple authentications, where some but not yet all were performed. Syntactical and semantical validations are successful. |\n| RCVD | Received | Payment initiation was received by the receiving agent. |\n| PDNG | Pending | Payment request or individual transaction included in the Payment Request is pending. Further checks and status update will be performed. |\n| RJCT | Rejected | Payment request was rejected. |\n![](https://www.stet.eu//assets/files/documents-api/payment-request-status-1-4-2.png)\n", "type": "string", "enum": [ "ACCP", "ACSC", "ACSP", "ACTC", "ACWC", "ACWP", "CANC", "PART", "RCVD", "PDNG", "RJCT", "ACCO" ] }, "PaymentRequestLinks": { "description": "links that can be used for further navigation when having post a Payment Request in order to get the relevant status report.\n| Link | Description |\n| ---- | ----------- |\n| request | This link provides the payment-request URL for retrieving or modifying |\n| confirmation | This link shall not be provided when the confirmation was already posted. |\n| transactions | The ASPSP might choose to provide the relevant transactions of a Payment Request through a specific link |\n", "type": "object", "properties": { "request": { "$ref": "#/$defs/GenericLink" }, "confirmation": { "$ref": "#/$defs/GenericLink" }, "transactions": { "$ref": "#/$defs/GenericLink" } }, "readOnly": true }, "PaymentRequestResource": { "description": "ISO20022: The PaymentRequestResource message is sent by the Creditor sending party to the Debtor receiving party, directly or through agents. It is used by a Creditor to request movement of funds from the debtor account to a creditor.\nAPI:\nInformation about the creditor (Id, account and agent) must be placed at instruction level. Thus multi-beneficiary payments can be handled.\nThe requested execution date must be placed at payment level even when all instructions are requested to be executed at the same date.\nThe latest case includes:\n- multiple instructions having different requested execution dates\n- standing orders settings\n", "type": "object", "properties": { "resourceId": { "$ref": "#/$defs/ResourceId" }, "paymentInformationId": { "$ref": "#/$defs/PaymentInformationId" }, "batchBooking": { "$ref": "#/$defs/BatchBookingIndicator" }, "creationDateTime": { "$ref": "#/$defs/CreationDateTime" }, "numberOfTransactions": { "description": "ISO20022: Number of individual transactions contained in the message.\nAPI: Each ASPSP will specify a maximum value for this field taking into accounts its specificities about payment request handling\n", "type": "integer", "minimum": 1 }, "initiatingParty": { "$ref": "#/$defs/PartyIdentification" }, "acceptDebtorAccountChange": { "description": "indicator that the debtor account can be changed in the payment request by the ASPSP if needed\n- true: debtor account can be changed (default value)\n- false: debtor account cannot be changed\n", "type": "boolean" }, "acceptChargeHandlingChange": { "description": "indicator that the charge handling can be changed in the payment request by the ASPSP if needed\n- true: charge handling can be changed (default value)\n- false: charge handling cannot be changed\n", "type": "boolean" }, "acceptInstantPaymentDowngrade": { "description": "Indicator that the requested instant SEPA Credit Transfer method can be downgraded by the ASPSP into a plain-vanilla SEPA Credit Transfer, when Instant SCT cannot apply or is refused by the PSU.\nEventually, it is up to the ASPSP to downgrade or reject the payment. In case of a downgrade, the ASPSP will have to update de relevant field [LocalInstrument] and remove the “INST” value in order to keep the PISP informed.\n- true: payment method can be downgraded\n- false: payment method cannot be downgraded (default value)\n", "type": "boolean" }, "paymentTypeInformation": { "$ref": "#/$defs/PaymentTypeInformation" }, "debtor": { "$ref": "#/$defs/PartyIdentification" }, "debtorAccount": { "$ref": "#/$defs/AccountIdentification" }, "debtorAgent": { "$ref": "#/$defs/FinancialInstitutionIdentification" }, "chargeBearer": { "$ref": "#/$defs/ChargeBearerCode" }, "paymentInformationStatus": { "$ref": "#/$defs/PaymentInformationStatusCode" }, "statusReasonInformation": { "$ref": "#/$defs/StatusReasonInformation" }, "fundsAvailability": { "$ref": "#/$defs/FundsAvailabilityInformation" }, "booking": { "$ref": "#/$defs/BookingInformation" }, "creditTransferTransaction": { "description": "ISO20022: Payment processes required to transfer cash from the debtor to the creditor.\nAPI: Each ASPSP will specify a maxItems value for this field taking into accounts its specificities about payment request handling\n", "type": "array", "items": { "$ref": "#/$defs/CreditTransferTransactionResource" }, "minItems": 1 }, "supplementaryData": { "$ref": "#/$defs/SupplementaryData" } }, "required": [ "paymentInformationId", "creationDateTime", "numberOfTransactions", "initiatingParty", "paymentTypeInformation", "creditTransferTransaction", "supplementaryData" ] }, "PaymentTypeInformation": { "description": "ISO20022: Set of elements used to further specify the type of transaction.\n", "type": "object", "properties": { "instructionPriority": { "$ref": "#/$defs/PriorityCode" }, "serviceLevel": { "$ref": "#/$defs/ServiceLevelCode" }, "localInstrument": { "$ref": "#/$defs/LocalInstrumentCode" }, "categoryPurpose": { "$ref": "#/$defs/CategoryPurposeCode" } } }, "PercentageRate": { "description": "Rate expressed as a percentage, ie, in hundredths, eg, 0.7 is 7/10 of a percent, and 7.0 is 7%.", "type": "number", "format": "float" }, "PhoneNumber": { "description": "The collection of information which identifies a specific phone or FAX number as defined by telecom services.\nIt consists of a \"+\" followed by the country code (from 1 to 3 characters) then a \"-\" and finally, any combination of numbers, \"(\", \")\", \"+\" and \"-\" (up to 30 characters).\n", "type": "string", "pattern": "^\\+[0-9]{1,3}-[0-9()+\\-]{1,30}$" }, "PostalAddress": { "description": "ISO20022: Information that locates and identifies a specific address, as defined by postal services.\n", "type": "object", "properties": { "addressType": { "description": "ISO20022: Identifies the nature of the postal address.\nAPI: Cannot be used for SEPA payments. Proprietary codes can be specified and documented if needed.\n| Code | Name | Description |\n| ---- | ---- | ----------- |\n| BIZZ | Business | Address is the business address |\n| DLVY | Delivery | Address is the address to which delivery is to take place |\n| MLTO | Mail To | Address is the address to which mail is sent |\n| PBOX | PO Box | Address is is a postal office (PO) box |\n| ADDR | Postal | Address is the complete postal address |\n| HOME | Business | Address is the home address |\n", "type": "string", "enum": [ "BIZZ", "DLVY", "MLTO", "PBOX", "ADDR", "HOME" ] }, "department": { "description": "ISO20022: Identification of a division of a large organisation or building.\nAPI: Cannot be used for SEPA payments.\n", "type": "string", "maxLength": 70 }, "subDepartment": { "description": "ISO20022: Identification of a sub-division of a large organisation or building.\nAPI: Cannot be used for SEPA payments.\n", "type": "string", "maxLength": 70 }, "streetName": { "description": "ISO20022: Name of a street or thoroughfare.\nAPI: Cannot be used for SEPA payments.\n", "type": "string", "maxLength": 70 }, "buildingNumber": { "description": "ISO20022: Number that identifies the position of a building on a street.\nAPI: Cannot be used for SEPA payments.\n", "type": "string", "maxLength": 16 }, "buildingName": { "description": "ISO20022: Name of the building or house.\nAPI: Cannot be used for SEPA payments.\n", "type": "string", "maxLength": 16 }, "postCode": { "description": "ISO20022: Identifier consisting of a group of letters and/or numbers that is added to a postal address to assist the sorting of mail.\nAPI: Cannot be used for SEPA payments.\n", "type": "string", "maxLength": 16 }, "townName": { "description": "ISO20022: Name of a built-up area, with defined boundaries, and a local government.\nAPI: Cannot be used for SEPA payments.\n", "type": "string", "maxLength": 35 }, "countrySubDivision": { "description": "ISO20022: Identifies a subdivision of a country such as state, region, county.\nAPI: Cannot be used for SEPA payments.\n", "type": "string", "maxLength": 35 }, "country": { "description": "ISO20022: Country in which a person resides (the place of a person's home). In the case of a company, it is the country from which the affairs of that company are directed.\n", "type": "string", "pattern": "^([A-Z]{2,2})$" }, "addressLine": { "description": "Unstructured address. The lines must embed zip code and town name.\nFor SEPA payments, only two address lines are allowed.\n", "type": "array", "items": { "description": "Address line", "type": "string", "maxLength": 70 }, "minItems": 1, "maxItems": 7 } }, "required": [ "country" ] }, "PriorityCode": { "description": "ISO20022: Indicator of the urgency or order of importance that the instructing party would like the instructed party to apply to the processing of the instruction.\nAPI: This field is useless for SCTInst and thus should be ignored.\n", "type": "string", "enum": [ "HIGH", "NORM" ] }, "PurposeCode": { "description": "ISO20022: Underlying reason for the payment transaction, as published in an external purpose code list.\nAPI: The following values are allowed for Payment Request\n| Code | Name | Description |\n| ---- | ---- | ---------- |\n| ACCT | AccountManagement | Funds moved between 2 accounts of same account holder at the same bank) |\n| CASH | CashManagementTransfer | (general cash management instruction) may be used for Transfer Initiation |\n| COMC | CommercialPayment | Transaction is related to a payment of commercial credit or debit. |\n| CPKC | CarparkCharges | General Carpark Charges Transaction is related to carpark charges. |\n| SALA | SalaryPayment | Transaction is the payment of salaries. |\n| TRPT | RoadPricing | Transport RoadPricing Transaction is for the payment to top-up pre-paid card and electronic road pricing for the purpose of transportation. |\n", "type": "string", "enum": [ "ACCT", "CASH", "COMC", "CPKC", "TRPT", "SALA" ] }, "ReferredDocumentInformation": { "description": "Provides the identification and the content of the referred document.", "type": "object", "properties": { "type": { "$ref": "#/$defs/CodeAndIssuer" }, "number": { "description": "Unique and unambiguous identification of the referred document.", "type": "string", "maxLength": 35 }, "relatedDate": { "description": "Date associated with the referred document.", "type": "string", "format": "date" }, "lineDetails": { "description": "Sets of elements used to provide the content of the referred document line.", "type": "array", "items": { "$ref": "#/$defs/LineDetail" }, "minItems": 1 } } }, "ReferredDocumentInformations": { "description": "Provides the identification and the content of the referred documents.\n", "type": "array", "items": { "$ref": "#/$defs/ReferredDocumentInformation" }, "minItems": 1 }, "RegulatoryReportingCode": { "description": "Information needed due to regulatory and statutory requirements.\nEconomical codes to be used are provided by the National Competent Authority\n", "type": "string", "maxLength": 10 }, "RegulatoryReportingCodes": { "description": "List of needed regulatory reporting codes for international payments\n", "type": "array", "items": { "$ref": "#/$defs/RegulatoryReportingCode" }, "minItems": 1, "maxItems": 10 }, "RemittanceAmount": { "description": "ISO20022: Provides details on the amounts of the document line.\nAPI: Amounts must always be set as positive values.\n| Property | Description |\n| -------- | ----------- |\n| duePayableAmount | Amount specified is the exact amount due and payable to the creditor. |\n| discountAppliedAmount | Amount of discount to be applied to the amount due and payable to the creditor. |\n| creditNoteAmount | Amount of a credit note. |\n| taxAmount | Amount of the tax. |\n| adjustmentAmountAndReason | Specifies detailed information on the amount and reason of the adjustment. |\n| remittedAmount | Amount of money remitted. |\n", "type": "object", "properties": { "duePayableAmount": { "$ref": "#/$defs/AmountType" }, "discountAppliedAmount": { "$ref": "#/$defs/TypedAmount" }, "creditNoteAmount": { "$ref": "#/$defs/AmountType" }, "taxAmount": { "$ref": "#/$defs/TypedAmount" }, "adjustmentAmountAndReason": { "$ref": "#/$defs/DocumentAdjustment" }, "remittedAmount": { "$ref": "#/$defs/AmountType" } } }, "RemittanceInformation": { "description": "ISO20022: Information supplied to enable the matching of an entry with the items that the transfer is intended to settle, such as commercial invoices in an accounts' receivable system.\nAPI:\n- Only one occurrence of the unstructured information is allowed.\n- Only one occurrence of the structured information is allowed.\n- Structured and unstructured information can coexist.\n", "type": "object", "properties": { "unstructured": { "description": "Unstructured remittance information.\nEach implementation may add a pattern in order to specify its own character set constraints. \n", "type": "array", "items": { "title": "remittanceLine", "description": "Relevant information to the transaction", "type": "string", "maxLength": 140 }, "minItems": 1 }, "structured": { "description": "Structured remittance information", "type": "array", "items": { "$ref": "#/$defs/StructuredRemittanceInformation" }, "minItems": 1 } } }, "RequestedExecutionDate": { "description": "ISO20022: Date at which the initiating party requests the clearing agent to process the payment.\nAPI:\nWhen set by the PISP, this field indicates the future date at which the payment instruction should be executed and the debtor account should be debited.\nif this field is not set by the PISP, the ASPSP is requested to execute the payment instruction as soon as possible.\nIn most of the cases, especially for international payments, the date of the credit on the credit account cannot be set. Only SCTInst can guarantee having the same date for this credit.\nWhen the payment cannot be processed at the requested date, the ASPSP is allowed to shift the applied execution date to the next possible execution date for non-standing orders.\nFor standing orders, this field is useless since the [startDate] parameter already provides the needed information for the first payment instruction to be executed.\n", "type": "string", "format": "date-time" }, "ResourceId": { "description": "API: Identifier assigned by the ASPSP for further use of the created resource through API calls.\nThe API client cannot set or modify the value of this field.\nSince this value can be exchanged between the server and the client as an URL element or for support information, it must not contain sensitive value such as personal or business data.\nHowever it is the duty of each ASPSP to perform its own risk analysis on this topic.\n", "type": "string", "pattern": "^([a-zA-Z0-9_ /\\-?:\\()\\.,']{1,100})$", "readOnly": true }, "ServiceLevelCode": { "description": "ISO20022: Agreement under which or rules under which the transaction should be processed. Specifies a pre-agreed service or level of service between the parties, as published in an external service level code list.\nAPI: Only \"SEPA\" (SEPA Credit Transfer) value is allowed\n", "type": "string", "enum": [ "SEPA" ] }, "StandingOrderCharacteristics": { "description": "Specifies the characteristics of a standing order.\n", "type": "object", "properties": { "startDate": { "$ref": "#/$defs/StartDate" }, "endDate": { "$ref": "#/$defs/EndDate" }, "executionRule": { "$ref": "#/$defs/ExecutionRule" }, "frequency": { "$ref": "#/$defs/FrequencyCode" } }, "required": [ "startDate", "executionRule", "frequency" ] }, "StartDate": { "description": "The first applicable day of execution for a given period.\n", "type": "string", "format": "date-time" }, "StatusReasonInformation": { "description": "ISO20022: Provides detailed information on the status reason.\n\nAPI: Can only be used in case the status is equal to \"RJCT\" or \"CANC\". Only the following values are allowed:\n| Code | Name | Description |\n| ---- | ---- | ---------- |\n| AC01 | IncorectAccountNumber | the account number is either invalid or does not exist |\n| AC04 | ClosedAccountNumber | the account is closed and cannot be used |\n| AC06 | BlockedAccount | the account is blocked and cannot be used |\n| AG01 | TransactionForbidden | Transaction forbidden on this type of account |\n| AG03 | TransactionNotSupported | Transaction type not supported/authorized on this account |\n| AM18 | InvalidNumberOfTransactions | the number of transactions exceeds the ASPSP acceptance limit |\n| CH03 | RequestedExecutionDateOrRequestedCollectionDateTooFarInFuture | The requested execution date is too far in the future |\n| CH04 | RequestedExecutionDateOrRequestedCollectionDateTooFarInPast | Value in Requested Execution Date or Requested Collection Date is too far in the past |\n| CNOR | CreditorBankIsNotRegistered | Creditor bank is not registered under this BIC in the CSM |\n| CUST | RequestedByCustomer | The reject is due to the debtor: refusal or lack of liquidity |\n| DS02 | OrderCancelled | An authorized user has cancelled the order |\n| DUPL | DuplicatePayment | Payment is a duplicate of another payment. Can only be set by a PISP for a payment request cancellation. |\n| FF01 | InvalidFileFormat | The reject is due to the original Payment Request which is invalid (syntax, structure or values) |\n| FRAD | FraudulentOriginated | the Payment Request is considered as fraudulent |\n| MS03 | NotSpecifiedReasonAgentGenerated | No reason specified by the ASPSP |\n| NOAS | NoAnswerFromCustomer | The PSU has neither accepted nor rejected the Payment Request and a time-out has occurred |\n| RR01 | MissingDebtorAccountOrIdentification | The Debtor account and/or Identification are missing or inconsistent |\n| RR03 | MissingCreditorNameOrAddress | Specification of the creditor’s name and/or address needed for regulatory requirements is insufficient or missing. |\n| RR04 | RegulatoryReason | Reject from regulatory reason |\n| RR12 | InvalidPartyID | Invalid or missing identification required within a particular country or payment type. |\n| TECH | TechnicalProblem | Technical problems resulting in an erroneous transaction. Can only be set by a PISP for a payment request cancellation. |\n", "type": "string", "enum": [ "AC01", "AC04", "AC06", "AG01", "AG03", "AM18", "CH03", "CUST", "DS02", "DUPL", "FF01", "FRAD", "MS03", "NOAS", "RR01", "RR03", "RR04", "RR12", "CNOR", "CH04" ] }, "StructuredRemittanceInformation": { "description": "Information supplied to enable the matching/reconciliation of an entry with the items that the payment is intended to settle, such as commercial invoices in an accounts' receivable system, in a structured form.\n", "type": "object", "properties": { "referredDocumentInformation": { "$ref": "#/$defs/ReferredDocumentInformations" }, "referredDocumentAmount": { "$ref": "#/$defs/RemittanceAmount" }, "creditorReferenceInformation": { "$ref": "#/$defs/CreditorReferenceInformation" }, "invoicer": { "$ref": "#/$defs/PartyIdentification" }, "invoicee": { "$ref": "#/$defs/PartyIdentification" }, "taxRemittance": { "$ref": "#/$defs/TaxInformation" } } }, "SupplementaryData": { "description": "ISO20022: Additional information that cannot be captured in the structured elements and/or any other specific block.\nAPI: This structure is used to embed the relevant URLs for returning the status report to the PISP and to specify which authentication approaches are accepted by the PISP and which was chosen by the ASPSP\nThe [acceptedAuthenticationApproach] property can only be set by the PISP.\n- Authentication approaches that are supported by the PISP. The PISP can provide several choices separated by commas.\n- Case of none of the accepted approaches is supported by the ASPSP, the latest will respond with HTTP400 (Bad request) and specify wich approaches are actually supported.\nThe [appliedAuthentication] will be set by the ASPSP.\n- The ASPSP, based on the authentication approaches proposed by the PISP, choose the one that it can processed, in respect with the preferences and constraints of the PSU and indicates in this field which approach was chosen.\n- It may happen that the ASPSP considers that, in case of payment cancellation request, there is no need for authentication and will then return \"NONE\".\n", "type": "object", "properties": { "acceptedAuthenticationApproach": { "$ref": "#/$defs/AuthenticationApproaches" }, "appliedAuthenticationApproach": { "$ref": "#/$defs/AuthenticationApproach" }, "appliedAuthentication": { "description": "Can only be set by the ASPSP.\nThis field allows the ASPSP to inform the PISP about the way authentication was processed during the payment request confirmation.\n", "type": "string", "enum": [ "noAuthentication", "oneFactorAuthentication", "strongAuthentication" ] }, "scaHint": { "description": "can only be set by the PISP\nHint given by the merchant and/or the PISP about an SCA exemption context\n", "type": "string", "enum": [ "noScaExemption", "scaExemption" ] }, "successfulReportUrl": { "description": "URL to be used by the ASPSP in order to notify the PISP of the finalisation of the authentication and consent process in REDIRECT and DECOUPLED approach\n", "type": "string" }, "unsuccessfulReportUrl": { "description": "URL to be used by the ASPSP in order to notify the PISP of the failure of the authentication and consent process in REDIRECT and DECOUPLED approach\nIf this URL is not provided by the PISP, the ASPSP will use the \"successfulReportUrl\" even in case of failure of the Payment Request processing\n", "type": "string" }, "nextStatusRequestHint": { "description": "Date and time at which the PISP is suggested to ask again for the status of the payment request.\n", "type": "string", "format": "date-time" } } }, "TaxAmount": { "description": "ISO20022: Set of elements used to provide information on the amount of the tax record.\nAPI: Amounts must always be set as positive values.\n| Property | Description |\n| -------- | ----------- |\n| rate | Rate used to calculate the tax. |\n| taxableBaseAmount | Amount of money on which the tax is based. |\n| totalAmount | Total amount that is the result of the calculation of the tax for the record. |\n| details | Set of elements used to provide details on the tax period and amount. |\n", "type": "object", "properties": { "rate": { "$ref": "#/$defs/PercentageRate" }, "taxableBaseAmount": { "$ref": "#/$defs/AmountType" }, "totalAmount": { "$ref": "#/$defs/AmountType" }, "details": { "description": "Set of elements used to provide details on the tax period and amount.", "type": "array", "items": { "$ref": "#/$defs/TaxRecordDetails" }, "minItems": 1 } } }, "TaxInformation": { "description": "ISO20022: Details about tax paid, or to be paid, to the government in accordance with the law, including pre-defined parameters such as thresholds and type of account.\nAPI: Amounts must always be set as positive values.\nThe [totalTaxableBaseAmount] property indicates the total amount of money on which the tax is based.\nThe [totalTaxAmount] property indicates the total amount of money as result of the calculation of the tax.\n", "type": "object", "properties": { "creditor": { "$ref": "#/$defs/TaxParty" }, "debtor": { "$ref": "#/$defs/TaxParty" }, "ultimateDebtor": { "$ref": "#/$defs/TaxParty" }, "administrationZone": { "description": "Territorial part of a country to which the tax payment is related.", "type": "string", "maxLength": 35 }, "referenceNumber": { "description": "Tax reference information that is specific to a taxing agency.", "type": "string", "maxLength": 140 }, "method": { "description": "Method used to indicate the underlying business or how the tax is paid.", "type": "string", "maxLength": 35 }, "totalTaxableBaseAmount": { "$ref": "#/$defs/AmountType" }, "totalTaxAmount": { "$ref": "#/$defs/AmountType" }, "date": { "description": "Date by which tax is due.", "type": "string", "format": "date" }, "sequenceNumber": { "description": "Sequential number of the tax report.", "type": "integer", "format": "int32" }, "record": { "description": "Records of tax details", "type": "array", "items": { "$ref": "#/$defs/TaxRecord" }, "minItems": 1 } } }, "TaxParty": { "description": "Set of elements used to identify a party of the transaction to which the tax applies.\nThe [authorization] property aims to provide the details of the authorised tax paying party.\n", "type": "object", "properties": { "taxIdentification": { "description": "Tax identification number of the party.", "type": "string", "maxLength": 35 }, "registrationIdentification": { "description": "Unique identification, as assigned by an organisation, to unambiguously identify a party.", "type": "string", "maxLength": 35 }, "taxType": { "description": "Type of tax payer.", "type": "string", "maxLength": 35 }, "authorisation": { "$ref": "#/$defs/TitleAndName" } } }, "TaxPeriod": { "description": "Set of elements used to provide details on the period of time related to the tax payment.\nThe [type] property aims to identify the period related to the tax payment.\n", "type": "object", "properties": { "year": { "description": "Year related to the tax payment.", "type": "string", "pattern": "^[0-9]{4,4}$" }, "type": { "$ref": "#/$defs/TaxRecordPeriodCode" }, "fromDate": { "description": "Start date of the range.", "type": "string", "format": "date" }, "toDate": { "description": "End date of the range.", "type": "string", "format": "date" } } }, "TaxRecord": { "description": "Record of tax details\nthe [period] property embbeds the set of elements used to provide details on the period of time related to the tax payment.\nthe [amount] property embbeds the set of elements used to provide information on the amount of the tax record.\n", "type": "object", "properties": { "type": { "description": "High level code to identify the type of tax details.", "type": "string", "maxLength": 35 }, "category": { "description": "Specifies the tax code as published by the tax authority.", "type": "string", "maxLength": 35 }, "categoryDetails": { "description": "Provides further details of the category tax code.", "type": "string", "maxLength": 35 }, "debtorStatus": { "description": "Code provided by local authority to identify the status of the party that has drawn up the settlement document.", "type": "string", "maxLength": 35 }, "certificateIdentification": { "description": "Identification number of the tax report as assigned by the taxing authority.", "type": "string", "maxLength": 35 }, "formsCode": { "description": "Identifies, in a coded form, on which template the tax report is to be provided.", "type": "string", "maxLength": 35 }, "period": { "$ref": "#/$defs/TaxPeriod" }, "taxAmount": { "$ref": "#/$defs/TaxAmount" }, "additionalInformation": { "description": "Further details of the tax record.", "type": "string", "maxLength": 140 } } }, "TaxRecordDetails": { "description": "ISO20022: Elements used to provide details on the tax period and amount.\nAPI: Amounts must always be set as positive values.\n| Property | Description |\n| -------- | ----------- |\n| period | Set of elements used to provide details on the period of time related to the tax payment. |\n| amount | Underlying tax amount related to the specified period. |\n", "type": "object", "properties": { "period": { "$ref": "#/$defs/TaxPeriod" }, "amount": { "$ref": "#/$defs/AmountType" } }, "required": [ "amount" ] }, "TaxRecordPeriodCode": { "description": "Identification of the period related to the tax payment.\n| Code | Description |\n| ---- | ---------- |\n| MM01 | FirstMonth Tax is related to the second month of the period. |\n| MM02 | SecondMonth Tax is related to the first month of the period. |\n| MM03 | ThirdMonth Tax is related to the third month of the period. |\n| MM04 | FourthMonth Tax is related to the fourth month of the period. |\n| MM05 | FifthMonth Tax is related to the fifth month of the period. |\n| MM06 | SixthMonth Tax is related to the sixth month of the period. |\n| MM07 | SeventhMonth Tax is related to the seventh month of the period. |\n| MM08 | EighthMonth Tax is related to the eighth month of the period. |\n| MM09 | NinthMonth Tax is related to the ninth month of the period. |\n| MM10 | TenthMonth Tax is related to the tenth month of the period. |\n| MM11 | EleventhMonth Tax is related to the eleventh month of the period. |\n| MM12 | TwelfthMonth Tax is related to the twelfth month of the period. |\n| QTR1 | FirstQuarter Tax is related to the first quarter of the period. |\n| QTR2 | SecondQuarter Tax is related to the second quarter of the period. |\n| QTR3 | ThirdQuarter Tax is related to the third quarter of the period. |\n| QTR4 | FourthQuarter Tax is related to the fourth quarter of the period. |\n| HLF1 | FirstHalf Tax is related to the first half of the period. |\n| HLF2 | SecondHalf Tax is related to the second half of the period. |\n", "type": "string", "enum": [ "MM01", "MM02", "MM03", "MM04", "MM05", "MM06", "MM07", "MM08", "MM09", "MM10", "MM11", "MM12", "QTR1", "QTR2", "QTR3", "QTR4", "HLF1", "HLF2" ] }, "TitleAndName": { "description": "Title and Name of the party or the party's authorised reprensentative.", "type": "object", "properties": { "title": { "description": "Title or position of the party or the party's authorised reprensentative.", "type": "string", "maxLength": 35 }, "name": { "description": "Name of the party or the party's authorised reprensentative.", "type": "string", "maxLength": 140 } } }, "TransactionIndividualStatusCode": { "description": "ISO20022: Specifies the status of the payment information group.\n\nAPI: Only the following values are allowed to provide the status of the subsequent CREDIT TRANSFER to the Payment Request\n| Code | Name | Description |\n| ---- | ---- | ---------- |\n| ACSC | AcceptedSettlementCompleted | Settlement on the debtor's account was completed. In the case of SCTInst, this status must not been set by the debtor's Bank before the reception of the positive confirmation. The transaction cannot be cancelled. |\n| ACSP | AcceptedSettlementInProcess | All preceding checks such as technical validation and customer profile were successful and therefore the Payment Request was accepted for execution. The transaction cannot be cancelled. |\n| ACTC | AcceptedTechnicalValidation | Authentication and syntactical and semantical validation are successful. The transaction might be cancelled. |\n| CANC | Cancelled | Payment initiation was successfully cancelled after having received a request for cancellation. |\n| PDNG | Pending | Payment request or individual transaction included in the Payment Request is pending. Further checks and status update will be performed. The transaction might be cancelled. |\n| RJCT | Rejected | Payment request or individual transaction included in the Payment Request was rejected. |\n![](https://www.stet.eu//assets/files/documents-api/transaction-status-1-4-2.png)\n", "type": "string", "enum": [ "ACSC", "ACSP", "ACTC", "CANC", "PDNG", "RJCT" ] }, "TypedAmount": { "description": "ISO20022: Typed Amount\nAPI: Amounts must always be set as positive values.\n", "type": "object", "properties": { "type": { "description": "Type of the amount", "type": "string", "maxLength": 35 }, "amount": { "$ref": "#/$defs/AmountType" } }, "required": [ "amount" ] }, "Workspace": { "description": "Some ASPSP may provide different user workspaces that can be accessed by the same authenticated PSU. In this case, the AISP is able to retrieve the different pieces of account information by specifying the relevant workspace as a QUERY parameter. Identification of the workspace to be used when processing the request. If not present, the default workspace to be used is the one that is linked to the authentication processed during the OAuth2 access token request.", "type": "object", "properties": { "identification": { "description": "identification of the workspace to be used as an optional query parameter for some AISP queries", "type": "string", "maxLength": 32 }, "label": { "description": "textual description of the workspace as specified by the ASPSP in relationship wth the PSU", "type": "string", "maxLength": 128 } }, "required": [ "identification", "label" ] } } }