Commit 6489005
fix(tiny-erp): add cpf_cnpj and tipo_pessoa to endereco_entrega
The delivery address (endereco_entrega) was missing cpf_cnpj and
tipo_pessoa fields required by the Tiny ERP API v2 for NF issuance.
These fields were only being sent in the cliente (billing) object,
causing NF generation errors when Tiny stopped inferring the document
number from the customer record for the delivery address.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 6047e8d commit 6489005
1 file changed
Lines changed: 4 additions & 0 deletions
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
86 | 90 | | |
87 | 91 | | |
88 | 92 | | |
| |||
0 commit comments