addedInput schema / properties / client_id
Added value: +{
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "As in issue_invoice."
+}
addedInput schema / properties / client_name
Added value: +{
+ "default": "",
+ "description": "As in issue_invoice.",
+ "type": "string"
+}
addedInput schema / properties / company_id
Added value: +{
+ "anyOf": [
+ {
+ "maxLength": 64,
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "UUID of the company acted for. Omit it if the connection covers a single company; else see list_authorized_companies. company_id or company_tax_id, never both."
+}
addedInput schema / properties / company_tax_id
Added value: +{
+ "anyOf": [
+ {
+ "maxLength": 18,
+ "minLength": 11,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "CNPJ or CPF of the company acted for, never the recipient or a taxpayer looked up. Omit it if the connection covers a single company; else see list_authorized_companies. company_id or company_tax_id, never both."
+}
addedInput schema / properties / contingency
Added value: +{
+ "default": false,
+ "description": "As in issue_invoice.",
+ "type": "boolean"
+}
addedInput schema / properties / direction
Added value: +{
+ "anyOf": [
+ {
+ "enum": [
+ "out",
+ "in"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "As in issue_invoice."
+}
addedInput schema / properties / discount
Added value: +{
+ "anyOf": [
+ {
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "As in issue_invoice."
+}
addedInput schema / properties / export
Added value: +{
+ "anyOf": [
+ {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "As in issue_invoice."
+}
addedInput schema / properties / foreign_id
Added value: +{
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "As in issue_invoice."
+}
addedInput schema / properties / issued_at
Added value: +{
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "As in issue_invoice."
+}
changedInput schema / properties / items / description
Previous value: -"The items exactly as they would go to issue_invoice, e.g. [{\"description\": \"Cadeira\", \"amount\": 450, \"ncm\": \"94013000\", \"cfop\": \"5102\"}]."New value: +"As issue_invoice takes them."
addedInput schema / properties / number
Added value: +{
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "As in issue_invoice."
+}
addedInput schema / properties / purpose
Added value: +{
+ "anyOf": [
+ {
+ "enum": [
+ "normal",
+ "complementary",
+ "adjustment",
+ "return"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "As in issue_invoice."
+}
changedInput schema / properties / recipient_address / description
Previous value: -"The recipient_address exactly as it would go to issue_invoice. Required for nfe."New value: +"As in issue_invoice."
addedInput schema / properties / referenced_keys
Added value: +{
+ "anyOf": [
+ {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "As in issue_invoice."
+}
addedInput schema / properties / series
Added value: +{
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "As in issue_invoice."
+}
addedInput schema / properties / tax_id
Added value: +{
+ "default": "",
+ "description": "As in issue_invoice.",
+ "type": "string"
+}
addedOutput schema / $defs / ValidationFinding
Added value: +{
+ "description": "One rule the payload broke, or one warning about it.",
+ "properties": {
+ "code": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "expected": {
+ "default": null
+ },
+ "field": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "The request path to fix."
+ },
+ "fix_url": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "message": {
+ "type": "string"
+ },
+ "received": {
+ "default": null
+ },
+ "sefaz_rejection": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ }
+ },
+ "required": [
+ "message"
+ ],
+ "type": "object"
+}
removedOutput schema / $defs / ValidationProblem
Removed value: -{
- "description": "One field the SDK models refused.",
- "properties": {
- "field": {
- "type": "string"
- },
- "problem": {
- "type": "string"
- }
- },
- "required": [
- "field",
- "problem"
- ],
- "type": "object"
-}
changedOutput schema / properties / checked / description
Previous value: -"What was checked, so the answer is not read as more than it is."New value: +"local: field checks failed, the API rules did not run. api: the API ran issuance's pre-authority rules."
addedOutput schema / properties / checked / enum
Added value: +[
+ "local",
+ "api"
+]
changedOutput schema / properties / errors / items / $ref
Previous value: -"#/$defs/ValidationProblem"New value: +"#/$defs/ValidationFinding"
changedOutput schema / properties / valid / description
Previous value: -"True when no field rule was broken. It does not promise the authorizer will accept the document."New value: +"No rule broken. The authorizer can still reject it."
addedOutput schema / properties / warnings
Added value: +{
+ "items": {
+ "$ref": "#/$defs/ValidationFinding"
+ },
+ "type": "array"
+}