node-zugferd icon indicating copy to clipboard operation
node-zugferd copied to clipboard

Structure of serviceProviderIdentifier (BT-86)

Open karladler opened this issue 1 year ago • 1 comments

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

karladler avatar Jul 19 '25 07:07 karladler

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.

jslno avatar Jul 27 '25 18:07 jslno