From ee3ba8777a4cda784ef2df8562071773a517bc0d Mon Sep 17 00:00:00 2001 From: Benjamin Collins Date: Wed, 25 Oct 2023 21:22:31 +0900 Subject: [PATCH] feat: add digital signature section --- .../credentials/EInvoiceCredential.yml | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/docs/openapi/components/schemas/credentials/EInvoiceCredential.yml b/docs/openapi/components/schemas/credentials/EInvoiceCredential.yml index d8661c0aa..e50c16476 100644 --- a/docs/openapi/components/schemas/credentials/EInvoiceCredential.yml +++ b/docs/openapi/components/schemas/credentials/EInvoiceCredential.yml @@ -794,6 +794,29 @@ properties: title: Reason description: The reason the discount was applied type: string + cfdi: + title: Comprobantes Fiscal Digital por Internet + description: Requirements for the CFDI digital certificate standard + type: object + properties: + taxUuid: + title: Tax UUID (folio fiscal) + description: Unique number provided by an authorized PAC that makes an invoice unique and allows the SAT to track the electronic invoice + type: string + digitalSignature: + title: Digital Signature + description: electronic signature key (FIEL) + type: string + digitalCertificate: + title: Digital Cerificate + description: digital stamp (Certificado de Sello Digital – CSD) + type: string + version: + title: Version + description: Version of the CFDI standard being used + default: v4.0 + enum: + - v4.0 proof: title: proof description: A JSON Web Signature proof for a credential as defined by the VC data model