@mojaloop/api-snippets 17.6.0 → 17.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/audit-ci.jsonc +3 -1
- package/docs/fspiop-rest-v2.0-ISO20022-openapi3-snippets.yaml +1607 -289
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/AccountIdentification4Choice.yaml +12 -0
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/AccountSchemeName1Choice.yaml +8 -0
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/ActiveCurrencyAndAmount.yaml +4 -0
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/ActiveOrHistoricCurrencyAndAmount.yaml +4 -0
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/AddressType2Code.yaml +1 -0
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/AddressType3Choice.yaml +8 -0
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/BranchAndFinancialInstitutionIdentification6.yaml +12 -0
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/BranchAndFinancialInstitutionIdentification8.yaml +22 -8
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/BranchData3.yaml +16 -0
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/BranchData5.yaml +28 -6
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/CashAccount40.yaml +29 -0
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/CashAccountType2Choice.yaml +8 -0
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/CategoryPurpose1Choice.yaml +8 -0
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/ChargeType3Choice.yaml +12 -1
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/Charges16.yaml +14 -0
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/ClearingSystemIdentification2Choice.yaml +9 -0
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/ClearingSystemMemberIdentification2.yaml +9 -0
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/Contact13.yaml +53 -0
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/Contact4.yaml +48 -0
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/CountryCode.yaml +3 -0
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/CreditTransferTransaction67.yaml +78 -0
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/CreditTransferTransaction68.yaml +48 -0
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/DateAndPlaceOfBirth1.yaml +16 -0
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/DatePeriod2.yaml +10 -2
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/Execute_FIToFICustomerCreditTransferV13.yaml +46 -38
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/FinancialIdentificationSchemeName1Choice.yaml +8 -0
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/FinancialInstitutionIdentification18.yaml +48 -7
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/FinancialInstitutionIdentification23.yaml +48 -7
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/FxRequest_FICreditTransferProposal.yaml +71 -69
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/FxResponse_FICreditTransferConfirmation.yaml +8 -0
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/Fxecute_FinancialInstitutionCreditTransferV12.yaml +9 -1
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/GenericAccountIdentification1.yaml +12 -0
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/GenericFinancialIdentification1.yaml +12 -0
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/GenericIdentification3.yaml +9 -0
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/GenericIdentification30.yaml +12 -0
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/GenericOrganisationIdentification1.yaml +12 -0
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/GenericOrganisationIdentification3.yaml +12 -0
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/GenericPersonIdentification1.yaml +12 -0
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/GenericPersonIdentification2.yaml +12 -0
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/GetPartiesError_IdentificationVerificationReportV03.yaml +13 -0
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/GetParties_IdentificationVerificationReportV03.yaml +60 -40
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/GroupHeader120.yaml +19 -0
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/IdentificationAssignment3.yaml +14 -0
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/IdentificationInformation4.yaml +12 -0
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/IdentificationVerificationIndicator.yaml +5 -0
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/InstructionForCreditorAgent3.yaml +10 -0
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/InstructionForNextAgent1.yaml +10 -0
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/LocalInstrument2Choice.yaml +8 -0
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/OrganisationIdentification29.yaml +12 -0
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/OrganisationIdentification39.yaml +12 -0
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/OrganisationIdentificationSchemeName1Choice.yaml +8 -0
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/OtherContact1.yaml +8 -0
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/PacsStatus_FIToFIPaymentStatusReportV15.yaml +16 -65
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/Party38Choice.yaml +8 -0
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/Party40Choice.yaml +9 -1
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/Party52Choice.yaml +9 -1
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/PartyIdentification135.yaml +43 -7
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/PartyIdentification272.yaml +21 -0
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/PaymentIdentification13.yaml +39 -0
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/PaymentTypeInformation28.yaml +24 -0
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/PersonIdentification13.yaml +8 -0
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/PersonIdentification18.yaml +8 -0
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/PersonIdentificationSchemeName1Choice.yaml +8 -0
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/ProxyAccountIdentification1.yaml +8 -0
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/ProxyAccountType1Choice.yaml +11 -1
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/Purpose2Choice.yaml +8 -0
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/RegulatoryAuthority2.yaml +8 -0
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/RegulatoryReporting3.yaml +19 -1
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/ServiceLevel8Choice.yaml +9 -0
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/SettlementInstruction15.yaml +8 -1
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/StatusReason6Choice.yaml +8 -0
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/StatusReasonInformation14.yaml +12 -0
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/StructuredRegulatoryReporting3.yaml +32 -2
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/SupplementaryData1.yaml +12 -0
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/SupplementaryDataEnvelope1.yaml +5 -2
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/TaxAmount3.yaml +21 -1
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/TaxAuthorisation1.yaml +8 -0
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/TaxData1.yaml +49 -1
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/TaxParty1.yaml +12 -0
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/TaxParty2.yaml +16 -0
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/TaxPeriod3.yaml +16 -4
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/TaxRecord3.yaml +41 -5
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/TaxRecordDetails3.yaml +8 -0
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/VerificationReason1Choice.yaml +9 -0
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/VerificationReport4.yaml +57 -9
- package/fspiop/v2_0_ISO20022/openapi3/openapi.yaml +1 -1
- package/lib/fspiop/v2_0_ISO20022/json-schemas.json +19225 -8772
- package/lib/fspiop/v2_0_ISO20022/openapi.d.ts +1285 -370
- package/lib/fspiop/v2_0_ISO20022/schemas.d.ts +17496 -7191
- package/package.json +5 -5
@@ -4,12 +4,28 @@ description: |
|
|
4
4
|
type: object
|
5
5
|
properties:
|
6
6
|
TaxId:
|
7
|
+
description: |
|
8
|
+
TaxIdentification
|
9
|
+
|
10
|
+
Tax identification number of the debtor.
|
7
11
|
$ref: ./Max35Text.yaml
|
8
12
|
RegnId:
|
13
|
+
description: |
|
14
|
+
RegistrationIdentification
|
15
|
+
|
16
|
+
Unique identification, as assigned by an organisation, to unambiguously identify a party.
|
9
17
|
$ref: ./Max35Text.yaml
|
10
18
|
TaxTp:
|
19
|
+
description: |
|
20
|
+
TaxType
|
21
|
+
|
22
|
+
Type of tax payer.
|
11
23
|
$ref: ./Max35Text.yaml
|
12
24
|
Authstn:
|
25
|
+
description: |
|
26
|
+
Authorisation
|
27
|
+
|
28
|
+
Details of the authorised tax paying party.
|
13
29
|
$ref: ./TaxAuthorisation1.yaml
|
14
30
|
example:
|
15
31
|
TaxId: 123456789
|
@@ -3,12 +3,24 @@ description: |
|
|
3
3
|
Period of time details related to the tax payment.
|
4
4
|
type: object
|
5
5
|
properties:
|
6
|
-
Yr:
|
7
|
-
$ref: ./ISOYear.yaml
|
8
|
-
Tp:
|
9
|
-
$ref: ./TaxRecordPeriod1Code.yaml
|
10
6
|
FrToDt:
|
11
7
|
$ref: ./DatePeriod2.yaml
|
8
|
+
description: |
|
9
|
+
FromToDate
|
10
|
+
|
11
|
+
Range of time between a start date and an end date for which the tax report is provided.
|
12
|
+
Tp:
|
13
|
+
$ref: ./TaxRecordPeriod1Code.yaml
|
14
|
+
description: |
|
15
|
+
Type
|
16
|
+
|
17
|
+
Identification of the period related to the tax payment.
|
18
|
+
Yr:
|
19
|
+
$ref: ./ISOYear.yaml
|
20
|
+
description: |
|
21
|
+
Year
|
22
|
+
|
23
|
+
Year related to the tax payment.
|
12
24
|
example:
|
13
25
|
Yr: 2020
|
14
26
|
Tp: MM01
|
@@ -3,24 +3,60 @@ description: |
|
|
3
3
|
Set of elements used to define the tax record.
|
4
4
|
type: object
|
5
5
|
properties:
|
6
|
-
|
6
|
+
AddtlInf:
|
7
|
+
$ref: ./Max140Text.yaml
|
8
|
+
description: |
|
9
|
+
AdditionalInformation
|
10
|
+
|
11
|
+
Further details of the tax record.
|
12
|
+
CertId:
|
7
13
|
$ref: ./Max35Text.yaml
|
14
|
+
description: |
|
15
|
+
CertificateIdentification
|
16
|
+
|
17
|
+
Identification number of the tax report as assigned by the taxing authority.
|
8
18
|
Ctgy:
|
9
19
|
$ref: ./Max35Text.yaml
|
20
|
+
description: |
|
21
|
+
Category
|
22
|
+
|
23
|
+
Specifies the tax code as published by the tax authority.
|
10
24
|
CtgyDtls:
|
11
25
|
$ref: ./Max35Text.yaml
|
26
|
+
description: |
|
27
|
+
CategoryDetails
|
28
|
+
|
29
|
+
Provides further details of the category tax code.
|
12
30
|
DbtrSts:
|
13
31
|
$ref: ./Max35Text.yaml
|
14
|
-
|
15
|
-
|
32
|
+
description: |
|
33
|
+
DebtorStatus
|
34
|
+
|
35
|
+
Code provided by local authority to identify the status of the party that has drawn up the settlement document.
|
16
36
|
FrmsCd:
|
17
37
|
$ref: ./Max35Text.yaml
|
38
|
+
description: |
|
39
|
+
FormsCode
|
40
|
+
|
41
|
+
Identifies, in a coded form, on which template the tax report is to be provided.
|
18
42
|
Prd:
|
19
43
|
$ref: ./TaxPeriod3.yaml
|
44
|
+
description: |
|
45
|
+
Period
|
46
|
+
|
47
|
+
Set of elements used to provide details on the period of time related to the tax payment.
|
20
48
|
TaxAmt:
|
21
49
|
$ref: ./TaxAmount3.yaml
|
22
|
-
|
23
|
-
|
50
|
+
description: |
|
51
|
+
TaxAmount
|
52
|
+
|
53
|
+
Set of elements used to provide information on the amount of the tax record.
|
54
|
+
Tp:
|
55
|
+
$ref: ./Max35Text.yaml
|
56
|
+
description: |
|
57
|
+
Type
|
58
|
+
|
59
|
+
High level code to identify the type of tax details.
|
24
60
|
example:
|
25
61
|
Tp: VAT
|
26
62
|
Ctgy: A
|
@@ -4,8 +4,16 @@ description: |
|
|
4
4
|
type: object
|
5
5
|
properties:
|
6
6
|
Prd:
|
7
|
+
description: |
|
8
|
+
Period
|
9
|
+
|
10
|
+
Set of elements used to provide details on the period of time related to the tax payment.
|
7
11
|
$ref: ./TaxPeriod3.yaml
|
8
12
|
Amt:
|
13
|
+
description: |
|
14
|
+
Amount
|
15
|
+
|
16
|
+
Underlying tax amount related to the specified period.
|
9
17
|
$ref: ./ActiveOrHistoricCurrencyAndAmount.yaml
|
10
18
|
required:
|
11
19
|
- Amt
|
@@ -2,8 +2,17 @@ title: VerificationReason1Choice
|
|
2
2
|
type: object
|
3
3
|
properties:
|
4
4
|
Cd:
|
5
|
+
description: >
|
6
|
+
Code
|
7
|
+
|
8
|
+
Reason why the verified identification information is incorrect, as published in an external
|
9
|
+
reason code list.
|
5
10
|
$ref: ./ExternalVerificationReason1Code.yaml
|
6
11
|
Prtry:
|
12
|
+
description: >
|
13
|
+
Proprietary
|
14
|
+
|
15
|
+
Reason why the verified identification information is incorrect, in a free text form.
|
7
16
|
$ref: ./Max35Text.yaml
|
8
17
|
oneOf:
|
9
18
|
- required:
|
@@ -2,28 +2,76 @@ title: VerificationReport4
|
|
2
2
|
type: object
|
3
3
|
properties:
|
4
4
|
OrgnlId:
|
5
|
+
description: >
|
6
|
+
OriginalIdentification
|
7
|
+
|
8
|
+
Unique identification, as assigned by a sending party, to unambiguously identify the party
|
9
|
+
and account identification information group within the original message.
|
5
10
|
$ref: ./Max35Text.yaml
|
6
11
|
Vrfctn:
|
12
|
+
description: >
|
13
|
+
Verification
|
14
|
+
|
15
|
+
Identifies whether the party and/or account information received is correct.
|
16
|
+
Boolean value.
|
7
17
|
$ref: ./IdentificationVerificationIndicator.yaml
|
8
18
|
Rsn:
|
19
|
+
description: >
|
20
|
+
Reason.
|
21
|
+
|
22
|
+
Specifies the reason why the verified identification information is incorrect.
|
9
23
|
$ref: ./VerificationReason1Choice.yaml
|
10
24
|
OrgnlPtyAndAcctId:
|
25
|
+
description: >
|
26
|
+
OriginalPartyAndAccountIdentification
|
27
|
+
|
28
|
+
Provides party and/or account identification information as given in the original message.
|
11
29
|
$ref: ./IdentificationInformation4.yaml
|
12
30
|
UpdtdPtyAndAcctId:
|
31
|
+
description: >
|
32
|
+
UpdatedPartyAndAccountIdentification
|
33
|
+
|
34
|
+
Provides party and/or account identification information.
|
13
35
|
$ref: ./IdentificationInformation4.yaml
|
14
36
|
required:
|
15
37
|
- OrgnlId
|
16
38
|
- Vrfctn
|
17
39
|
example:
|
18
|
-
OrgnlId:
|
40
|
+
OrgnlId: 1234567890123456789012345678901234
|
19
41
|
Vrfctn: true
|
20
|
-
Rsn:
|
21
|
-
Cd: AGNT
|
22
42
|
OrgnlPtyAndAcctId:
|
23
|
-
|
24
|
-
|
25
|
-
|
43
|
+
Nm: John Doe
|
44
|
+
PstlAdr:
|
45
|
+
AdrTp: ADDR
|
46
|
+
Dept: Dept
|
47
|
+
SubDept: SubDept
|
48
|
+
StrtNm: 1234 Elm St
|
49
|
+
BldgNb: 1234
|
50
|
+
PstCd: 12345
|
51
|
+
TwnNm: Anytown
|
52
|
+
CtrySubDvsn: CA
|
53
|
+
Ctry: US
|
54
|
+
Id:
|
55
|
+
OrgId:
|
56
|
+
AnyBIC: ABCDUS33
|
57
|
+
Othr:
|
58
|
+
Id: 123456789
|
59
|
+
Issr: ABA
|
26
60
|
UpdtdPtyAndAcctId:
|
27
|
-
|
28
|
-
|
29
|
-
|
61
|
+
Nm: John Doe
|
62
|
+
PstlAdr:
|
63
|
+
AdrTp: ADDR
|
64
|
+
Dept: Dept
|
65
|
+
SubDept: SubDept
|
66
|
+
StrtNm: 1234 Elm St
|
67
|
+
BldgNb: 1234
|
68
|
+
PstCd: 12345
|
69
|
+
TwnNm: Anytown
|
70
|
+
CtrySubDvsn: CA
|
71
|
+
Ctry: US
|
72
|
+
Id:
|
73
|
+
OrgId:
|
74
|
+
AnyBIC: ABCDUS33
|
75
|
+
Othr:
|
76
|
+
Id: 123456789
|
77
|
+
Issr: ABA
|