Closed francescodiperna closed 1 year ago
Hi @francescodiperna, yes theoretically you should be able to deduce the document type identifier from the document you want to send. The exactly rules for this is defined in the Peppol Policy for use of identifiers from https://docs.peppol.eu/edelivery/ - depending on the syntax you use (UBL or CII) you need to find the correct "Customization ID".
The process ID may also be deduced to my understanding - using the "Profile ID" in the document to be send.
If you however have a document type that doesn't have a Customization ID you may need a fallback.
I suggest to pass the document type ID and process ID explicitly to the method.
Good morning Philip, thanks. Your answer confirm my implementation idea. Bye
Ciao, I'm writing a function for create the SBDH header with the following parameters:
Can I abstract from the document type and process schema calculating those data from the body of the document? This is my code, thanks.