DocumentType

Type of commercial document with business rules and properties

6 properties
Schema

Properties

PropertyTypeModeDescriptionRequired
codestring
stored

Document type code (QUOTE, ORDER, DELIVERY, INVOICE, CREDIT_NOTE, RECEIPT, etc.)

Example: "INVOICE"

Required
labelstring
stored

Human-readable label

Example: "Invoice"

Required
descriptionstring
stored

Detailed description of this document type

Optional
isAccountingDocumentboolean
stored

Whether this is an accounting/fiscal document

Example: true

Optional
requiresSignatureboolean
stored

Whether this document requires signature

Optional
hasLegalValueboolean
stored

Whether this document has legal/contractual value

Example: true

Optional

Examples

Example 1

{
  "@type": "DocumentType",
  "code": "QUOTE",
  "label": "Quote / Estimate / Devis",
  "description": "Proposal document with no legal value until accepted",
  "isAccountingDocument": false,
  "requiresSignature": false,
  "hasLegalValue": false
}

Example 2

{
  "@type": "DocumentType",
  "code": "ORDER",
  "label": "Purchase Order / Bon de Commande",
  "description": "Commitment to purchase, legally binding when accepted",
  "isAccountingDocument": false,
  "requiresSignature": true,
  "hasLegalValue": true
}

Example 3

{
  "@type": "DocumentType",
  "code": "DELIVERY",
  "label": "Delivery Note / Bon de Livraison",
  "description": "Proof of delivery, no pricing",
  "isAccountingDocument": false,
  "requiresSignature": true,
  "hasLegalValue": false
}

Example 4

{
  "@type": "DocumentType",
  "code": "INVOICE",
  "label": "Invoice / Facture",
  "description": "Accounting and fiscal document requesting payment",
  "isAccountingDocument": true,
  "requiresSignature": false,
  "hasLegalValue": true
}

Example 5

{
  "@type": "DocumentType",
  "code": "CREDIT_NOTE",
  "label": "Credit Note / Avoir",
  "description": "Document to cancel or adjust an invoice",
  "isAccountingDocument": true,
  "requiresSignature": false,
  "hasLegalValue": true
}

Example 6

{
  "@type": "DocumentType",
  "code": "RECEIPT",
  "label": "Receipt / Reçu",
  "description": "Proof of payment",
  "isAccountingDocument": true,
  "requiresSignature": false,
  "hasLegalValue": true
}