{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/InvoiceRequest", "title": "InvoiceRequest", "type": "object", "properties": { "invoiceType": { "type": "string", "enum": [ "NF-e", "NFS-e", "NFC-e", "CT-e" ], "description": "Electronic document type" }, "companyId": { "type": "string" }, "transactionDate": { "type": "string", "format": "date-time" }, "buyer": { "$ref": "#/components/schemas/BrazilParty" }, "lines": { "type": "array", "items": { "$ref": "#/components/schemas/InvoiceLine" } } } }