nordicsmartgovernment / requirements

Issue tracking repository
0 stars 0 forks source link

[USER STORY] Update business transaction (PaymentID) #25

Open data-david opened 5 years ago

data-david commented 5 years ago

As: a system user (another system used in the PoCs) I wish: to update the paymentID for the business transaction So that: the system can have most complete set of data that is available about the transaction

Relatert til epos:

Lenke til design: Lenke til løsningsarkitektur: realized by patch-operation in transaction-API

Forretningsverdi (Kritisk/Viktig/Mindre viktig/Kjekt å ha):

data-david commented 5 years ago

A company receive a voucher (invoice) which states one line item (a machine) is bought, the entry is filed to Asset/equipment (debit) and Asset/Accounts payable (credit). The payment id is not included in the invoice. Later when the invoice is paid the Company adds another transaction, Asset/Accounts payable (debit) and Asset/Bank/cash at bank (credit) -> Correct. The invoice is the voucher for the transaction of the goods/services being exchanged and the bank statement is the voucher for the payment transaction and they can be linked together by the payment reference for easier reconciliation.

I assume the field cbc:PaymentID in BIS is used here.

Then the payment needs to be reconcilidated. Missing paymentID, is this field after reconciliation added? -> yes the cbc:PaymentID is the payment reference. If it's missing in the payment details / invoice, the accountant/ system may try to match the payer details on the payment to buyer details on the invoice, or the amount details respectively. This tends to be more manual then..

ekoskent commented 5 years ago

This is done by updating the business transaction data. The paymentID reference may be updated to transaction details with the API. The correct element in XBRL GL is gl-taf:originatingDocumentIdentifierCode in the gl-taf:originatingDocumentStructure-group with in entryDetails. see issue Informasjonsforvaltning/behov_NSG#24