se agrega fallback OWTR y calculo de fecha de vencimiento por condicion de pago

- hana_manager.get_delivery ahora busca en ODLN y, si no encuentra, en OWTR
- sapb1_manager resuelve StockTransfers -> Orders (via U_IDC_NUMOV) para
  validar precios de flete cuando la guia es un traslado de inventario
- se corrige el orden de parametros tipo/serie/numero (sin cruces) en
  get_delivery, get_delivery_notes y _get_delivery_entries
- se agrega sapb1_manager.obtener_condicion_pago (BusinessPartners +
  PaymentTermsTypes) y pipeline._calcular_fecha_vencimiento para que
  DocDueDate del draft sea fecha de contabilizacion + dias de la condicion
  de pago del proveedor
- se agrega variante de regex para "VALOR REFER" truncado en sunat_schema.py
- se actualiza documentacion (docs/) reflejando estos cambios

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
georgeandClaude Sonnet 5 committed 2026-09-10 13:21:04 -05:00
1 parent d023f14ad9
commit c532170ac2
230 files changed
+21397 -475

No files matched your search

-15
View File
@@ -1,15 +0,0 @@
info:
name: BusinessPartners
type: http
seq: 1
http:
method: GET
url: https://192.168.9.3:50000/b1s/v1/BusinessPartners('PL10040532043')
auth: inherit
settings:
encodeUrl: true
timeout: 0
followRedirects: true
maxRedirects: 5
-14
View File
@@ -1,14 +0,0 @@
info:
name: EmployeesInfo
type: http
http:
method: GET
url: https://192.168.9.3:50000/b1s/v1/EmployeesInfo
auth: inherit
settings:
encodeUrl: true
timeout: 0
followRedirects: true
maxRedirects: 5
-23
View File
@@ -1,23 +0,0 @@
info:
name: Login
type: http
seq: 1
http:
method: POST
url: https://192.168.9.3:50000/b1s/v1/Login
body:
type: json
data: |-
{
"CompanyDB" :"PRUEBA_20260609",
"UserName": "manager",
"Password":"***REMOVED***"
}
auth: inherit
settings:
encodeUrl: true
timeout: 0
followRedirects: true
maxRedirects: 5
-19
View File
@@ -1,19 +0,0 @@
info:
name: PurchaseInvoices
type: http
seq: 1
http:
method: GET
url: https://192.168.9.3:50000/b1s/v1/PurchaseInvoices?$filter=DocDate eq '2026-06-10'
params:
- name: $filter
value: DocDate eq '2026-06-10'
type: query
auth: inherit
settings:
encodeUrl: true
timeout: 0
followRedirects: true
maxRedirects: 5
-10
View File
@@ -1,10 +0,0 @@
opencollection: 1.0.0
info:
name: aberio
bundled: false
extensions:
bruno:
ignore:
- node_modules
- .git