Structure of serviceProviderIdentifier (BT-86)
As I see in the schema this is the path for the 'serviceProviderIdentifier'
transaction.tradeSettlement.paymentInstruction.sellerBankInformation.serviceProviderIdentifier
If I understand it correctly the project aims to implement the xRechnung standard where BT-86 is in the group BG-17 (child of BG-16) which has a cardinality of 0...N
So my suggestion would be to make sellerBankInformation an array to comply with xRechnung standard. What do you think?
transaction.tradeSettlement.paymentInstructions.sellerBankInformation[*].serviceProviderIdentifier
You’re right, sellerBankInformation should be an array for xRechnung. Best practice would be to implement this in a separate xRechnung profile to keep the core schema clean and avoid mixing standard specific rules. I’m also planning to split the profiles into individual packages when I have the time, because not everyone will use every profile.