Documents in eVerbinding
All documents are stored in XML and are linked to a template. The template defines the data-structure, views, validations, statuses and filters. Also none-XML document (like PDF) will be embedded into an XML document if defined in the template.
The type of a document within eVerbinding is defined with a template. A template defines the xml structure, views, checks, statuses and filters. Templates of documents are identified by TemplateId or MasterTemplatedId. When using API calls the MasterTemplatedId should always be used for filtering. This Id will not change between versions of a template.
Documents can have revisions. A document not in Inbox or Outbox will get a revision by every save. This means that the ModifiedOn date will be changed. The CreatedOn will be the same. Documents in the Inbox and Outbox will get a revision when the document is recognized during sending as the same document already available in the Inbox. For a invoice (Factuur template) this means that the Invoice ID, Invoice IssueDate and AccountingSupplierParty PartyIdentification are the same.
|Factuur||SimplerInvoicing UBL (SI-UBL) invoice||GLDT9223370666504283001RA000000006DTP2000001|
|Conversietaak||Task to convert a document to SI-UBL||GLDT9223370606989915978RA000000006DTP2000109|
|Onkostendeclaratie||Declaration of personal expenses. The created document is a SimplerInvoicing UBL (SI-UBL) invoice||GLDT9223370666504283001RA000000006DTP2000001|
|Portaalrobot||Task to automatically retrieve a document from a portal||GLDT9223370577443466333RA000000006DTC4000005|
The default templates can be found on the platform under “More”-> “Templates”. The Gallery templates are the standard templates published to all users. It is possible to publish templates to a smaller audience; these templates are “Partner template”. The templates that can be used by the users of a account for creating documents are “Account templates”. Documents based on other templates can be shared manually with a user. The template doesn’t have to be available for the user via “Templates” but the template must be available for the creator of a document.
With the API call Get Templates (API V1 only) software can discover witch template are available in the context of the call.
The document is created in XML and the template contains a XSD for validating the structure. It is also possible to add a XSL/XSLT for extra check and transformations.
Each document has possible statuses based on the template for (draft) documents and the inbox. Some statuses of the inbox are set by the system, for example ‘on download’. The status of a document in the outbox reflects the status of the document in the receivers inbox. The status of the outbox is therefore readonly. The status text is language independent and the text doesn’t change with the language settings of the user profile.
Draft document Status
Statuses applicable while preparing, saving or sharing a document.
Default: Opstellen , Verwerken ,Goedgekeurd, Afgekeurd
Statuses you can set when document comes to your Inbox. Inbox status you set can be viewed by the sender from his outbox. The document in the outbox of the sender is the same as the document in the outbox of the receiver.
Default: Opgeslagen, Ontvangen, Geopend, Gedownload, Verwerken, Goedgekeurd and Afgekeurd
The view of the data can be created with a form. The form is a representation of the data in the document. This representation doesn’t have to show all the data and the data can be shown in a alternated form.
Fields can be selected for displaying in document list view. These fields are also used during search.
For fields in a form there can be a auto numbering defined. The user can change this for the template in the account.