I have COMPLETE SOURCE CODE for an API and works fine for generating Electronic Invoice.
I need you design one or two or more procedures with some parameters for INPUT and based in source code I include you procedure send output Electronic Key, Digital Seal, XML File, and Accounting Policy.
In resume I need you design a simple procedure with input parameters (you say me) and then output information I say before.