feat: Boleto with its bank account and Ajuste Fino by SKU in Tiny (Marcus, 12/11)

A faturado montador order's installments carry the bank account set in
TINY_BOLETO_ACCOUNT as their meioPagamento (Tiny v3 parcelas[]), so Tiny
does not pick another account. The Ajuste Fino line resolves the product
from its code (TINY_SKU_TREATMENT, default DTFIMP.AJF.UN) unless a numeric
TINY_PRODUCT_TREATMENT is set; the connection check verifies it.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Cauê Faleiros
2026-11-12 10:52:46 -03:00
parent 5ca6792221
commit 973cd87b36
6 changed files with 129 additions and 34 deletions

View File

@@ -53,6 +53,8 @@ TINY_FORMA_ENVIO_RETIRADA=TBD
TINY_STATUS_UPDATES=false
# Tiny id of the forma de recebimento "Boleto" (montador Venda orders).
TINY_RECEIPT_BOLETO=
# Tiny id of the bank account each boleto installment names ("NEXSTAR COBRANÇA").
TINY_BOLETO_ACCOUNT=
# E-mail (password recovery and team alerts). off until the SMTP account exists.
MAIL_ADAPTER=off
MAIL_FROM=DTF Dropstar <nao-responda@SITE_DOMAIN>