The API’s GetInboxDocuments, GetOutboxDocuments and GetDocuments return a list of one or more documents.
Document fields | |
---|---|
Fieldname | Description |
ExternalId | Unique ID for Inbox and Outbox documents |
DocumentId | Unique ID for document that is not send (Not in Inbox or Outbox) |
CreatedOn | Creationdatetime of document or the senddate of document |
ModifiedOn | Modificationdatetime of document. For Inbox and Outbox documents this date is changed when the status of the document is changed |
Sender | Information about the sender (only used for documents in Inbox and Outbox) |
Receiver | Information about the receiver (only used for documents in Inbox and Outbox) |
Status | Status of the document. Status can be a generic status as descibed in template or specific like in Invoice document |
Template | Template used to create the document |
Transaction | Technical information |
Example1
<Document> <ExternalId>XCNIN97968</ExternalId> <DocumentId /> <Subject>test</Subject> <CreatedOn>2017-01-02T08:39:35.415Z</CreatedOn> <ModifiedOn>2017-04-18T19:19:52.134Z</ModifiedOn> <Sender> <EConnectPartyId>XCNL10018</EConnectPartyId> <Name>eVerbindung Test Company B.V.</Name> </Sender> <Receiver> <EConnectPartyId>XCNL10019</EConnectPartyId> <Name>eLien Test Company B.V.</Name> </Receiver> <Status> <Name>Goedgekeurd</Name> <Code>40</Code> </Status> <Template> <Id>GLDT9223370666504283001RA000000006DTP2000001</Id> <Name>Factuur</Name> <MasterId>GLDT9223370666504283001RA000000006DTP2000001</MasterId> <MasterName>Factuur</MasterName> </Template> <Transaction> <MessageId>EM0001</MessageId> <DeliveryMethod>ToInbox</DeliveryMethod> <SenderReferenceId>XCNL10018</SenderReferenceId> <ReceiverReferenceId>LEA0000002189223370641816620154EXCP2000001</ReceiverReferenceId> </Transaction> </Document>