From the logical point of view, each business entity is provided of a unique key: invoiceId for the invoices, noticeId for the messages, companyId for the companies.
In case of invoice transmission (active cycle), there’s a further key (request-id) that can be used instead of the invoiceId.
The attribute companyGroupCode is an aggregation metadata, decided in the configuration step, that can be configured to group companies in an intermediate entity. All the companies which have the same companyGroupCode can be selected with a specific filter.
The processes that concern invoices management are different according to the invoice type; for the invoices to Public Administration are provided different notifications and status compared to those of B2B invoices. Moreover, B2B process has less steps, because of lack of the customer result.