The project is a PL/SQL package for integrating a corporate information system with the Kontur Diadoc electronic document management system. The main task is to send electronic documents (Universal Transfer Documents, Invoices, etc.), specifically their titles, to Diadoc using the API.
send_dd_document — main workflow/V3/PostMessage and processes the responseprocess_formalized_doc — processing formalized (UniversalTransferDocument/CorrectionDocument) documentsprocess_non_formalized_doc — processing non-formalized documentsSigners) with certificate thumbprintsend_request_blob — HTTP client for streaming binary data with UTL_HTTP and DBMS_LOB to stream BLOBs in chunks. Reads and assembles response as LOB/RAWXML and JSON handling:
XMLType / XMLTABLE for parsing FNS formatspljson / pljson_ext for JSON building and processingTechnologies: Oracle PL/SQL, UTL_HTTP, DBMS_LOB, XMLType, XMLTABLE, JSON (pljson/pljson_ext), Diadoc API