DocumentType
Type of commercial document with business rules and properties
6 properties
Schema
Properties
| Property | Type | Mode | Description | Required |
|---|---|---|---|---|
| code | string | stored | Document type code (QUOTE, ORDER, DELIVERY, INVOICE, CREDIT_NOTE, RECEIPT, etc.) Example: | Required |
| label | string | stored | Human-readable label Example: | Required |
| description | string | stored | Detailed description of this document type | Optional |
| isAccountingDocument | boolean | stored | Whether this is an accounting/fiscal document Example: | Optional |
| requiresSignature | boolean | stored | Whether this document requires signature | Optional |
| hasLegalValue | boolean | stored | Whether this document has legal/contractual value Example: | 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
}