Use Case "Doing Business in Another Member State" (DBA UC2)

From DE4A
Revision as of 14:21, 12 May 2021 by Bart.vanbekkum (talk | contribs) (Added messages)
Jump to navigation Jump to search

The Use Case "Doing Business in Another Member State" of the Doing Business Abroad Pilot (DBA UC2) uses the Subscription and Notification Pattern.

This use case focusses at assessing the consequence for active eServices in case of a business event, e.g. company goes bankrupt, company stops it’s activities, company merges, etc. The data consumer may subscribe to notifications on selected business events. In case such an event occurs, the data provider notifies the data consumer. The data consumer needs to assess the relevance of the notification. It can then for example request the updated data from the data provider or decide it doesn’t need any additional data. Furthermore, the data consumer may intervene in an active eService (e.g. stop periodical grants or impose a tax obligation). The data consumer may also use the notifications as input to a general fraud prevention and protection procedure.

Message ‘Subscription request’

Element Description M/O Example value
Legal Person Identifier Identification of the company following the eIDAS regulation: country code / country code / company identifier O RO/AT/90000471
Requested action Indicates whether a subscription or the cancellation of a subscription is requested by the sender: ‘subscribe’ or ‘unsubscribe’ M subscribe
Participant ID The OOP TS participant identifier that identifies the organisation that is the subscriber (and thus will receive business event notifications) O SE000000013
Business event type The business event to subscribe to. If omitted, subscribe to all business events O
Legal person identifier Identification of the company following the standard for EUID, <country code><business register code>.<company identifier>_<optional check character>. EUID is used for all companies registered in a European business register. M
Subscription period The period for which the subscription is valid. If omitted subscription is valid until a unsubcribe request. O
TBD: event catalogue The domain of events the subscription is
TBD: subscription period The date of beginning and ending (optional) of the subscription

Message ‘Subscription confirmation’

Element Description Example value
Legal Person Identifier
Subscription timestamp
Subscription result Subscription successful ; subscription cancellation successful
Subscription request reference
Subscription reference Local identifier of the subscription. Not needed but can be useful in exception flows

Message ‘Subscription error’

Element Description Example value
Legal Person Identifier
Request type Subscribe / unsubscribe
Error timestamp
Subscriber identification
Error message Subscribe: company unknown, (participant not authorized)

Unsubscribe: company unknown, company not active, subscription unknown, subscription not active

>move this text to subpage DBA

Subscription request reference