addedInput schema / properties / invoice
Added value: +{
+ "additionalProperties": false,
+ "description": "Optional value for “invoice” as defined by this API contract.",
+ "properties": {
+ "currency": {
+ "description": "Optional value for “currency” as defined by this API contract.",
+ "pattern": "^[A-Z]{3}$",
+ "type": "string"
+ },
+ "date": {
+ "description": "Optional value for “date” as defined by this API contract.",
+ "format": "date",
+ "type": "string"
+ },
+ "number": {
+ "description": "Identifier body used together with the supplied country code. (minimum length 1).",
+ "minLength": 1,
+ "type": "string"
+ },
+ "subtotal": {
+ "description": "Optional value for “subtotal” as defined by this API contract. (minimum 0).",
+ "minimum": 0,
+ "type": "number"
+ },
+ "supplier_name": {
+ "description": "Optional value for “supplier name” as defined by this API contract.",
+ "type": "string"
+ },
+ "total": {
+ "description": "Optional value for “total” as defined by this API contract. (minimum 0).",
+ "minimum": 0,
+ "type": "number"
+ },
+ "vat_amount": {
+ "description": "Optional value for “vat amount” as defined by this API contract. (minimum 0).",
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "type": "object"
+}
addedOutput schema / properties / invoice_validation
Added value: +{
+ "additionalProperties": false,
+ "description": "Structured value returned for “invoice validation” as defined by this API contract.",
+ "properties": {
+ "arithmetic_consistent": {
+ "description": "Structured value returned for “arithmetic consistent” as defined by this API contract.",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "invoice_date_valid": {
+ "description": "Structured value returned for “invoice date valid” as defined by this API contract.",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "issues": {
+ "description": "Structured value returned for “issues” as defined by this API contract.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "description": "Structured value returned for “code” as defined by this API contract.",
+ "type": "string"
+ },
+ "severity": {
+ "description": "Structured value returned for “severity” as defined by this API contract. (allowed values: warning, error).",
+ "enum": [
+ "warning",
+ "error"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "code",
+ "severity"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "provided": {
+ "description": "Structured value returned for “provided” as defined by this API contract.",
+ "type": "boolean"
+ },
+ "supplier_name_match": {
+ "description": "Structured value returned for “supplier name match” as defined by this API contract.",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "verdict": {
+ "description": "Normalized endpoint conclusion derived from the checked public data. (allowed values: not_checked, coherent, incomplete, incoherent).",
+ "enum": [
+ "not_checked",
+ "coherent",
+ "incomplete",
+ "incoherent"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "provided",
+ "verdict",
+ "arithmetic_consistent",
+ "supplier_name_match",
+ "invoice_date_valid",
+ "issues"
+ ],
+ "type": "object"
+}
changedOutput schema / required
Previous value: -[
- "identifier",
- "exists",
- "siren",
- "name",
- "expected_vat_number",
- "supplied_vat_number",
- "format_match",
- "vies_status",
- "vies_valid",
- "vies_name",
- "verdict",
- "checked_at",
- "limitations"
-]New value: +[
+ "identifier",
+ "exists",
+ "siren",
+ "name",
+ "expected_vat_number",
+ "supplied_vat_number",
+ "format_match",
+ "vies_status",
+ "vies_valid",
+ "vies_name",
+ "verdict",
+ "invoice_validation",
+ "checked_at",
+ "limitations"
+]