{"id":39240,"date":"2026-08-11T15:40:30","date_gmt":"2026-08-11T14:40:30","guid":{"rendered":"https:\/\/developers.ila.cegid.com\/yet\/\/"},"modified":"2026-08-11T15:45:09","modified_gmt":"2026-08-11T14:45:09","slug":"how-to-send-and-retrieve-documents","status":"publish","type":"yet","link":"https:\/\/developers.ila.cegid.com\/en\/yet\/documents\/standard-scope\/article\/how-to-send-and-retrieve-documents","title":{"rendered":"How to send and retrieve documents?"},"content":{"rendered":"<section class=\"av_textblock_section \"  itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/CreativeWork\" ><div class='avia_textblock  '   itemprop=\"text\" ><p>This article covers how to send documents (for EDI communication or as PDFs) and how to consult documents and their states through the API.<\/p>\n<\/div><\/section>\n<section class=\"av_textblock_section \"  itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/CreativeWork\" ><div class='avia_textblock  '   itemprop=\"text\" ><h2>Send documents<\/h2>\n<p>This endpoint allows you to send documents, either for <strong>EDI<\/strong> communication or by sending <strong>PDFs<\/strong>.<\/p>\n<p>To send a document, send the following request:<\/p>\n<table style=\"border-collapse: collapse; width: 100%;\">\n<tbody>\n<tr>\n<td style=\"width: 17.7419%;\">Type<\/td>\n<td style=\"width: 82.2581%;\">POST<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 17.7419%;\">Production<\/td>\n<td style=\"width: 82.2581%;\">https:\/\/yet.cegid.cloud\/EDIV2\/api\/v1.3\/External\/Transaction\/Outbound<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 17.7419%;\">Testing<\/td>\n<td style=\"width: 82.2581%;\">https:\/\/st.yet.cegid.cloud\/EDIV2\/api\/v1.3\/External\/Transaction\/Outbound<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 17.7419%;\">Body<\/td>\n<td style=\"width: 82.2581%;\">{<br \/>\n&#8220;mainDocument&#8221;: { \/\/ required IF EDI communication<br \/>\n&#8220;content&#8221;: &#8220;&#8221;, \/\/ byte[] base64 string<br \/>\n&#8220;extension&#8221;: &#8220;xml&#8221;, \/\/ string: xml<br \/>\n&#8220;fileName&#8221;: &#8220;&#8221;, \/\/ string<br \/>\n&#8220;fileTag&#8221;: &#8220;document&#8221;, \/\/ string: document<br \/>\n&#8220;fileType&#8221;: &#8220;xml&#8221;, \/\/ string: xml|pdf|txt<br \/>\n&#8220;mimeType&#8221;: &#8220;text\/xml&#8221;, \/\/ string: text\/xml|application\/pdf<br \/>\n&#8220;id&#8221;: &#8220;&#8221;,<br \/>\n&#8220;createdAt&#8221;: &#8220;&#8221; \/\/ datetime<br \/>\n},<br \/>\n&#8220;mainDocumentPdf&#8221;: { \/\/ required IF sending PDF<br \/>\n&#8220;content&#8221;: &#8220;&#8221;, \/\/ byte[] in base64 string<br \/>\n&#8220;extension&#8221;: &#8220;pdf&#8221;, \/\/ string: pdf<br \/>\n&#8220;fileName&#8221;: &#8220;&#8221;, \/\/ string<br \/>\n&#8220;fileTag&#8221;: &#8220;document&#8221;, \/\/ string: document<br \/>\n&#8220;fileType&#8221;: &#8220;pdf&#8221;, \/\/ string: pdf<br \/>\n&#8220;mimeType&#8221;: &#8220;application\/pdf&#8221;, \/\/ string: application\/pdf<br \/>\n&#8220;id&#8221;: &#8220;&#8221;,<br \/>\n&#8220;createdAt&#8221;: &#8220;&#8221; \/\/ datetime<br \/>\n},<br \/>\n&#8220;attachmentsLits&#8221;: [ \/\/ optional<br \/>\n{<br \/>\n&#8220;content&#8221;: &#8220;&#8221;, \/\/ byte[] base64 string<br \/>\n&#8220;extension&#8221;: &#8220;pdf&#8221;, \/\/ string: pdf|xml|zip|txt<br \/>\n&#8220;fileName&#8221;: &#8220;&#8221;, \/\/ string<br \/>\n&#8220;fileTag&#8221;: &#8220;Attachment&#8221;, \/\/ string: Attachment<br \/>\n&#8220;fileType&#8221;: &#8220;pdf&#8221;, \/\/ string: pdf|xml|zip|txt<br \/>\n&#8220;mimeType&#8221;: &#8220;application\/pdf&#8221;,<br \/>\n&#8220;id&#8221;: &#8220;&#8221;,<br \/>\n&#8220;createdAt&#8221;: &#8220;&#8221; \/\/ datetime<br \/>\n}<br \/>\n]<br \/>\n}<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 17.7419%;\">Response<\/td>\n<td style=\"width: 82.2581%;\">201 Created:<br \/>\n{<br \/>\n&#8220;id&#8221;: &#8220;3fa85f64-5717-4562-b3fc-2c963f66afa6&#8221;,<br \/>\n&#8220;docType&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;docNumber&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;docDate&#8221;: &#8220;2025-02-23T15:43:04.887Z&#8221;,<br \/>\n&#8220;docDescription&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;buyerGln&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;deliveryGln&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;invoiceToGln&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;supplierGln&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;b2centity&#8221;: {<br \/>\n&#8220;id&#8221;: &#8220;3fa85f64-5717-4562-b3fc-2c963f66afa6&#8221;,<br \/>\n&#8220;name&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;codeIdentifier&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;email&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;mobilePhone&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;contacts&#8221;: [<br \/>\n{<br \/>\n&#8220;id&#8221;: &#8220;3fa85f64-5717-4562-b3fc-2c963f66afa6&#8221;,<br \/>\n&#8220;name&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;email&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;enable&#8221;: true,<br \/>\n&#8220;mobilePhone&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;sendMailType&#8221;: &#8220;CC&#8221;<br \/>\n}<br \/>\n]<br \/>\n},<br \/>\n&#8220;documentType&#8221;: &#8220;Generic&#8221;,<br \/>\n&#8220;documentExtenion&#8221;: &#8220;EDI&#8221;,<br \/>\n&#8220;comercialRelation&#8221;: {<br \/>\n&#8220;id&#8221;: &#8220;3fa85f64-5717-4562-b3fc-2c963f66afa6&#8221;,<br \/>\n&#8220;senderOrganization&#8221;: {<br \/>\n&#8220;id&#8221;: &#8220;3fa85f64-5717-4562-b3fc-2c963f66afa6&#8221;,<br \/>\n&#8220;communicationType&#8221;: &#8220;AS2&#8221;,<br \/>\n&#8220;integrationType&#8221;: &#8220;EDI&#8221;,<br \/>\n&#8220;documentExtension&#8221;: &#8220;EDI&#8221;,<br \/>\n&#8220;b2bformat&#8221;: &#8220;PRI&#8221;,<br \/>\n&#8220;erpProviderId&#8221;: &#8220;3fa85f64-5717-4562-b3fc-2c963f66afa6&#8221;,<br \/>\n&#8220;identifier&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;inboundPath&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;outboundPath&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;name&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;invoiceRepository&#8221;: true,<br \/>\n&#8220;autoComercialRelation&#8221;: true,<br \/>\n&#8220;mainDeliveryPlace&#8221;: {<br \/>\n&#8220;id&#8221;: &#8220;3fa85f64-5717-4562-b3fc-2c963f66afa6&#8243;,&#8221;code&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;name&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;address&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;city&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;country&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;postalCode&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;vatNumber&#8221;: &#8220;string&#8221;<br \/>\n},<br \/>\n&#8220;organizationInfo&#8221;: {<br \/>\n&#8220;billingCommission&#8221;: true,<br \/>\n&#8220;id&#8221;: &#8220;3fa85f64-5717-4562-b3fc-2c963f66afa6&#8221;,<br \/>\n&#8220;name&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;vatNumber&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;organizationType&#8221;: &#8220;string&#8221;<br \/>\n}<br \/>\n},<br \/>\n&#8220;receiverOrganization&#8221;: {<br \/>\n&#8220;id&#8221;: &#8220;3fa85f64-5717-4562-b3fc-2c963f66afa6&#8221;,<br \/>\n&#8220;communicationType&#8221;: &#8220;AS2&#8221;,<br \/>\n&#8220;integrationType&#8221;: &#8220;EDI&#8221;,<br \/>\n&#8220;documentExtension&#8221;: &#8220;EDI&#8221;,<br \/>\n&#8220;b2bformat&#8221;: &#8220;PRI&#8221;,<br \/>\n&#8220;erpProviderId&#8221;: &#8220;3fa85f64-5717-4562-b3fc-2c963f66afa6&#8221;,<br \/>\n&#8220;identifier&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;inboundPath&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;outboundPath&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;name&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;invoiceRepository&#8221;: true,<br \/>\n&#8220;autoComercialRelation&#8221;: true,<br \/>\n&#8220;mainDeliveryPlace&#8221;: {<br \/>\n&#8220;id&#8221;: &#8220;3fa85f64-5717-4562-b3fc-2c963f66afa6&#8221;,<br \/>\n&#8220;code&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;name&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;address&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;city&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;country&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;postalCode&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;vatNumber&#8221;: &#8220;string&#8221;<br \/>\n},<br \/>\n&#8220;organizationInfo&#8221;: {<br \/>\n&#8220;billingCommission&#8221;: true,<br \/>\n&#8220;id&#8221;: &#8220;3fa85f64-5717-4562-b3fc-2c963f66afa6&#8221;,<br \/>\n&#8220;name&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;vatNumber&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;organizationType&#8221;: &#8220;string&#8221;<br \/>\n}<br \/>\n},<\/p>\n<p>&#8220;documentType&#8221;: &#8220;Generic&#8221;,<br \/>\n&#8220;van&#8221;: {<br \/>\n&#8220;id&#8221;: &#8220;3fa85f64-5717-4562-b3fc-2c963f66afa6&#8221;,<br \/>\n&#8220;name&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;username&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;password&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;inboundPath&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;outboundPath&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;ssl&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;port&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;testName&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;testUsername&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;testPassword&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;testInboundPath&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;testOutboundPath&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;testSSL&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;testPort&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;endPointUrl&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;useWs&#8221;: true<br \/>\n},<br \/>\n&#8220;active&#8221;: true,<br \/>\n&#8220;isOnTeste&#8221;: true,<br \/>\n&#8220;mapName&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;isPDFMandatory&#8221;: true,<br \/>\n&#8220;isJasminSync&#8221;: true,<br \/>\n&#8220;layoutReceiver&#8221;: {<br \/>\n&#8220;id&#8221;: &#8220;3fa85f64-5717-4562-b3fc-2c963f66afa6&#8221;,<br \/>\n&#8220;organization&#8221;: {<br \/>\n&#8220;id&#8221;: &#8220;3fa85f64-5717-4562-b3fc-2c963f66afa6&#8221;,<br \/>\n&#8220;communicationType&#8221;: &#8220;AS2&#8221;,<br \/>\n&#8220;integrationType&#8221;: &#8220;EDI&#8221;,<br \/>\n&#8220;documentExtension&#8221;: &#8220;EDI&#8221;,<br \/>\n&#8220;b2bformat&#8221;: &#8220;PRI&#8221;,<br \/>\n&#8220;erpProviderId&#8221;: &#8220;3fa85f64-5717-4562-b3fc-2c963f66afa6&#8221;,<br \/>\n&#8220;identifier&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;inboundPath&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;outboundPath&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;name&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;invoiceRepository&#8221;: true,<br \/>\n&#8220;autoComercialRelation&#8221;: true,<br \/>\n&#8220;mainDeliveryPlace&#8221;: {<br \/>\n&#8220;id&#8221;: &#8220;3fa85f64-5717-4562-b3fc-2c963f66afa6&#8221;,<br \/>\n&#8220;code&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;name&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;address&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;city&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;country&#8221;: &#8220;string&#8221;,<\/p>\n<p>&#8220;postalCode&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;vatNumber&#8221;: &#8220;string&#8221;<br \/>\n},<br \/>\n&#8220;organizationInfo&#8221;: {<br \/>\n&#8220;billingCommission&#8221;: true,<br \/>\n&#8220;id&#8221;: &#8220;3fa85f64-5717-4562-b3fc-2c963f66afa6&#8221;,<br \/>\n&#8220;name&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;vatNumber&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;organizationType&#8221;: &#8220;string&#8221;<br \/>\n}<br \/>\n},<br \/>\n&#8220;layoutDocument&#8221;: {<br \/>\n&#8220;id&#8221;: &#8220;3fa85f64-5717-4562-b3fc-2c963f66afa6&#8221;,<br \/>\n&#8220;layoutId&#8221;: &#8220;3fa85f64-5717-4562-b3fc-2c963f66afa6&#8221;,<br \/>\n&#8220;documentTypeEnum&#8221;: &#8220;Generic&#8221;,<br \/>\n&#8220;direction&#8221;: true,<br \/>\n&#8220;mapa&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;formatTypeEnum&#8221;: &#8220;XML&#8221;,<br \/>\n&#8220;segmento&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;separator&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;senderStart&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;senderEnd&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;receiverStart&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;receiverEnd&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;documentTypeStart&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;documentTypeEnd&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;documentTypeFileCode&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;numberStart&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;numberEnd&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;dateStart&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;dateEnd&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;dateFormat&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;bpPreExecution&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;bpPosExecution&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;layout&#8221;: {<br \/>\n&#8220;id&#8221;: &#8220;3fa85f64-5717-4562-b3fc-2c963f66afa6&#8221;,<br \/>\n&#8220;name&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;description&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;layoutDocuments&#8221;: [<br \/>\n&#8220;string&#8221;<br \/>\n]<br \/>\n},<br \/>\n&#8220;van&#8221;: {<br \/>\n&#8220;id&#8221;: &#8220;3fa85f64-5717-4562-b3fc-2c963f66afa6&#8221;,<br \/>\n&#8220;name&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;username&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;password&#8221;: &#8220;string&#8221;,<\/p>\n<p>&#8220;inboundPath&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;outboundPath&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;ssl&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;port&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;testName&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;testUsername&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;testPassword&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;testInboundPath&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;testOutboundPath&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;testSSL&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;testPort&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;endPointUrl&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;useWs&#8221;: true<br \/>\n}<br \/>\n},<br \/>\n&#8220;layoutDefault&#8221;: true<br \/>\n},<br \/>\n&#8220;layoutSender&#8221;: {<br \/>\n&#8220;id&#8221;: &#8220;3fa85f64-5717-4562-b3fc-2c963f66afa6&#8221;,<br \/>\n&#8220;organization&#8221;: {<br \/>\n&#8220;id&#8221;: &#8220;3fa85f64-5717-4562-b3fc-2c963f66afa6&#8221;,<br \/>\n&#8220;communicationType&#8221;: &#8220;AS2&#8221;,<br \/>\n&#8220;integrationType&#8221;: &#8220;EDI&#8221;,<br \/>\n&#8220;documentExtension&#8221;: &#8220;EDI&#8221;,<br \/>\n&#8220;b2bformat&#8221;: &#8220;PRI&#8221;,<br \/>\n&#8220;erpProviderId&#8221;: &#8220;3fa85f64-5717-4562-b3fc-2c963f66afa6&#8221;,<br \/>\n&#8220;identifier&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;inboundPath&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;outboundPath&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;name&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;invoiceRepository&#8221;: true,<br \/>\n&#8220;autoComercialRelation&#8221;: true,<br \/>\n&#8220;mainDeliveryPlace&#8221;: {<br \/>\n&#8220;id&#8221;: &#8220;3fa85f64-5717-4562-b3fc-2c963f66afa6&#8221;,<br \/>\n&#8220;code&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;name&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;address&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;city&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;country&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;postalCode&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;vatNumber&#8221;: &#8220;string&#8221;<br \/>\n},<br \/>\n&#8220;organizationInfo&#8221;: {<br \/>\n&#8220;billingCommission&#8221;: true,<br \/>\n&#8220;id&#8221;: &#8220;3fa85f64-5717-4562-b3fc-2c963f66afa6&#8221;,<br \/>\n&#8220;name&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;vatNumber&#8221;: &#8220;string&#8221;,<\/p>\n<p>&#8220;testOutboundPath&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;testSSL&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;testPort&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;endPointUrl&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;useWs&#8221;: true<br \/>\n}<br \/>\n},<br \/>\n&#8220;layoutDefault&#8221;: true<br \/>\n}<br \/>\n},<br \/>\n&#8220;van&#8221;: {<br \/>\n&#8220;id&#8221;: &#8220;3fa85f64-5717-4562-b3fc-2c963f66afa6&#8221;,<br \/>\n&#8220;name&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;username&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;password&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;inboundPath&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;outboundPath&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;ssl&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;port&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;testName&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;testUsername&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;testPassword&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;testInboundPath&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;testOutboundPath&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;testSSL&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;testPort&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;endPointUrl&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;useWs&#8221;: true<br \/>\n},<br \/>\n&#8220;transactionState&#8221;: &#8220;PendingParser&#8221;,<br \/>\n&#8220;transactionType&#8221;: &#8220;QuickInvoice&#8221;,<br \/>\n&#8220;organizationOwner&#8221;: {<br \/>\n&#8220;id&#8221;: &#8220;3fa85f64-5717-4562-b3fc-2c963f66afa6&#8221;,<br \/>\n&#8220;communicationType&#8221;: &#8220;AS2&#8221;,<br \/>\n&#8220;integrationType&#8221;: &#8220;EDI&#8221;,<br \/>\n&#8220;documentExtension&#8221;: &#8220;EDI&#8221;,<br \/>\n&#8220;b2bformat&#8221;: &#8220;PRI&#8221;,<br \/>\n&#8220;erpProviderId&#8221;: &#8220;3fa85f64-5717-4562-b3fc-2c963f66afa6&#8221;,<br \/>\n&#8220;identifier&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;inboundPath&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;outboundPath&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;name&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;invoiceRepository&#8221;: true,<br \/>\n&#8220;autoComercialRelation&#8221;: true,<br \/>\n&#8220;mainDeliveryPlace&#8221;: {<br \/>\n&#8220;id&#8221;: &#8220;3fa85f64-5717-4562-b3fc-2c963f66afa6&#8221;,<br \/>\n&#8220;code&#8221;: &#8220;string&#8221;,<\/p>\n<p>&#8220;name&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;address&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;city&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;country&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;postalCode&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;vatNumber&#8221;: &#8220;string&#8221;<br \/>\n},<br \/>\n&#8220;organizationInfo&#8221;: {<br \/>\n&#8220;billingCommission&#8221;: true,<br \/>\n&#8220;id&#8221;: &#8220;3fa85f64-5717-4562-b3fc-2c963f66afa6&#8221;,<br \/>\n&#8220;name&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;vatNumber&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;organizationType&#8221;: &#8220;string&#8221;<br \/>\n}<br \/>\n},<br \/>\n&#8220;alreadySent&#8221;: true,<br \/>\n&#8220;direction&#8221;: true,<br \/>\n&#8220;createdAt&#8221;: &#8220;2025-02-23T15:43:04.888Z&#8221;,<br \/>\n&#8220;documentDetails&#8221;: &#8220;string&#8221;<br \/>\n}<br \/>\n409 Conflict or 500 Internal Server Error:<br \/>\n{<br \/>\n&#8220;type&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;title&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;status&#8221;: 0,<br \/>\n&#8220;detail&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;instance&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;additionalProp1&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;additionalProp2&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;additionalProp3&#8221;: &#8220;string&#8221;<br \/>\n}<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div><\/section>\n<section class=\"av_textblock_section \"  itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/CreativeWork\" ><div class='avia_textblock  '   itemprop=\"text\" ><h2>Get sent documents<\/h2>\n<p>This request returns all the <strong>documents sen<\/strong>t. You can set the top and skip parameters, which allow you to define the number of documents you want to get.<\/p>\n<p>To retrieve sent documents, send the following request:<\/p>\n<table style=\"border-collapse: collapse; width: 100%; height: 95px;\">\n<tbody>\n<tr style=\"height: 19px;\">\n<td style=\"width: 50%; height: 19px;\">Type<\/td>\n<td style=\"width: 50%; height: 19px;\">GET<\/td>\n<\/tr>\n<tr style=\"height: 19px;\">\n<td style=\"width: 50%; height: 19px;\">Production<\/td>\n<td style=\"width: 50%; height: 19px;\">https:\/\/yet.cegid.cloud\/EDIV2\/api\/v1.3\/External\/Transaction?$count=true&amp;$top=100&amp;$skip=100<\/td>\n<\/tr>\n<tr style=\"height: 19px;\">\n<td style=\"width: 50%; height: 19px;\">Testing<\/td>\n<td style=\"width: 50%; height: 19px;\">https:\/\/st.yet.cegid.cloud\/EDIV2\/api\/v1.3\/External\/Transaction?$count=true&amp;$top=100&amp;$skip=100<\/td>\n<\/tr>\n<tr style=\"height: 19px;\">\n<td style=\"width: 50%; height: 19px;\">Response<\/td>\n<td style=\"width: 50%; height: 19px;\">200 Ok:<br \/>\n[<br \/>\n{<br \/>\n&#8220;transactionId&#8221;: &#8220;3fa85f64-5717-4562-b3fc-2c963f66afa6&#8221;,<br \/>\n&#8220;files&#8221;: [<br \/>\n{<br \/>\n&#8220;id&#8221;: &#8220;3fa85f64-5717-4562-b3fc-2c963f66afa6&#8221;,<br \/>\n&#8220;fileType&#8221;: &#8220;JSON&#8221;,<br \/>\n&#8220;fileTag&#8221;: &#8220;CertificateContractSent&#8221;,<br \/>\n&#8220;content&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;extension&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;mimeType&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;fileName&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;createdAt&#8221;: &#8220;2025-02-23T15:45:02.788Z&#8221;<br \/>\n}<br \/>\n]<br \/>\n}<br \/>\n]<br \/>\n404 Not Found or 500 Internal Server Error:<br \/>\n{<br \/>\n&#8220;type&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;title&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;status&#8221;: 0,<br \/>\n&#8220;detail&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;instance&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;additionalProp1&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;additionalProp2&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;additionalProp3&#8221;: &#8220;string&#8221;<br \/>\n}<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div><\/section>\n<section class=\"av_textblock_section \"  itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/CreativeWork\" ><div class='avia_textblock  '   itemprop=\"text\" ><h2>Get a specific document<\/h2>\n<p>It is possible to obtain a <strong>specific document<\/strong> via its identifier. This <strong>identifier<\/strong> is returned by the <strong>Send Documents<\/strong> request, above.<\/p>\n<p>To retrieve a specific document, send the following request:<\/p>\n<table style=\"border-collapse: collapse; width: 100%; height: 95px;\">\n<tbody>\n<tr style=\"height: 19px;\">\n<td style=\"width: 50%; height: 19px;\">Type<\/td>\n<td style=\"width: 50%; height: 19px;\">GET<\/td>\n<\/tr>\n<tr style=\"height: 19px;\">\n<td style=\"width: 50%; height: 19px;\">Production<\/td>\n<td style=\"width: 50%; height: 19px;\">https:\/\/yet.cegid.cloud\/EDIV2\/api\/v1.3\/External\/Transaction\/{{transactionId}}<\/td>\n<\/tr>\n<tr style=\"height: 19px;\">\n<td style=\"width: 50%; height: 19px;\">Testing<\/td>\n<td style=\"width: 50%; height: 19px;\">https:\/\/st.yet.cegid.cloud\/EDIV2\/api\/v1.3\/External\/Transaction\/{{transactionId}}<\/td>\n<\/tr>\n<tr style=\"height: 19px;\">\n<td style=\"width: 50%; height: 19px;\">Route params<\/td>\n<td style=\"width: 50%; height: 19px;\">transactionId: \u201cguid\u201d \/\/ ID of the created document<\/td>\n<\/tr>\n<tr style=\"height: 19px;\">\n<td style=\"width: 50%; height: 19px;\">Response<\/td>\n<td style=\"width: 50%; height: 19px;\">200 Ok: Same response 4.1<br \/>\n404 Not Found or 500 Internal Server Error:<br \/>\n{<br \/>\n&#8220;type&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;title&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;status&#8221;: 0,<br \/>\n&#8220;detail&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;instance&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;additionalProp1&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;additionalProp2&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;additionalProp3&#8221;: &#8220;string&#8221;<br \/>\n}<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div><\/section>\n<section class=\"av_textblock_section \"  itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/CreativeWork\" ><div class='avia_textblock  '   itemprop=\"text\" ><h2>Received documents<\/h2>\n<p>This request returns the documents to be <strong>received<\/strong>, in <strong>&#8220;To Export&#8221;<\/strong> state. After this request, all the exported documents will be in <strong>&#8220;Exported&#8221;<\/strong> state.<\/p>\n<p>To retrieve received documents, send the following request:<\/p>\n<table style=\"border-collapse: collapse; width: 100%;\">\n<tbody>\n<tr>\n<td style=\"width: 50%;\">Type<\/td>\n<td style=\"width: 50%;\">GET<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 50%;\">Production<\/td>\n<td style=\"width: 50%;\">https:\/\/yet.cegid.cloud\/EDIV2\/api\/v1.3\/External\/Transaction\/ExportAll<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 50%;\">Testing<\/td>\n<td style=\"width: 50%;\">https:\/\/st.yet.cegid.cloud\/EDIV2\/api\/v1. 3\/External\/Transaction\/ExportAll<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 50%;\">Response<\/td>\n<td style=\"width: 50%;\">200 OK<br \/>\n[<br \/>\n{<br \/>\n&#8220;transactionId&#8221;: &#8220;3fa85f64-5717-4562-b3fc-2c963f66afa6&#8221;,<br \/>\n&#8220;files&#8221;: [<br \/>\n{<br \/>\n&#8220;id&#8221;: &#8220;3fa85f64-5717-4562-b3fc-2c963f66afa6&#8221;,<br \/>\n&#8220;fileType&#8221;: &#8220;JSON&#8221;,<br \/>\n&#8220;fileTag&#8221;: &#8220;CertificateContractSent&#8221;,<br \/>\n&#8220;content&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;extension&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;mimeType&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;fileName&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;createdAt&#8221;: &#8220;2025-02-23T15:46:42.018Z&#8221;<br \/>\n}<br \/>\n]<br \/>\n}<br \/>\n]<br \/>\n404 Not Found or 500 Internal Server Error:<br \/>\n{<br \/>\n&#8220;type&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;title&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;status&#8221;: 0,<br \/>\n&#8220;detail&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;instance&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;additionalProp1&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;additionalProp2&#8221;: &#8220;string&#8221;,<br \/>\n&#8220;additionalProp3&#8221;: &#8220;string&#8221;<br \/>\n}<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div><\/section>\n","protected":false},"excerpt":{"rendered":"","protected":false},"featured_media":0,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","format":"standard","tags":[1090],"videos_tax":[],"post-type":[300],"categoria-yet":[1081],"class_list":["post-39240","yet","type-yet","status-publish","format-standard","hentry","tag-documents","post-type-artigo","categoria-yet-standard-scope"],"_links":{"self":[{"href":"https:\/\/developers.ila.cegid.com\/en\/wp-json\/wp\/v2\/yet\/39240","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developers.ila.cegid.com\/en\/wp-json\/wp\/v2\/yet"}],"about":[{"href":"https:\/\/developers.ila.cegid.com\/en\/wp-json\/wp\/v2\/types\/yet"}],"replies":[{"embeddable":true,"href":"https:\/\/developers.ila.cegid.com\/en\/wp-json\/wp\/v2\/comments?post=39240"}],"version-history":[{"count":0,"href":"https:\/\/developers.ila.cegid.com\/en\/wp-json\/wp\/v2\/yet\/39240\/revisions"}],"wp:attachment":[{"href":"https:\/\/developers.ila.cegid.com\/en\/wp-json\/wp\/v2\/media?parent=39240"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developers.ila.cegid.com\/en\/wp-json\/wp\/v2\/tags?post=39240"},{"taxonomy":"videos_tax","embeddable":true,"href":"https:\/\/developers.ila.cegid.com\/en\/wp-json\/wp\/v2\/videos_tax?post=39240"},{"taxonomy":"post-type","embeddable":true,"href":"https:\/\/developers.ila.cegid.com\/en\/wp-json\/wp\/v2\/post-type?post=39240"},{"taxonomy":"categoria-yet","embeddable":true,"href":"https:\/\/developers.ila.cegid.com\/en\/wp-json\/wp\/v2\/categoria-yet?post=39240"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}