Formularios 350

Parent model that groups Form 350 details for a specific date range and company. Modelo padre que agrupa los detalles del Formulario 350 para un rango de fechas y compañía específicos.

Header api token: X-API-TOKEN

Get api token in Your account settings

Allowed API methods: GET, POST, PUT, PATCH, OPTIONS

  • List URL: /api/v1/accounting/dianformat350/
  • Detail URL: /api/v1/accounting/dianformat350/:id/
Params
  • _page_size: (int) Number of results per page
  • _page: (str|int) Number of page to get, set __all__ for get all results
  • _ordering: (str) Field for ordering, if is descending set '-' Ex: -field_name
  • _fields: (str) List of fields to return separed by comma
You can use any of other django lookups for filter data
Showing OPTIONS method:
 Loading API options...

Related objects:


Detalles Conceptos Formulario 350

Detail model with calculated values per concept for a specific Form 350. Uses CONCEPT_TO_FORMAT_350_CHOICES_RETENTIONS (codes 29–89, 55–56). Signals are connected in dian_form_350.py via the retentions M2M. Differentiates between legal entities (PJ) and natural persons (PN). Modelo detalle con valores calculados por concepto para un Formulario 350. Usa CONCEPT_TO_FORMAT_350_CHOICES_RETENTIONS (códigos 29–89, 55–56). Las señales se conectan en dian_form_350.py vía el M2M de retenciones. Diferencia entre personas jurídicas (PJ) y personas naturales (PN).
  • List URL: /api/v1/accounting/detailsconceptsformat350/
  • Detail URL: /api/v1/accounting/detailsconceptsformat350/:id/
Showing OPTIONS method:
 Loading API options...

Detalles Autorretenciones Formulario 350

Detail model for auto-retention (self-withholding) concepts of Form 350. Covers codes 59–67 (CONCEPT_TO_FORMAT_350_CHOICES_AUTO_RETENTIONS). Calculation logic (driven by the post_save signal in dian_form_350.py): 1. Read account_sell as the income account prefix. 2. Sum all Transaction.credit - Transaction.debit for that prefix within the form's date range → this total becomes base_auto_retention. 3. valor_auto_retention = base_auto_retention × (retention_rate / 100). Special default for concept '59' (Contribuyentes exonerados art. 114-1 E.T.): • account_sell ← first ChartAccount whose code starts with '4' (income class). • retention_rate ← 1.5 % (recommended DIAN rate for this concept). All other concepts are created with account_sell=None and retention_rate=0; the user fills them in manually. ────────────────────────────────────────────────────────────────────────── Modelo detalle para los conceptos de autorretención del Formulario 350. Cubre los códigos 59–67 (CONCEPT_TO_FORMAT_350_CHOICES_AUTO_RETENTIONS). Lógica de cálculo (impulsada por la señal post_save en dian_form_350.py): 1. Leer account_sell como prefijo de la cuenta de ingresos. 2. Sumar Transaction.credit - Transaction.debit para ese prefijo dentro del rango de fechas del formulario → este total se convierte en base_auto_retention. 3. valor_auto_retention = base_auto_retention × (retention_rate / 100). Valores por defecto especiales para el concepto '59' (Contribuyentes exonerados art. 114-1 E.T.): • account_sell ← primera ChartAccount cuyo código empieza con '4' (clase ingresos). • retention_rate ← 1.5 % (tarifa DIAN recomendada para este concepto). Los demás conceptos se crean con account_sell=None y retention_rate=0; el usuario los completa manualmente.
  • List URL: /api/v1/accounting/detailsconceptsformat350autoretentions/
  • Detail URL: /api/v1/accounting/detailsconceptsformat350autoretentions/:id/
Showing OPTIONS method:
 Loading API options...


Déjanos tus comentarios