[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-docs] branch master updated: transaction
From: |
gnunet |
Subject: |
[taler-docs] branch master updated: transaction |
Date: |
Fri, 26 Jun 2020 15:29:38 +0200 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository docs.
The following commit(s) were added to refs/heads/master by this push:
new a846d00 transaction
a846d00 is described below
commit a846d00e60789fe2ba1a64c86df69da9a494280a
Author: Florian Dold <florian.dold@gmail.com>
AuthorDate: Fri Jun 26 18:59:18 2020 +0530
transaction
---
libeufin/iso20022.rst | 94 +++++++++++++++++++++++++++++++++++----------------
1 file changed, 64 insertions(+), 30 deletions(-)
diff --git a/libeufin/iso20022.rst b/libeufin/iso20022.rst
index 304bd0d..aa6df20 100644
--- a/libeufin/iso20022.rst
+++ b/libeufin/iso20022.rst
@@ -29,52 +29,86 @@ LibEuFin combines camt.052, camt.053 and camt.054, as they
essentially
have the same structure and serve the same purpose: Reporting transactions
on a customer's bank account.
-.. code-block:: typescript
-
- interface CashManagementResponseMessage {
- // ISO: MessageIdentification
- messageId: string;
-
- messageType: "report" | "statement" | "notification";
+We also flatten the hierarchy a bit and only have entries ("money movement in
one go")
+and transactions.
- // ISO: CreationDateTime
- creationDateTime: string;
+.. code-block:: typescript
- entries: Entry[];
+ interface AccountTransactionItem {
+ // LibEuFin-internal identifier for the transaction
+ nexusTransactionId: string;
- }
+ // Link to the entry that contains the transaction
+ nexusEntryId: string;
- interface Entry {
- transactions: Transaction[];
- }
+ // At least one of entryId or accountServicerRef
+ // must be non-null
+ entryId?: string;
+ accountServicerRef?: string;
- interface Transaction {
creditDebitIndicator: "credit" | "debit";
amount: string;
currency: string;
-
- bookingDate?: string;
+ instructedAmountDetails?: {
+ amount: string;
+ currency: string;
+ currencyExchange?: {
+ sourceCurrency: string;
+ targetCurrency: string;
+ unitCurrency: string;
+ exchangeRate: string;
+ contractId: string;
+ quotationDate: string;
+ };
+ };
+ status: "booked" | "pending" | "info";
valueDate?: string;
+ bookingDate?: string;
+ mandateId?: string;
+ endToEndId?: string;
+ messageId?: string;
- accountServicerRef?: string;
+ creditor?: Party
+ creditorAgent?: FinancialInstitution;
+ creditorAccount?: FinancialInstitution;
- bankTransactionCode: BankTransactionCode;
+ debtor?: Party
+ debtorAgent?: FinancialInstitution;
+ debtorAccount?: FinancialInstitution;
- details: TransactionDetails[];
+ unstructuredRemittanceInformation?: string;
+ bankTransactionCode: BankTransactionCode;
}
- interface TransactionDetails {
- creditDebitIndicator: "credit" | "debit";
- amount: string;
- currency: string;
-
- // Referenced message ID
- messageId: string;
+ interface Party {
+ name?: string;
+ partyType: "private" | "organization";
+ otherId?: {
+ id: string;
+ schemeName?: string;
+ issuer?: string;
+ };
+ }
- endToEndId: string;
- paymentIdentificationId?: string;
+ interface Account {
+ name?: string;
+ currency?: string;
+ otherId?: {
+ id: string;
+ schemeName?: string;
+ issuer?: string;
+ };
+ }
- bankTransactionCode: BankTransactionCode;
+ interface FinancialInstitution {
+ type: "financial-institution";
+ name?: string;
+ bic?: string;
+ otherId?: {
+ id: string;
+ schemeName?: string;
+ issuer?: string;
+ };
}
interface BankTransactionCode {
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-docs] branch master updated: transaction,
gnunet <=