action storecove_show_document_submission_evidence { label: "Get DocumentSubmission Evidence" description: "Get evidence for a DocumentSubmission by GUID with corresponding status" provider: storecove method: GET path: "/document_submissions/{guid}/evidence/{evidence_type}" encoding: json input: { type: "object" properties: { evidence_type: { type: "string" enum: ["sending", "clearing"] } guid: { type: "string" format: "uuid" } } required: ["evidence_type", "guid"] additionalProperties: false } output: { properties: { documents: { type: "array" description: "An array of documents that were sent. For OpenPeppol, this is always a single document (it may contain a PDF inside). For Email, the number of documents depends on the number of attachments, which in turn depends on the country of the receiver. For email, the raw email in RFC822 format is also included." items: { properties: { document: { type: "string" description: "The URL where the document can be retrieved." } expires_at: { type: "string" description: "The datetime the URL expires. Format: 'YYYY-MM-DD HH:mm:ss.'" } mime_type: { type: "string" description: "The mime type of the document." enum: ["message/rfc822", "application/xml", "application/json", "application/pdf"] } } } } evidence: { properties: { message_id: { type: "string" description: "The unique message id used in the OpenPeppol SBDH." } receiving_accesspoint: { type: "string" description: "An identification of the OpenPeppol accesspoint that the invoice was sent to." } remote_mta_ip: { type: "string" description: "The IP address of the sending SMTP server." } reporting_mta: { type: "string" description: "An identification for the sending SMTP." } smtp_response: { type: "string" description: "The response of the receiving SMTP server." } timestamp: { type: "string" description: "The timestamp of the delivery to the receiving SMTP server." } transmission_id: { type: "string" description: "The unique id for this OpenPeppol transmission." } xml: { type: "string" description: "The XML evidence for the transmission. This is the XML returned by the receiving OpenPeppol accesspoint." } } } network: { type: "string" description: "The exchange network that was used to send the document" enum: ["as2", "email", "peppol", "sdi"] } receiver: { type: "string" description: "The legal identifier of the receiver, or the tax identifier if there is no legal identifier." } sender: { type: "string" description: "The legal identifier of the sender, or the tax identifier if there is no legal identifier." } } } }