{"id":5917,"date":"2024-03-13T21:54:00","date_gmt":"2024-03-14T02:54:00","guid":{"rendered":"https:\/\/inversionesguru.com\/co\/?post_type=herramientas&#038;p=5917"},"modified":"2026-10-07T19:23:16","modified_gmt":"2026-10-08T00:23:16","slug":"calculadora-4-x-1000-colombia","status":"publish","type":"herramientas","link":"https:\/\/inversionesguru.com\/co\/herramientas\/calculadora-4-x-1000-colombia\/","title":{"rendered":"Calculadora 4 x 1000 Colombia"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"5917\" class=\"elementor elementor-5917\" data-elementor-post-type=\"herramientas\">\n\t\t\t\t<div class=\"elementor-element elementor-element-9614e8f e-con-full e-flex e-con e-parent\" data-id=\"9614e8f\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-d7a4fa5 elementor-widget elementor-widget-html\" data-id=\"d7a4fa5\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t\t<!-- IGCO_DATA:gmf:cc3e9ae7380f171a0efffa2679974857a57be148fd1f84620e7ff984450d47ff -->\r\n<div id=\"ig-gmf-calculator\" class=\"igp-product igp-tool\" data-igp-live=\"gmf\" data-igp-state=\"empty\" data-igp-compare-root=\"\" data-igp-metric=\"igQuickTax\" data-igp-first=\"igQuickAmount\"><header class=\"igp-header\"><nav class=\"igp-breadcrumb\" aria-label=\"Ruta de navegaci\u00f3n\"><a href=\"https:\/\/inversionesguru.com\/co\/\">Inicio<\/a><span aria-hidden=\"true\">\/<\/span><a href=\"https:\/\/inversionesguru.com\/co\/herramientas\/\">Calculadoras<\/a><span aria-hidden=\"true\">\/<\/span><span>Impuestos<\/span><\/nav><span class=\"igp-kicker\">Impuestos \u00b7 Colombia<\/span><h1>Calculadora 4\u00d71000 Colombia<\/h1>\r\n\r\n\r\n\r\n      <p>Escribe el valor de un movimiento gravado. El resultado se actualiza al instante.<\/p><div class=\"igp-review\">Fuentes y reglas revisadas el <time datetime=\"2026-10-04\">04\/10\/2026<\/time><span>\u00b7 Estimaci\u00f3n educativa<\/span><\/div><nav class=\"igp-page-jumps\" aria-label=\"En esta calculadora\"><a href=\"#igp-gmf-form\">Calcular<\/a><a href=\"#igp-gmf-guide\">Entender el c\u00e1lculo<\/a><\/nav><\/header><div class=\"igp-workspace\"><div class=\"ig-input-zone igp-form\" id=\"igp-gmf-form\" data-igp-scenario-form=\"\">\r\n\r\n\r\n\r\n            <div class=\"igp-form-title\">01 \u00b7 Tu movimiento<small>COP<\/small><\/div><label class=\"ig-label\" for=\"igQuickAmount\">Valor del movimiento<small class=\"igp-unit\">COP<\/small><\/label>\r\n\r\n\r\n\r\n            <input id=\"igQuickAmount\" class=\"ig-money-input igp-input igp-money\" type=\"text\" inputmode=\"numeric\" autocomplete=\"off\" placeholder=\"$ 1.000.000\" aria-describedby=\"igQuickHelp\" data-igp-money=\"\">\r\n\r\n\r\n\r\n            <p id=\"igQuickHelp\" class=\"ig-help igp-help\" aria-live=\"polite\">Escribe el valor en pesos colombianos. El c\u00e1lculo r\u00e1pido supone que el movimiento est\u00e1 gravado.<\/p>\r\n\r\n\r\n\r\n            <div class=\"ig-examples\" aria-label=\"Ejemplos r\u00e1pidos\">\r\n\r\n\r\n\r\n              <button type=\"button\" class=\"ig-example igp-button\" data-amount=\"100000\">$100.000<\/button>\r\n\r\n\r\n\r\n              <button type=\"button\" class=\"ig-example igp-button\" data-amount=\"500000\">$500.000<\/button>\r\n\r\n\r\n\r\n              <button type=\"button\" class=\"ig-example igp-button\" data-amount=\"1000000\">$1 mill\u00f3n<\/button>\r\n\r\n\r\n\r\n              <button type=\"button\" class=\"ig-example igp-button\" data-amount=\"5000000\">$5 millones<\/button>\r\n\r\n\r\n\r\n              <button type=\"button\" class=\"ig-example igp-button\" data-amount=\"10000000\">$10 millones<\/button>\r\n\r\n\r\n\r\n            <\/div>\r\n\r\n\r\n\r\n          <\/div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n          <div class=\"igp-result-slot\"><div class=\"ig-answer igp-result-primary\" aria-live=\"polite\" data-igp-result=\"\" data-igp-visibility=\"native\">\r\n\r\n\r\n\r\n            <span class=\"ig-answer-label\">4x1000 del movimiento<\/span>\r\n\r\n\r\n\r\n            <strong id=\"igQuickTax\" class=\"ig-answer-value igp-number\">\u2014<\/strong>\r\n\r\n\r\n\r\n            <p id=\"igQuickSentence\" class=\"ig-answer-copy\">Ingresa un valor para calcular el 4x1000 de un movimiento gravado.<\/p>\r\n\r\n\r\n\r\n            <div class=\"ig-answer-mini igp-metrics\">\r\n\r\n\r\n\r\n              <div><span>Movimiento<\/span><strong id=\"igQuickMovement\">\u2014<\/strong><\/div>\r\n\r\n\r\n\r\n              <div><span>Movimiento + GMF<\/span><strong id=\"igQuickTotal\">\u2014<\/strong><\/div>\r\n\r\n\r\n\r\n            <\/div>\r\n\r\n\r\n\r\n          <\/div>\r\n\r\n\r\n\r\n        <div class=\"igp-result-actions\" data-igp-result-actions hidden><button type=\"button\" class=\"igp-button\" data-igp-edit>Editar datos<\/button><button type=\"button\" class=\"igp-button\" data-igp-compare>Comparar otro escenario<\/button><\/div><section class=\"igp-comparison\" data-igp-comparison hidden aria-label=\"Comparaci\u00f3n de escenarios\"><div class=\"igp-comparison-head\"><h3>Dos perspectivas de tu c\u00e1lculo<\/h3><button type=\"button\" class=\"igp-button\" data-igp-comparison-clear>Quitar comparaci\u00f3n<\/button><\/div><p class=\"igp-comparison-metric\">GMF del movimiento gravado<\/p><dl class=\"igp-comparison-values\"><div><dt>Anterior<\/dt><dd data-igp-previous><\/dd><small data-igp-previous-context><\/small><\/div><div><dt>Actual<\/dt><dd data-igp-current>\u2014<\/dd><small data-igp-current-context><\/small><\/div><\/dl><p class=\"igp-comparison-delta\" data-igp-delta role=\"status\" aria-live=\"polite\"><\/p><details class=\"igp-disclosure\"><summary>Ver datos del escenario anterior<\/summary><dl class=\"igp-snapshot\" data-igp-snapshot><\/dl><\/details><p class=\"igp-help\">La diferencia compara las cifras mostradas. Cada escenario conserva sus propias condiciones. Esta referencia se borra al reiniciar o salir de la p\u00e1gina. El PDF contiene el c\u00e1lculo actual.<\/p><\/section><\/div><\/div><p class=\"ig-primary-note\">\r\n\r\n\r\n\r\n        \u201cMovimiento + GMF\u201d es solo una referencia pr\u00e1ctica si la entidad debita el impuesto adicionalmente del mismo saldo.\r\n\r\n\r\n\r\n        La forma exacta en que se refleja el cobro depende de la operaci\u00f3n y de la entidad.\r\n\r\n\r\n\r\n      <\/p>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n      <div class=\"ig-main-actions igp-actions\">\r\n\r\n\r\n\r\n        <button type=\"button\" id=\"igOpenAdvanced\" class=\"ig-btn igp-button igp-button-primary\">\u00bfPodr\u00edas estar exento? Revisar \u2192<\/button>\r\n\r\n\r\n\r\n        <button type=\"button\" id=\"igQuickPdf\" class=\"ig-btn ig-btn-coral igp-button\" disabled>Descargar PDF<\/button>\r\n\r\n\r\n\r\n        <button type=\"button\" id=\"igQuickCopy\" class=\"ig-btn ig-btn-secondary igp-button\" disabled>Copiar enlace<\/button>\r\n\r\n\r\n\r\n        <button type=\"button\" id=\"igQuickClear\" class=\"ig-btn ig-btn-secondary igp-button\">Limpiar<\/button>\r\n\r\n\r\n\r\n      <\/div>\r\n\r\n\r\n\r\n      <details class=\"ig-inverse igp-disclosure\" id=\"igInverse\">\r\n\r\n\r\n\r\n        <summary>Tengo un saldo total: \u00bfcu\u00e1nto puedo mover dejando espacio para el 4x1000?<\/summary>\r\n\r\n\r\n\r\n        <div class=\"ig-inverse-body\">\r\n\r\n\r\n\r\n          <div>\r\n\r\n\r\n\r\n            <label class=\"ig-label\" for=\"igAvailableBalance\">Saldo disponible<small class=\"igp-unit\">COP<\/small><\/label>\r\n\r\n\r\n\r\n            <input id=\"igAvailableBalance\" class=\"ig-input igp-input igp-money\" type=\"text\" inputmode=\"numeric\" autocomplete=\"off\" placeholder=\"Ej: 1.000.000\" data-igp-money=\"\">\r\n\r\n\r\n\r\n            <p class=\"ig-help igp-help\">Supone un movimiento totalmente gravado y el impuesto debitado del mismo saldo. El m\u00e1ximo se redondea hacia abajo a pesos y se reserva el impuesto hacia arriba, para no exceder tu saldo; no incluye otras comisiones.<\/p>\r\n\r\n\r\n\r\n          <\/div>\r\n\r\n\r\n\r\n          <div class=\"ig-small-result\">\r\n\r\n\r\n\r\n            <span>Movimiento m\u00e1ximo estimado<\/span>\r\n\r\n\r\n\r\n            <strong id=\"igInverseMovement\">\u2014<\/strong>\r\n\r\n\r\n\r\n            <p class=\"ig-help igp-help\">GMF reservado: <strong id=\"igInverseTax\">\u2014<\/strong><\/p>\r\n\r\n\r\n\r\n          <\/div>\r\n\r\n\r\n\r\n        <\/div>\r\n\r\n\r\n\r\n      <\/details>\r\n\r\n\r\n\r\n    <div id=\"igQuickPdfStatus\" class=\"ig-status\" aria-live=\"polite\"><\/div>\r\n\r\n\r\n\r\n      <div id=\"igGlobalAlert\" class=\"ig-alert\" role=\"status\" aria-live=\"polite\"><\/div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n      <section id=\"igAdvancedSection\"><details class=\"ig-advanced igp-disclosure\" id=\"igAdvanced\">\r\n\r\n\r\n\r\n        <summary>\r\n\r\n\r\n\r\n          <span><strong>Revisar exenci\u00f3n mensual y varios movimientos<\/strong><span>350 UVT \u00b7 dep\u00f3sito de bajo monto 65 UVT \u00b7 movimiento sin exenci\u00f3n<\/span><\/span>\r\n\r\n\r\n\r\n        <\/summary>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n        <div class=\"ig-advanced-body\">\r\n\r\n\r\n\r\n          <span class=\"ig-step-label\">1 \u00b7 Elige el escenario<\/span>\r\n\r\n\r\n\r\n          <div class=\"ig-options igp-option-grid\">\r\n\r\n\r\n\r\n            <label class=\"ig-option igp-option\">\r\n\r\n\r\n\r\n              <input type=\"radio\" name=\"igAdvancedMode\" value=\"general\" checked class=\"igp-check\">\r\n\r\n\r\n\r\n              <span class=\"ig-option-body\">\r\n\r\n\r\n\r\n                <strong>Exenci\u00f3n general \u00b7 350 UVT<\/strong>\r\n\r\n\r\n\r\n                <small>Para estimar el uso de la exenci\u00f3n mensual general de una persona natural entre productos elegibles.<\/small>\r\n\r\n\r\n\r\n              <\/span>\r\n\r\n\r\n\r\n            <\/label>\r\n\r\n\r\n\r\n            <label class=\"ig-option igp-option\">\r\n\r\n\r\n\r\n              <input type=\"radio\" name=\"igAdvancedMode\" value=\"low\" class=\"igp-check\">\r\n\r\n\r\n\r\n              <span class=\"ig-option-body\">\r\n\r\n\r\n\r\n                <strong>Dep\u00f3sito de bajo monto \u00b7 65 UVT<\/strong>\r\n\r\n\r\n\r\n                <small>Escenario especial sujeto a los requisitos legales de titularidad y producto.<\/small>\r\n\r\n\r\n\r\n              <\/span>\r\n\r\n\r\n\r\n            <\/label>\r\n\r\n\r\n\r\n            <label class=\"ig-option igp-option\">\r\n\r\n\r\n\r\n              <input type=\"radio\" name=\"igAdvancedMode\" value=\"taxed\" class=\"igp-check\">\r\n\r\n\r\n\r\n              <span class=\"ig-option-body\">\r\n\r\n\r\n\r\n                <strong>Movimiento sin esta exenci\u00f3n<\/strong>\r\n\r\n\r\n\r\n                <small>Calcula el 0,4% sobre todo el movimiento. No eval\u00faa otras exenciones espec\u00edficas del Estatuto Tributario.<\/small>\r\n\r\n\r\n\r\n              <\/span>\r\n\r\n\r\n\r\n            <\/label>\r\n\r\n\r\n\r\n          <\/div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n          <div id=\"igLowRequirements\" class=\"ig-low-note igp-callout\" hidden>\r\n\r\n\r\n\r\n            Esta opci\u00f3n supone que eres persona natural, \u00fanico titular del dep\u00f3sito de bajo monto elegible y que se cumplen\r\n\r\n\r\n\r\n            los requisitos de la exenci\u00f3n especial. La regla de 65 UVT es independiente de la exenci\u00f3n general de 350 UVT.\r\n\r\n\r\n\r\n          <\/div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n          <span class=\"ig-step-label\">2 \u00b7 Indica lo utilizado y el nuevo movimiento<\/span>\r\n\r\n\r\n\r\n          <div class=\"ig-form-grid igp-fields\">\r\n\r\n\r\n\r\n            <div>\r\n\r\n\r\n\r\n              <label id=\"igUsedLabel\" class=\"ig-label\" for=\"igUsedBefore\">Exenci\u00f3n general ya utilizada este mes<\/label>\r\n\r\n\r\n\r\n              <input id=\"igUsedBefore\" class=\"ig-input igp-input\" type=\"text\" inputmode=\"numeric\" autocomplete=\"off\" placeholder=\"Ej: 6.000.000\">\r\n\r\n\r\n\r\n              <p id=\"igUsedHelp\" class=\"ig-help igp-help\">Incluye el monto que ya haya consumido tu l\u00edmite mensual de 350 UVT en productos elegibles.<\/p>\r\n\r\n\r\n\r\n            <\/div>\r\n\r\n\r\n\r\n            <div>\r\n\r\n\r\n\r\n              <label class=\"ig-label\" for=\"igAdvancedAmount\">Nuevo movimiento<small class=\"igp-unit\">COP<\/small><\/label>\r\n\r\n\r\n\r\n              <input id=\"igAdvancedAmount\" class=\"ig-input igp-input igp-money\" type=\"text\" inputmode=\"numeric\" autocomplete=\"off\" placeholder=\"Ej: 1.000.000\" data-igp-money=\"\">\r\n\r\n\r\n\r\n              <p class=\"ig-help igp-help\">Es el movimiento que quieres evaluar ahora.<\/p>\r\n\r\n\r\n\r\n            <\/div>\r\n\r\n\r\n\r\n          <\/div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n          <div class=\"ig-law-note igp-callout\">\r\n\r\n\r\n\r\n            La herramienta aplica una sola regla al cruce del l\u00edmite: utiliza primero la exenci\u00f3n que quede disponible y\r\n\r\n\r\n\r\n            calcula el GMF \u00fanicamente sobre la parte del nuevo movimiento que exceda el tope. No ofrece un \u201cmodo conservador\u201d\r\n\r\n\r\n\r\n            alternativo porque el l\u00edmite legal es un monto exento, no una elecci\u00f3n del usuario.\r\n\r\n\r\n\r\n          <\/div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n          <div class=\"ig-result-panel igp-result-primary\" aria-live=\"polite\">\r\n\r\n\r\n\r\n            <span class=\"ig-answer-label\">4x1000 estimado para este movimiento<\/span>\r\n\r\n\r\n\r\n            <strong id=\"igAdvancedTax\" class=\"ig-answer-value\">\u2014<\/strong>\r\n\r\n\r\n\r\n            <p id=\"igAdvancedMessage\" class=\"ig-answer-copy\">Completa el escenario para ver c\u00f3mo se distribuye el movimiento.<\/p>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n            <div class=\"ig-kpis igp-metrics\">\r\n\r\n\r\n\r\n              <div class=\"ig-kpi\"><span>Parte exenta<\/span><strong id=\"igExemptPart\">\u2014<\/strong><\/div>\r\n\r\n\r\n\r\n              <div class=\"ig-kpi\"><span>Parte gravada<\/span><strong id=\"igTaxedPart\">\u2014<\/strong><\/div>\r\n\r\n\r\n\r\n              <div class=\"ig-kpi\"><span>Exenci\u00f3n restante<\/span><strong id=\"igRemainingAfter\">\u2014<\/strong><\/div>\r\n\r\n\r\n\r\n            <\/div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n            <div class=\"ig-progress\">\r\n\r\n\r\n\r\n              <div class=\"ig-progress-head\"><span>Uso del l\u00edmite aplicable<\/span><strong id=\"igProgressLabel\">0%<\/strong><\/div>\r\n\r\n\r\n\r\n              <div class=\"ig-progress-track\"><span id=\"igProgressFill\" class=\"ig-progress-fill\"><\/span><\/div>\r\n\r\n\r\n\r\n            <\/div>\r\n\r\n\r\n\r\n          <\/div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n          <div class=\"ig-advanced-actions igp-actions\">\r\n\r\n\r\n\r\n            <button type=\"button\" id=\"igAddTransaction\" class=\"ig-btn igp-button\">Agregar movimiento al escenario<\/button>\r\n\r\n\r\n\r\n            <button type=\"button\" id=\"igAdvancedPdf\" class=\"ig-btn ig-btn-coral igp-button\" disabled>Descargar PDF<\/button>\r\n\r\n\r\n\r\n            <button type=\"button\" id=\"igAdvancedCopy\" class=\"ig-btn ig-btn-secondary igp-button\" disabled>Copiar enlace<\/button>\r\n\r\n\r\n\r\n            <button type=\"button\" id=\"igAdvancedClear\" class=\"ig-btn ig-btn-secondary igp-button\">Limpiar<\/button>\r\n\r\n\r\n\r\n          <\/div>\r\n\r\n\r\n\r\n          <div id=\"igAdvancedStatus\" class=\"ig-status\" aria-live=\"polite\"><\/div>\r\n\r\n\r\n\r\n          <div id=\"igTransactionList\" class=\"ig-transactions\" aria-live=\"polite\"><\/div>\r\n\r\n\r\n\r\n        <\/div>\r\n\r\n\r\n\r\n      <\/details>\r\n\r\n\r\n\r\n    <\/section><section class=\"ig-section\" id=\"igp-gmf-guide\">\r\n\r\n\r\n\r\n    <div class=\"ig-wrap\">\r\n\r\n\r\n\r\n      <div class=\"ig-section-head\">\r\n\r\n\r\n\r\n        <h2>\u00bfCu\u00e1nto es el 4x1000 de un valor?<\/h2>\r\n\r\n\r\n\r\n        <p>La tarifa general equivale al 0,4%: por cada $1.000 de un movimiento gravado, el GMF es $4.<\/p>\r\n\r\n\r\n\r\n      <\/div>\r\n\r\n\r\n\r\n      <div class=\"ig-seo-grid\">\r\n\r\n\r\n\r\n        <div class=\"ig-example-table\">\r\n\r\n\r\n\r\n          <table>\r\n\r\n\r\n\r\n            <thead><tr><th>Movimiento gravado<\/th><th>4x1000<\/th><\/tr><\/thead>\r\n\r\n\r\n\r\n            <tbody>\r\n\r\n\r\n\r\n              <tr><td>$100.000<\/td><td>$400<\/td><\/tr>\r\n\r\n\r\n\r\n              <tr><td>$500.000<\/td><td>$2.000<\/td><\/tr>\r\n\r\n\r\n\r\n              <tr><td>$1.000.000<\/td><td>$4.000<\/td><\/tr>\r\n\r\n\r\n\r\n              <tr><td>$5.000.000<\/td><td>$20.000<\/td><\/tr>\r\n\r\n\r\n\r\n              <tr><td>$10.000.000<\/td><td>$40.000<\/td><\/tr>\r\n\r\n\r\n\r\n            <\/tbody>\r\n\r\n\r\n\r\n          <\/table>\r\n\r\n\r\n\r\n        <\/div>\r\n\r\n\r\n\r\n        <div class=\"ig-info-card\">\r\n\r\n\r\n\r\n          <h4>\u00bfCu\u00e1nto puedo mover sin pagar 4x1000 en 2026?<\/h4>\r\n\r\n\r\n\r\n          <p>\r\n\r\n\r\n\r\n            Para personas naturales, la exenci\u00f3n general puede cubrir hasta 350 UVT mensuales.\r\n\r\n\r\n\r\n            Con UVT 2026 de $52.374, el l\u00edmite equivale a <strong>$18.330.900<\/strong>.\r\n\r\n\r\n\r\n            Desde el 13 de diciembre de 2024, esta exenci\u00f3n no depende de marcar una sola cuenta:\r\n\r\n\r\n\r\n            puede aplicarse entre cuentas propias elegibles, incluso en entidades diferentes, sin superar el tope mensual.\r\n\r\n\r\n\r\n          <\/p>\r\n\r\n\r\n\r\n        <\/div>\r\n\r\n\r\n\r\n      <\/div>\r\n\r\n\r\n\r\n    <\/div>\r\n\r\n\r\n\r\n  <\/section>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n  <section class=\"ig-section ig-warm\">\r\n\r\n\r\n\r\n    <div class=\"ig-wrap\">\r\n\r\n\r\n\r\n      <div class=\"ig-section-head\">\r\n\r\n\r\n\r\n        <h2>Preguntas frecuentes sobre el 4x1000 en Colombia<\/h2>\r\n\r\n\r\n\r\n        <p>Respuestas breves para entender la tarifa, la exenci\u00f3n mensual y el dep\u00f3sito de bajo monto.<\/p>\r\n\r\n\r\n\r\n      <\/div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n      <div class=\"ig-faq\">\r\n\r\n\r\n\r\n        <details class=\"igp-disclosure\">\r\n\r\n\r\n\r\n          <summary>\u00bfCu\u00e1nto es el 4x1000 de $1.000.000?<\/summary>\r\n\r\n\r\n\r\n          <p>Si el movimiento est\u00e1 totalmente gravado, el 0,4% de $1.000.000 es $4.000.<\/p>\r\n\r\n\r\n\r\n        <\/details>\r\n\r\n\r\n\r\n        <details class=\"igp-disclosure\">\r\n\r\n\r\n\r\n          <summary>\u00bfCu\u00e1l es el l\u00edmite general exento de 4x1000 en 2026?<\/summary>\r\n\r\n\r\n\r\n          <p>La referencia general es 350 UVT mensuales. Con una UVT 2026 de $52.374, equivale a $18.330.900.<\/p>\r\n\r\n\r\n\r\n        <\/details>\r\n\r\n\r\n\r\n        <details class=\"igp-disclosure\">\r\n\r\n\r\n\r\n          <summary>\u00bfTodav\u00eda tengo que marcar una sola cuenta como exenta?<\/summary>\r\n\r\n\r\n\r\n          <p>No para la exenci\u00f3n general de 350 UVT. La doctrina oficial de la DIAN indica que, desde el 13 de diciembre de 2024, las personas naturales tienen derecho a que el monto exento se aplique sin necesidad de marcar una \u00fanica cuenta y con independencia de la entidad, sin exceder el l\u00edmite mensual.<\/p>\r\n\r\n\r\n\r\n        <\/details>\r\n\r\n\r\n\r\n        <details class=\"igp-disclosure\">\r\n\r\n\r\n\r\n          <summary>\u00bfQu\u00e9 es la exenci\u00f3n de 65 UVT de dep\u00f3sitos de bajo monto?<\/summary>\r\n\r\n\r\n\r\n          <p>Es una exenci\u00f3n especial y distinta a la de 350 UVT. Est\u00e1 sujeta a condiciones propias del dep\u00f3sito de bajo monto y de su titular. Para 2026, 65 UVT equivalen a $3.404.310.<\/p>\r\n\r\n\r\n\r\n        <\/details>\r\n\r\n\r\n\r\n        <details class=\"igp-disclosure\">\r\n\r\n\r\n\r\n          <summary>\u00bfLa calculadora contempla todas las exenciones del GMF?<\/summary>\r\n\r\n\r\n\r\n          <p>No. El modo avanzado se concentra en la exenci\u00f3n general de 350 UVT, la regla especial de 65 UVT para dep\u00f3sitos de bajo monto y el escenario totalmente gravado. Existen otras exenciones legales que deben evaluarse seg\u00fan el tipo de operaci\u00f3n.<\/p>\r\n\r\n\r\n\r\n        <\/details>\r\n\r\n\r\n\r\n      <\/div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n      <div class=\"ig-sources\" aria-label=\"Fuentes oficiales\">\r\n\r\n\r\n\r\n        <a class=\"ig-source-link\" href=\"https:\/\/www.dian.gov.co\/atencionciudadano\/contactenos\/Annimos%20PQRS\/2026DP000009450.pdf\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">DIAN \u00b7 Doctrina GMF 2026 \u2197<\/a>\r\n\r\n\r\n\r\n        <a class=\"ig-source-link\" href=\"https:\/\/normograma.dian.gov.co\/dian\/compilacion\/docs\/oficio_dian_3949_2025.htm\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">DIAN \u00b7 Exenci\u00f3n 350 UVT \u2197<\/a>\r\n\r\n\r\n\r\n        <a class=\"ig-source-link\" href=\"https:\/\/normograma.dian.gov.co\/dian\/compilacion\/docs\/oficio_dian_3242_2024.htm\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">DIAN \u00b7 Dep\u00f3sitos bajo monto \u2197<\/a>\r\n\r\n\r\n\r\n        <a class=\"ig-source-link\" href=\"https:\/\/normograma.dian.gov.co\/dian\/compilacion\/docs\/resolucion_dian_0238_2025.htm\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">DIAN \u00b7 UVT 2026 \u2197<\/a>\r\n\r\n\r\n\r\n      <\/div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n      <p class=\"ig-help igp-help\">\r\n\r\n\r\n\r\n        Revisi\u00f3n financiera y de c\u00f3digo: 4 de octubre de 2026. Herramienta educativa. La liquidaci\u00f3n efectiva del GMF depende de la naturaleza del movimiento, otras exenciones aplicables,\r\n\r\n\r\n\r\n        la informaci\u00f3n consolidada por las entidades y la forma en que el agente retenedor procese la operaci\u00f3n.\r\n\r\n\r\n\r\n      <\/p>\r\n\r\n\r\n\r\n    <\/div>\r\n\r\n\r\n\r\n  <\/section>\r\n\r\n\r\n\r\n<section class=\"igp-related\"><h2>Contin\u00faa con otra pregunta.<\/h2><div class=\"igp-related-links\"><a class=\"igp-pill\" href=\"https:\/\/inversionesguru.com\/co\/herramientas\/simulador-de-tarjeta-de-credito-colombia\/\">Tarjeta de cr\u00e9dito<\/a><a class=\"igp-pill\" href=\"https:\/\/inversionesguru.com\/co\/herramientas\/calculadora-salarial\/\">Salario neto<\/a><a class=\"igp-pill\" href=\"https:\/\/inversionesguru.com\/co\/herramientas\/\">Todas las herramientas<\/a><a class=\"igp-pill\" href=\"#igp-gmf-form\">Volver a mis datos \u2191<\/a><\/div><\/section><\/div>\r\n\r\n<script>\r\n\r\n\r\n\r\n(function () {\r\n\r\n\r\n\r\n  'use strict';\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n  const root = document.getElementById('ig-gmf-calculator');\r\n\r\n\r\n\r\n  if (!root || root.dataset.igReady === 'true') return;\r\n\r\n\r\n\r\n  root.dataset.igReady = 'true';\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n  const CONFIG = Object.freeze({\r\n\r\n\r\n\r\n    year: 2026,\r\n\r\n\r\n\r\n    uvt: 52374,\r\n\r\n\r\n\r\n    taxRate: 0.004,\r\n\r\n\r\n\r\n    generalLimitUVT: 350,\r\n\r\n\r\n\r\n    lowLimitUVT: 65,\r\n\r\n\r\n\r\n    generalLimit: 52374 * 350,\r\n\r\n\r\n\r\n    lowLimit: 52374 * 65,\r\n\r\n\r\n\r\n    siteUrl: 'https:\/\/inversionesguru.com\/co\/',\r\n\r\n\r\n\r\n    logoUrl: 'https:\/\/inversionesguru.com\/co\/wp-content\/uploads\/sites\/3\/2026\/08\/inversionesguru_logo.png',\r\n\r\n\r\n\r\n    pdfQuick: 'calculadora-4x1000-colombia-2026.pdf',\r\n\r\n\r\n\r\n    pdfAdvanced: 'calculadora-4x1000-exencion-colombia-2026.pdf'\r\n\r\n\r\n\r\n  });\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n  const $ = (sel) => root.querySelector(sel);\r\n\r\n\r\n\r\n  const $$ = (sel) => Array.from(root.querySelectorAll(sel));\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n  const fmtMoney = new Intl.NumberFormat('es-CO', {\r\n\r\n\r\n\r\n    style: 'currency',\r\n\r\n\r\n\r\n    currency: 'COP',\r\n\r\n\r\n\r\n    minimumFractionDigits: 0,\r\n\r\n\r\n\r\n    maximumFractionDigits: 0\r\n\r\n\r\n\r\n  });\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n  const fmtNumber = new Intl.NumberFormat('es-CO', { maximumFractionDigits: 0 });\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n  let lastQuickReport = null;\r\n\r\n\r\n\r\n  let lastAdvancedReport = null;\r\n\r\n\r\n\r\n  let transactionRows = [];\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n  function money(value) {\r\n\r\n\r\n\r\n    return Number.isFinite(value) ? fmtMoney.format(Math.round(value)) : '\u2014';\r\n\r\n\r\n\r\n  }\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n  function parseMoney(value) {\r\n\r\n    const raw = String(value ?? '').trim().replace(\/^\\$\\s*\/, '');\r\n\r\n    if (!raw) return 0;\r\n\r\n    if (!\/^(?:\\d+|\\d{1,3}(?:\\.\\d{3})+)(?:,\\d{1,2})?$\/.test(raw)) return NaN;\r\n\r\n    const n = Number(raw.replace(\/\\.\/g, '').replace(',', '.'));\r\n\r\n    return Number.isFinite(n) && n >= 0 && n <= 1e12 ? n : NaN;\r\n\r\n  }\r\n\r\n\r\n\r\n  function formatMoneyInput(input) {\r\n\r\n    if (!input || !input.value.trim()) return;\r\n\r\n    const value = parseMoney(input.value);\r\n\r\n    if (Number.isFinite(value)) input.value = value.toLocaleString('es-CO', {maximumFractionDigits: 2});\r\n\r\n  }\r\n\r\n\r\n\r\n  function bindMoney(input, callback) {\r\n\r\n    if (!input) return;\r\n\r\n    input.setAttribute('inputmode', 'decimal');\r\n\r\n    input.addEventListener('input', () => {\r\n\r\n      input.setAttribute('aria-invalid', String(!Number.isFinite(parseMoney(input.value))));\r\n\r\n      if (callback) callback();\r\n\r\n    });\r\n\r\n    input.addEventListener('blur', () => { formatMoneyInput(input); if (callback) callback(); });\r\n\r\n  }\r\n\r\n\r\n\r\n  function showAlert(message, type) {\r\n\r\n\r\n\r\n    const box = $('#igGlobalAlert');\r\n\r\n\r\n\r\n    if (!box) return;\r\n\r\n\r\n\r\n    box.textContent = message || '';\r\n\r\n\r\n\r\n    box.className = 'ig-alert' +\r\n\r\n\r\n\r\n      (message ? ' is-visible' : '') +\r\n\r\n\r\n\r\n      (type === 'warning' ? ' is-warning' : '') +\r\n\r\n\r\n\r\n      (type === 'danger' ? ' is-danger' : '');\r\n\r\n\r\n\r\n  }\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n  function quickCalculation(amount) {\r\n\r\n\r\n\r\n    const tax = amount * CONFIG.taxRate;\r\n\r\n\r\n\r\n    return {\r\n\r\n\r\n\r\n      movement: amount,\r\n\r\n\r\n\r\n      tax,\r\n\r\n\r\n\r\n      totalReference: amount + tax\r\n\r\n\r\n\r\n    };\r\n\r\n\r\n\r\n  }\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n  function calcQuick() {\r\n\r\n\r\n\r\n    const amount = parseMoney($('#igQuickAmount').value);\r\n\r\n\r\n\r\n    const empty = !$('#igQuickAmount').value.trim();\r\n\r\n    const valid = Number.isFinite(amount);\r\n\r\n    const result = quickCalculation(empty || !valid ? NaN : amount);\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n    $('#igQuickTax').textContent = money(result.tax);\r\n\r\n\r\n\r\n    $('#igQuickMovement').textContent = money(result.movement);\r\n\r\n\r\n\r\n    $('#igQuickTotal').textContent = money(result.totalReference);\r\n\r\n\r\n\r\n    $('#igQuickSentence').textContent = !valid\r\n\r\n      ? 'Escribe un importe v\u00e1lido de 0 a un bill\u00f3n de pesos. Usa punto para miles y coma para centavos; no se admiten negativos ni letras.'\r\n\r\n      : empty ? 'Ingresa un valor para calcular el 4x1000 de un movimiento gravado.'\r\n\r\n      : `Para un movimiento gravado de ${money(amount)}, el 4x1000 es ${money(result.tax)}.`;\r\n\r\n    const enabled = amount > 0;\r\n\r\n\r\n\r\n    $('#igQuickPdf').disabled = !enabled;\r\n\r\n\r\n\r\n    $('#igQuickCopy').disabled = !enabled;\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n    lastQuickReport = enabled ? {\r\n\r\n\r\n\r\n      type: 'quick',\r\n\r\n\r\n\r\n      title: 'Calculadora 4x1000 Colombia 2026',\r\n\r\n\r\n\r\n      scenario: 'Movimiento totalmente gravado',\r\n\r\n\r\n\r\n      movement: result.movement,\r\n\r\n\r\n\r\n      taxableBase: result.movement,\r\n\r\n\r\n\r\n      exemptPart: 0,\r\n\r\n\r\n\r\n      tax: result.tax,\r\n\r\n\r\n\r\n      totalReference: result.totalReference,\r\n\r\n\r\n\r\n      message: `Para un movimiento gravado de ${money(amount)}, el 4x1000 es ${money(result.tax)}.`\r\n\r\n\r\n\r\n    } : null;\r\n\r\n\r\n\r\n  }\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n  function calcInverse() {\r\n\r\n    const raw = $('#igAvailableBalance').value;\r\n\r\n    const balance = parseMoney(raw);\r\n\r\n    if (!raw.trim() || !Number.isFinite(balance)) {\r\n\r\n      $('#igInverseMovement').textContent = '\u2014';\r\n\r\n      $('#igInverseTax').textContent = '\u2014';\r\n\r\n      return;\r\n\r\n    }\r\n\r\n    const availablePesos = Math.floor(balance);\r\n\r\n    let movement = Math.floor(availablePesos \/ (1 + CONFIG.taxRate));\r\n\r\n    let tax = Math.ceil(movement * CONFIG.taxRate);\r\n\r\n    while (movement + tax > availablePesos) { movement--; tax = Math.ceil(movement * CONFIG.taxRate); }\r\n\r\n    $('#igInverseMovement').textContent = money(movement);\r\n\r\n    $('#igInverseTax').textContent = money(tax);\r\n\r\n  }\r\n\r\n\r\n\r\n  function getAdvancedMode() {\r\n\r\n\r\n\r\n    return root.querySelector('input[name=\"igAdvancedMode\"]:checked')?.value || 'general';\r\n\r\n\r\n\r\n  }\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n  function getLimit(mode) {\r\n\r\n\r\n\r\n    if (mode === 'general') return CONFIG.generalLimit;\r\n\r\n\r\n\r\n    if (mode === 'low') return CONFIG.lowLimit;\r\n\r\n\r\n\r\n    return 0;\r\n\r\n\r\n\r\n  }\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n  function getScenarioLabel(mode) {\r\n\r\n\r\n\r\n    if (mode === 'general') return 'Exenci\u00f3n general 350 UVT';\r\n\r\n\r\n\r\n    if (mode === 'low') return 'Dep\u00f3sito de bajo monto 65 UVT';\r\n\r\n\r\n\r\n    return 'Movimiento sin esta exenci\u00f3n';\r\n\r\n\r\n\r\n  }\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n  function getBaselineUsed() {\r\n\r\n\r\n\r\n    return parseMoney($('#igUsedBefore').value);\r\n\r\n\r\n\r\n  }\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n  function getRowsAmountTotal() {\r\n\r\n\r\n\r\n    return transactionRows.reduce((sum, row) => sum + row.amount, 0);\r\n\r\n\r\n\r\n  }\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n  function simulateAdvanced(mode, usedBefore, amount) {\r\n\r\n\r\n\r\n    const limit = getLimit(mode);\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n    if (mode === 'taxed') {\r\n\r\n\r\n\r\n      return {\r\n\r\n\r\n\r\n        limit: 0,\r\n\r\n\r\n\r\n        usedBefore: 0,\r\n\r\n\r\n\r\n        remainingBefore: 0,\r\n\r\n\r\n\r\n        exemptPart: 0,\r\n\r\n\r\n\r\n        taxableBase: amount,\r\n\r\n\r\n\r\n        tax: amount * CONFIG.taxRate,\r\n\r\n\r\n\r\n        remainingAfter: 0,\r\n\r\n\r\n\r\n        usedAfter: 0\r\n\r\n\r\n\r\n      };\r\n\r\n\r\n\r\n    }\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n    const normalizedUsed = Math.max(0, usedBefore);\r\n\r\n\r\n\r\n    const remainingBefore = Math.max(0, limit - normalizedUsed);\r\n\r\n\r\n\r\n    const exemptPart = Math.min(amount, remainingBefore);\r\n\r\n\r\n\r\n    const taxableBase = Math.max(0, amount - exemptPart);\r\n\r\n\r\n\r\n    const tax = taxableBase * CONFIG.taxRate;\r\n\r\n\r\n\r\n    const usedAfter = Math.min(limit, normalizedUsed + amount);\r\n\r\n\r\n\r\n    const remainingAfter = Math.max(0, limit - normalizedUsed - amount);\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n    return {\r\n\r\n\r\n\r\n      limit,\r\n\r\n\r\n\r\n      usedBefore: normalizedUsed,\r\n\r\n\r\n\r\n      remainingBefore,\r\n\r\n\r\n\r\n      exemptPart,\r\n\r\n\r\n\r\n      taxableBase,\r\n\r\n\r\n\r\n      tax,\r\n\r\n\r\n\r\n      remainingAfter,\r\n\r\n\r\n\r\n      usedAfter\r\n\r\n\r\n\r\n    };\r\n\r\n\r\n\r\n  }\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n  function updateAdvancedLabels(mode) {\r\n\r\n\r\n\r\n    const used = $('#igUsedBefore');\r\n\r\n\r\n\r\n    const label = $('#igUsedLabel');\r\n\r\n\r\n\r\n    const help = $('#igUsedHelp');\r\n\r\n\r\n\r\n    const lowNote = $('#igLowRequirements');\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n    if (mode === 'general') {\r\n\r\n\r\n\r\n      used.disabled = false;\r\n\r\n\r\n\r\n      label.textContent = 'Exenci\u00f3n general ya utilizada este mes';\r\n\r\n\r\n\r\n      help.textContent = 'Incluye el monto que ya haya consumido tu l\u00edmite mensual de 350 UVT en productos elegibles.';\r\n\r\n\r\n\r\n      lowNote.hidden = true;\r\n\r\n\r\n\r\n    } else if (mode === 'low') {\r\n\r\n\r\n\r\n      used.disabled = false;\r\n\r\n\r\n\r\n      label.textContent = 'Retiros ya realizados desde este dep\u00f3sito este mes';\r\n\r\n\r\n\r\n      help.textContent = 'Usa el acumulado mensual de retiros o disposiciones que hayan consumido la exenci\u00f3n especial de 65 UVT de este dep\u00f3sito.';\r\n\r\n\r\n\r\n      lowNote.hidden = false;\r\n\r\n\r\n\r\n    } else {\r\n\r\n\r\n\r\n      used.disabled = true;\r\n\r\n\r\n\r\n      used.value = '';\r\n\r\n\r\n\r\n      label.textContent = 'Acumulado exento previo';\r\n\r\n\r\n\r\n      help.textContent = 'No aplica en este escenario: el nuevo movimiento se trata como totalmente gravado.';\r\n\r\n\r\n\r\n      lowNote.hidden = true;\r\n\r\n\r\n\r\n    }\r\n\r\n\r\n\r\n  }\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n  function calcAdvanced() {\r\n\r\n\r\n\r\n    const mode = getAdvancedMode();\r\n\r\n\r\n\r\n    const baseline = mode === 'taxed' ? 0 : getBaselineUsed();\r\n\r\n\r\n\r\n    const addedRows = getRowsAmountTotal();\r\n\r\n\r\n\r\n    const effectiveUsed = mode === 'taxed' ? 0 : baseline + addedRows;\r\n\r\n\r\n\r\n    const amount = parseMoney($('#igAdvancedAmount').value);\r\n\r\n\r\n\r\n    const empty = !$('#igAdvancedAmount').value.trim();\r\n\r\n    const valid = Number.isFinite(amount) && Number.isFinite(baseline);\r\n\r\n    if (empty || !valid) {\r\n\r\n      ['#igAdvancedTax','#igExemptPart','#igTaxedPart','#igRemainingAfter'].forEach(id => { $(id).textContent = '\u2014'; });\r\n\r\n      $('#igAdvancedMessage').textContent = !valid ? 'Corrige los importes: usa n\u00fameros no negativos, punto para miles y coma para centavos (m\u00e1ximo un bill\u00f3n).' : 'Ingresa un nuevo movimiento para evaluar el escenario.';\r\n\r\n      $('#igAdvancedPdf').disabled = true; $('#igAdvancedCopy').disabled = true;\r\n\r\n      $('#igProgressFill').style.width = '0%'; $('#igProgressLabel').textContent = 'Sin c\u00e1lculo';\r\n\r\n      lastAdvancedReport = null;\r\n\r\n      return null;\r\n\r\n    }\r\n\r\n    const result = simulateAdvanced(mode, effectiveUsed, amount);\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n    $('#igAdvancedTax').textContent = money(result.tax);\r\n\r\n\r\n\r\n    $('#igExemptPart').textContent = money(result.exemptPart);\r\n\r\n\r\n\r\n    $('#igTaxedPart').textContent = money(result.taxableBase);\r\n\r\n\r\n\r\n    $('#igRemainingAfter').textContent = mode === 'taxed' ? 'No aplica' : money(result.remainingAfter);\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n    let message = '';\r\n\r\n\r\n\r\n    if (!amount) {\r\n\r\n\r\n\r\n      message = 'Ingresa un nuevo movimiento para evaluar el escenario.';\r\n\r\n\r\n\r\n    } else if (mode === 'taxed') {\r\n\r\n\r\n\r\n      message = `El movimiento completo se trata como gravado. GMF estimado: ${money(result.tax)}.`;\r\n\r\n\r\n\r\n    } else if (result.taxableBase === 0) {\r\n\r\n\r\n\r\n      message = `El movimiento cabe completamente dentro del l\u00edmite disponible. GMF estimado en este escenario: $0.`;\r\n\r\n\r\n\r\n    } else if (result.exemptPart > 0) {\r\n\r\n\r\n\r\n      message = `${money(result.exemptPart)} quedar\u00edan dentro del l\u00edmite y ${money(result.taxableBase)} superar\u00edan el tope.`;\r\n\r\n\r\n\r\n    } else {\r\n\r\n\r\n\r\n      message = `El l\u00edmite seleccionado ya estar\u00eda agotado; el nuevo movimiento se trata como gravado en su totalidad.`;\r\n\r\n\r\n\r\n    }\r\n\r\n\r\n\r\n    $('#igAdvancedMessage').textContent = message;\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n    const progress = mode === 'taxed'\r\n\r\n\r\n\r\n      ? 100\r\n\r\n\r\n\r\n      : result.limit > 0\r\n\r\n\r\n\r\n        ? Math.min(100, ((effectiveUsed + amount) \/ result.limit) * 100)\r\n\r\n\r\n\r\n        : 0;\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n    $('#igProgressFill').style.width = `${progress}%`;\r\n\r\n\r\n\r\n    $('#igProgressLabel').textContent = mode === 'taxed'\r\n\r\n\r\n\r\n      ? 'Sin exenci\u00f3n'\r\n\r\n\r\n\r\n      : `${progress.toLocaleString('es-CO', { maximumFractionDigits: 1 })}%`;\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n    const enabled = amount > 0;\r\n\r\n\r\n\r\n    $('#igAdvancedPdf').disabled = !enabled;\r\n\r\n\r\n\r\n    $('#igAdvancedCopy').disabled = !enabled;\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n    lastAdvancedReport = enabled ? {\r\n\r\n\r\n\r\n      type: 'advanced',\r\n\r\n\r\n\r\n      title: 'Calculadora 4x1000 \u00b7 Exenci\u00f3n mensual',\r\n\r\n\r\n\r\n      scenario: getScenarioLabel(mode),\r\n\r\n\r\n\r\n      mode,\r\n\r\n\r\n\r\n      baselineUsed: baseline,\r\n\r\n\r\n\r\n      simulatedRowsTotal: addedRows,\r\n\r\n\r\n\r\n      effectiveUsed,\r\n\r\n\r\n\r\n      movement: amount,\r\n\r\n\r\n\r\n      limit: result.limit,\r\n\r\n\r\n\r\n      remainingBefore: result.remainingBefore,\r\n\r\n\r\n\r\n      exemptPart: result.exemptPart,\r\n\r\n\r\n\r\n      taxableBase: result.taxableBase,\r\n\r\n\r\n\r\n      tax: result.tax,\r\n\r\n\r\n\r\n      remainingAfter: result.remainingAfter,\r\n\r\n\r\n\r\n      message\r\n\r\n\r\n\r\n    } : null;\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n    return lastAdvancedReport;\r\n\r\n\r\n\r\n  }\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n  function rebuildTransactionRows() {\r\n\r\n\r\n\r\n    const mode = getAdvancedMode();\r\n\r\n\r\n\r\n    const baseline = mode === 'taxed' ? 0 : getBaselineUsed();\r\n\r\n\r\n\r\n    if (!Number.isFinite(baseline)) return;\r\n\r\n    let used = baseline;\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n    transactionRows = transactionRows.map((row) => {\r\n\r\n\r\n\r\n      const calc = simulateAdvanced(mode, used, row.amount);\r\n\r\n\r\n\r\n      const enriched = {\r\n\r\n\r\n\r\n        amount: row.amount,\r\n\r\n\r\n\r\n        exemptPart: calc.exemptPart,\r\n\r\n\r\n\r\n        taxableBase: calc.taxableBase,\r\n\r\n\r\n\r\n        tax: calc.tax,\r\n\r\n\r\n\r\n        usedBefore: used,\r\n\r\n\r\n\r\n        remainingAfter: calc.remainingAfter\r\n\r\n\r\n\r\n      };\r\n\r\n\r\n\r\n      if (mode !== 'taxed') used += row.amount;\r\n\r\n\r\n\r\n      return enriched;\r\n\r\n\r\n\r\n    });\r\n\r\n\r\n\r\n  }\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n  function renderTransactions() {\r\n\r\n\r\n\r\n    rebuildTransactionRows();\r\n\r\n\r\n\r\n    const list = $('#igTransactionList');\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n    if (!transactionRows.length) {\r\n\r\n\r\n\r\n      list.innerHTML = '';\r\n\r\n\r\n\r\n      return;\r\n\r\n\r\n\r\n    }\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n    list.innerHTML = transactionRows.map((row, index) => `\r\n\r\n\r\n\r\n      <div class=\"ig-transaction\">\r\n\r\n\r\n\r\n        <div>\r\n\r\n\r\n\r\n          <strong>Movimiento ${index + 1}: ${money(row.amount)}<\/strong>\r\n\r\n\r\n\r\n          <span>Exento: ${money(row.exemptPart)} \u00b7 Gravado: ${money(row.taxableBase)} \u00b7 GMF: ${money(row.tax)}<\/span>\r\n\r\n\r\n\r\n        <\/div>\r\n\r\n\r\n\r\n        <button type=\"button\" class=\"ig-remove\" data-index=\"${index}\" aria-label=\"Eliminar movimiento ${index + 1}\">\u00d7<\/button>\r\n\r\n\r\n\r\n      <\/div>\r\n\r\n\r\n\r\n    `).join('');\r\n\r\n\r\n\r\n  }\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n  function addTransaction() {\r\n\r\n\r\n\r\n    const amount = parseMoney($('#igAdvancedAmount').value);\r\n\r\n\r\n\r\n    if (!Number.isFinite(amount) || amount <= 0 || !Number.isFinite(getBaselineUsed())) {\r\n\r\n\r\n\r\n      showAlert('Ingresa importes v\u00e1lidos y un movimiento mayor que cero antes de agregarlo.', 'warning');\r\n\r\n\r\n\r\n      return;\r\n\r\n\r\n\r\n    }\r\n\r\n\r\n\r\n    transactionRows.push({ amount });\r\n\r\n\r\n\r\n    $('#igAdvancedAmount').value = '';\r\n\r\n\r\n\r\n    renderTransactions();\r\n\r\n\r\n\r\n    calcAdvanced();\r\n\r\n\r\n\r\n    showAlert('Movimiento agregado. El siguiente c\u00e1lculo utilizar\u00e1 este acumulado dentro del escenario.', '');\r\n\r\n\r\n\r\n  }\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n  function clearQuick() {\r\n\r\n\r\n\r\n    $('#igQuickAmount').value = '';\r\n\r\n\r\n\r\n    lastQuickReport = null;\r\n\r\n\r\n\r\n    calcQuick();\r\n\r\n\r\n\r\n    $('#igQuickAmount').focus();\r\n\r\n\r\n\r\n    showAlert('', '');\r\n\r\n\r\n\r\n  }\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n  function clearAdvanced() {\r\n\r\n\r\n\r\n    const general = root.querySelector('input[name=\"igAdvancedMode\"][value=\"general\"]');\r\n\r\n\r\n\r\n    if (general) general.checked = true;\r\n\r\n\r\n\r\n    transactionRows = [];\r\n\r\n\r\n\r\n    $('#igUsedBefore').value = '';\r\n\r\n\r\n\r\n    $('#igAdvancedAmount').value = '';\r\n\r\n\r\n\r\n    updateAdvancedLabels('general');\r\n\r\n\r\n\r\n    renderTransactions();\r\n\r\n\r\n\r\n    calcAdvanced();\r\n\r\n\r\n\r\n    $('#igAdvancedStatus').textContent = '';\r\n\r\n\r\n\r\n    showAlert('', '');\r\n\r\n\r\n\r\n  }\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n  function resetTransactionsForMode(mode) {\r\n\r\n\r\n\r\n    transactionRows = [];\r\n\r\n\r\n\r\n    renderTransactions();\r\n\r\n\r\n\r\n    updateAdvancedLabels(mode);\r\n\r\n\r\n\r\n    calcAdvanced();\r\n\r\n\r\n\r\n    showAlert('Se limpi\u00f3 el historial de movimientos para evitar mezclar reglas de escenarios distintos.', '');\r\n\r\n\r\n\r\n  }\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n  function buildShareUrl(report) {\r\n\r\n    \/\/ Share the tool only: financial inputs must not enter URLs or analytics.\r\n\r\n    return `${location.origin}${location.pathname}`;\r\n\r\n  }\r\n\r\n\r\n\r\n  function fallbackCopy(text) {\r\n\r\n\r\n\r\n    const input = document.createElement('input');\r\n\r\n\r\n\r\n    input.value = text;\r\n\r\n\r\n\r\n    document.body.appendChild(input);\r\n\r\n\r\n\r\n    input.select();\r\n\r\n\r\n\r\n    document.execCommand('copy');\r\n\r\n\r\n\r\n    input.remove();\r\n\r\n\r\n\r\n  }\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n  async function copyReportUrl(report) {\r\n\r\n\r\n\r\n    if (!report) return;\r\n\r\n\r\n\r\n    const url = buildShareUrl(report);\r\n\r\n\r\n\r\n    try {\r\n\r\n\r\n\r\n      if (navigator.clipboard?.writeText) await navigator.clipboard.writeText(url);\r\n\r\n\r\n\r\n      else fallbackCopy(url);\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n      showAlert('Enlace de la calculadora copiado. Tus importes no se incluyen en la URL.', '');\r\n\r\n\r\n\r\n    } catch (error) {\r\n\r\n\r\n\r\n      fallbackCopy(url);\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n      showAlert('Enlace de la calculadora copiado. Tus importes no se incluyen en la URL.', '');\r\n\r\n\r\n\r\n    }\r\n\r\n\r\n\r\n  }\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n  function ensureJsPdf() {\r\n\r\n\r\n\r\n    if (window.jspdf?.jsPDF) return Promise.resolve(window.jspdf.jsPDF);\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n    return new Promise((resolve, reject) => {\r\n\r\n\r\n\r\n      const existing = document.querySelector('script[data-ig-gmf-jspdf=\"true\"]');\r\n\r\n\r\n\r\n      if (existing) {\r\n\r\n\r\n\r\n        existing.addEventListener('load', () => resolve(window.jspdf.jsPDF), { once: true });\r\n\r\n\r\n\r\n        existing.addEventListener('error', reject, { once: true });\r\n\r\n\r\n\r\n        return;\r\n\r\n\r\n\r\n      }\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n      const script = document.createElement('script');\r\n\r\n\r\n\r\n      script.src = 'https:\/\/cdn.jsdelivr.net\/npm\/jspdf@2.5.1\/dist\/jspdf.umd.min.js';\r\n\r\n\r\n\r\n      script.async = true;\r\n\r\n\r\n\r\n      script.dataset.igGmfJspdf = 'true';\r\n\r\n\r\n\r\n      script.onload = () => resolve(window.jspdf.jsPDF);\r\n\r\n\r\n\r\n      script.onerror = reject;\r\n\r\n\r\n\r\n      document.head.appendChild(script);\r\n\r\n\r\n\r\n    });\r\n\r\n\r\n\r\n  }\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n  async function imageToDataUrl(url) {\r\n\r\n\r\n\r\n    const response = await fetch(url, { mode: 'cors', credentials: 'omit' });\r\n\r\n\r\n\r\n    if (!response.ok) throw new Error('Logo no disponible');\r\n\r\n\r\n\r\n    const blob = await response.blob();\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n    return await new Promise((resolve, reject) => {\r\n\r\n\r\n\r\n      const reader = new FileReader();\r\n\r\n\r\n\r\n      reader.onload = () => resolve(reader.result);\r\n\r\n\r\n\r\n      reader.onerror = reject;\r\n\r\n\r\n\r\n      reader.readAsDataURL(blob);\r\n\r\n\r\n\r\n    });\r\n\r\n\r\n\r\n  }\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n  function getPdfRows(report) {\r\n\r\n\r\n\r\n    const rows = [\r\n\r\n\r\n\r\n      ['Tarifa GMF', '0,4% \u00b7 4 x 1.000'],\r\n\r\n\r\n\r\n      ['UVT 2026', money(CONFIG.uvt)],\r\n\r\n\r\n\r\n      ['Exenci\u00f3n general 350 UVT', money(CONFIG.generalLimit)],\r\n\r\n\r\n\r\n      ['Dep\u00f3sito bajo monto 65 UVT', money(CONFIG.lowLimit)],\r\n\r\n\r\n\r\n      ['Escenario', report.scenario]\r\n\r\n\r\n\r\n    ];\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n    if (report.type === 'quick') {\r\n\r\n\r\n\r\n      rows.push(\r\n\r\n\r\n\r\n        ['Valor del movimiento', money(report.movement)],\r\n\r\n\r\n\r\n        ['Base gravada', money(report.taxableBase)],\r\n\r\n\r\n\r\n        ['4x1000 del movimiento', money(report.tax)],\r\n\r\n\r\n\r\n        ['Movimiento + GMF (referencia)', money(report.totalReference)]\r\n\r\n\r\n\r\n      );\r\n\r\n\r\n\r\n    } else {\r\n\r\n\r\n\r\n      rows.push(\r\n\r\n\r\n\r\n        ['Exenci\u00f3n usada antes del escenario', money(report.baselineUsed)],\r\n\r\n\r\n\r\n        ['Movimientos agregados al escenario', money(report.simulatedRowsTotal)],\r\n\r\n\r\n\r\n        ['Acumulado antes del nuevo movimiento', money(report.effectiveUsed)],\r\n\r\n\r\n\r\n        ['Nuevo movimiento', money(report.movement)],\r\n\r\n\r\n\r\n        ['L\u00edmite aplicable', report.limit ? money(report.limit) : 'No aplica'],\r\n\r\n\r\n\r\n        ['Parte exenta', money(report.exemptPart)],\r\n\r\n\r\n\r\n        ['Parte gravada', money(report.taxableBase)],\r\n\r\n\r\n\r\n        ['4x1000 del movimiento', money(report.tax)],\r\n\r\n\r\n\r\n        ['Exenci\u00f3n restante', report.limit ? money(report.remainingAfter) : 'No aplica']\r\n\r\n\r\n\r\n      );\r\n\r\n\r\n\r\n    }\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n    return rows;\r\n\r\n\r\n\r\n  }\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n  async function exportPdf(report, filename, statusEl) {\r\n\r\n\r\n\r\n    if (!report) return;\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n    if (statusEl) statusEl.textContent = 'Generando reporte PDF...';\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n    try {\r\n\r\n\r\n\r\n      const jsPDF = await ensureJsPdf();\r\n\r\n\r\n\r\n      const doc = new jsPDF({ unit: 'mm', format: 'a4' });\r\n\r\n\r\n\r\n      const margin = 18;\r\n\r\n\r\n\r\n      let y = 16;\r\n\r\n\r\n\r\n      let logoData = null;\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n      try { logoData = await imageToDataUrl(CONFIG.logoUrl); } catch (error) {}\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n      if (logoData) {\r\n\r\n\r\n\r\n        doc.addImage(logoData, 'PNG', margin, 12, 30, 12);\r\n\r\n\r\n\r\n      } else {\r\n\r\n\r\n\r\n        doc.setFillColor(15,159,122);\r\n\r\n\r\n\r\n        doc.roundedRect(margin, 12, 12, 12, 2, 2, 'F');\r\n\r\n\r\n\r\n        doc.setTextColor(255,255,255);\r\n\r\n\r\n\r\n        doc.setFont('helvetica','bold');\r\n\r\n\r\n\r\n        doc.setFontSize(8);\r\n\r\n\r\n\r\n        doc.text('IG', margin + 3.2, 19.5);\r\n\r\n\r\n\r\n      }\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n      doc.setTextColor(22,53,47);\r\n\r\n\r\n\r\n      doc.setFont('helvetica','bold');\r\n\r\n\r\n\r\n      doc.setFontSize(11);\r\n\r\n\r\n\r\n      doc.text('InversionesGuru Colombia', margin + 35, 17);\r\n\r\n\r\n\r\n      doc.setTextColor(95,115,109);\r\n\r\n\r\n\r\n      doc.setFont('helvetica','normal');\r\n\r\n\r\n\r\n      doc.setFontSize(8);\r\n\r\n\r\n\r\n      doc.text(CONFIG.siteUrl, margin + 35, 22);\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n      doc.setDrawColor(216,229,224);\r\n\r\n\r\n\r\n      doc.line(margin, 29, 210 - margin, 29);\r\n\r\n\r\n\r\n      y = 40;\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n      doc.setTextColor(22,53,47);\r\n\r\n\r\n\r\n      doc.setFont('helvetica','bold');\r\n\r\n\r\n\r\n      doc.setFontSize(18);\r\n\r\n\r\n\r\n      doc.text(report.title || 'Calculadora 4x1000 Colombia 2026', margin, y);\r\n\r\n\r\n\r\n      y += 9;\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n      doc.setTextColor(95,115,109);\r\n\r\n\r\n\r\n      doc.setFont('helvetica','normal');\r\n\r\n\r\n\r\n      doc.setFontSize(9);\r\n\r\n\r\n\r\n      const intro = doc.splitTextToSize('Reporte educativo. La liquidaci\u00f3n efectiva depende de la naturaleza del movimiento, las exenciones que realmente correspondan y el procesamiento del agente retenedor.', 174);\r\n\r\n\r\n\r\n      doc.text(intro, margin, y);\r\n\r\n\r\n\r\n      y += intro.length * 5 + 5;\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n      const rows = getPdfRows(report);\r\n\r\n\r\n\r\n      rows.forEach(([label, value]) => {\r\n\r\n\r\n\r\n        if (y > 274) {\r\n\r\n\r\n\r\n          doc.addPage();\r\n\r\n\r\n\r\n          y = 18;\r\n\r\n\r\n\r\n        }\r\n\r\n\r\n\r\n        doc.setFillColor(244,251,248);\r\n\r\n\r\n\r\n        doc.roundedRect(margin, y - 4, 174, 8, 1.5, 1.5, 'F');\r\n\r\n\r\n\r\n        doc.setTextColor(95,115,109);\r\n\r\n\r\n\r\n        doc.setFont('helvetica','normal');\r\n\r\n\r\n\r\n        doc.setFontSize(8);\r\n\r\n\r\n\r\n        doc.text(String(label), margin + 3, y + 1);\r\n\r\n\r\n\r\n        doc.setTextColor(22,53,47);\r\n\r\n\r\n\r\n        doc.setFont('helvetica','bold');\r\n\r\n\r\n\r\n        doc.text(String(value), 210 - margin - 3, y + 1, { align: 'right' });\r\n\r\n\r\n\r\n        y += 10;\r\n\r\n\r\n\r\n      });\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n      y += 4;\r\n\r\n\r\n\r\n      doc.setTextColor(95,115,109);\r\n\r\n\r\n\r\n      doc.setFont('helvetica','normal');\r\n\r\n\r\n\r\n      doc.setFontSize(8.5);\r\n\r\n\r\n\r\n      const note = doc.splitTextToSize(report.message || '', 174);\r\n\r\n\r\n\r\n      doc.text(note, margin, y);\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n      const pages = doc.getNumberOfPages();\r\n\r\n\r\n\r\n      for (let i = 1; i <= pages; i++) {\r\n\r\n\r\n\r\n        doc.setPage(i);\r\n\r\n\r\n\r\n        doc.setTextColor(130,145,140);\r\n\r\n\r\n\r\n        doc.setFontSize(7.5);\r\n\r\n\r\n\r\n        doc.text('inversionesguru.com\/co\/ \u00b7 Simulaci\u00f3n informativa', margin, 291);\r\n\r\n\r\n\r\n        doc.text(`P\u00e1gina ${i} de ${pages}`, 210 - margin, 291, { align: 'right' });\r\n\r\n\r\n\r\n      }\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n      doc.save(filename);\r\n\r\n\r\n\r\n      if (statusEl) statusEl.textContent = 'PDF descargado.';\r\n\r\n\r\n\r\n    } catch (error) {\r\n\r\n\r\n\r\n      if (statusEl) statusEl.textContent = 'No fue posible generar el PDF descargable. Revisa permisos del navegador.';\r\n\r\n\r\n\r\n    }\r\n\r\n\r\n\r\n  }\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n  function applyUrlParams() {\r\n\r\n\r\n\r\n    const params = new URLSearchParams(location.search);\r\n\r\n\r\n\r\n    if (params.get('igcalc') !== '4x1000') return;\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n    const mode = params.get('modo');\r\n\r\n\r\n\r\n    if (mode === 'rapido') {\r\n\r\n\r\n\r\n      const amount = Number(params.get('monto'));\r\n\r\n\r\n\r\n      if (Number.isFinite(amount) && amount > 0 && amount <= 1e12) {\r\n\r\n\r\n\r\n        $('#igQuickAmount').value = fmtNumber.format(Math.round(amount));\r\n\r\n\r\n\r\n        calcQuick();\r\n\r\n\r\n\r\n      }\r\n\r\n\r\n\r\n      return;\r\n\r\n\r\n\r\n    }\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n    if (mode === 'avanzado') {\r\n\r\n\r\n\r\n      const candidate = params.get('escenario');\r\n\r\n      const scenario = ['general','low','taxed'].includes(candidate) ? candidate : 'general';\r\n\r\n\r\n\r\n      const radio = root.querySelector(`input[name=\"igAdvancedMode\"][value=\"${scenario}\"]`);\r\n\r\n\r\n\r\n      if (radio) radio.checked = true;\r\n\r\n\r\n\r\n      const resolved = getAdvancedMode();\r\n\r\n\r\n\r\n      updateAdvancedLabels(resolved);\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n      const used = Number(params.get('usado'));\r\n\r\n\r\n\r\n      const amount = Number(params.get('monto'));\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n      if (resolved !== 'taxed' && Number.isFinite(used) && used > 0 && used <= 1e12) {\r\n\r\n\r\n\r\n        $('#igUsedBefore').value = fmtNumber.format(Math.round(used));\r\n\r\n\r\n\r\n      }\r\n\r\n\r\n\r\n      if (Number.isFinite(amount) && amount > 0 && amount <= 1e12) {\r\n\r\n\r\n\r\n        $('#igAdvancedAmount').value = fmtNumber.format(Math.round(amount));\r\n\r\n\r\n\r\n      }\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n      $('#igAdvanced').open = true;\r\n\r\n\r\n\r\n      calcAdvanced();\r\n\r\n\r\n\r\n      setTimeout(() => {\r\n\r\n\r\n\r\n        $('#igAdvancedSection').scrollIntoView({ behavior: window.matchMedia('(prefers-reduced-motion: reduce)').matches ? 'auto' : 'smooth', block: 'start' });\r\n\r\n\r\n\r\n      }, 50);\r\n\r\n\r\n\r\n    }\r\n\r\n\r\n\r\n  }\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n  bindMoney($('#igQuickAmount'), calcQuick);\r\n\r\n\r\n\r\n  bindMoney($('#igAvailableBalance'), calcInverse);\r\n\r\n\r\n\r\n  bindMoney($('#igUsedBefore'), () => { renderTransactions(); calcAdvanced(); });\r\n\r\n\r\n\r\n  bindMoney($('#igAdvancedAmount'), calcAdvanced);\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n  $$('.ig-example').forEach((button) => {\r\n\r\n\r\n\r\n    button.addEventListener('click', () => {\r\n\r\n\r\n\r\n      const amount = Number(button.dataset.amount || 0);\r\n\r\n\r\n\r\n      $('#igQuickAmount').value = fmtNumber.format(amount);\r\n\r\n\r\n\r\n      calcQuick();\r\n\r\n\r\n\r\n      $('#igQuickAmount').focus();\r\n\r\n\r\n\r\n    });\r\n\r\n\r\n\r\n  });\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n  $('#igOpenAdvanced').addEventListener('click', () => {\r\n\r\n\r\n\r\n    $('#igAdvanced').open = true;\r\n\r\n\r\n\r\n    $('#igAdvancedSection').scrollIntoView({ behavior: window.matchMedia('(prefers-reduced-motion: reduce)').matches ? 'auto' : 'smooth', block: 'start' });\r\n\r\n\r\n\r\n    setTimeout(() => $('#igAdvancedAmount').focus(), 350);\r\n\r\n\r\n\r\n  });\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n  $$('input[name=\"igAdvancedMode\"]').forEach((radio) => {\r\n\r\n\r\n\r\n    radio.addEventListener('change', () => resetTransactionsForMode(getAdvancedMode()));\r\n\r\n\r\n\r\n  });\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n  $('#igAddTransaction').addEventListener('click', addTransaction);\r\n\r\n\r\n\r\n  $('#igQuickClear').addEventListener('click', clearQuick);\r\n\r\n\r\n\r\n  $('#igAdvancedClear').addEventListener('click', clearAdvanced);\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n  $('#igQuickPdf').addEventListener('click', () => exportPdf(lastQuickReport, CONFIG.pdfQuick, $('#igQuickPdfStatus')));\r\n\r\n\r\n\r\n  $('#igAdvancedPdf').addEventListener('click', () => exportPdf(lastAdvancedReport, CONFIG.pdfAdvanced, $('#igAdvancedStatus')));\r\n\r\n\r\n\r\n  $('#igQuickCopy').addEventListener('click', () => copyReportUrl(lastQuickReport));\r\n\r\n\r\n\r\n  $('#igAdvancedCopy').addEventListener('click', () => copyReportUrl(lastAdvancedReport));\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n  $('#igTransactionList').addEventListener('click', (event) => {\r\n\r\n\r\n\r\n    const button = event.target.closest('.ig-remove');\r\n\r\n\r\n\r\n    if (!button) return;\r\n\r\n\r\n\r\n    const index = Number(button.dataset.index);\r\n\r\n\r\n\r\n    if (!Number.isInteger(index) || index < 0 || index >= transactionRows.length) return;\r\n\r\n\r\n\r\n    transactionRows.splice(index, 1);\r\n\r\n\r\n\r\n    renderTransactions();\r\n\r\n\r\n\r\n    calcAdvanced();\r\n\r\n\r\n\r\n  });\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n  calcQuick();\r\n\r\n\r\n\r\n  calcInverse();\r\n\r\n\r\n\r\n  updateAdvancedLabels('general');\r\n\r\n\r\n\r\n  calcAdvanced();\r\n\r\n\r\n\r\n  applyUrlParams();\r\n\r\n\r\n\r\n})();\r\n\r\n\r\n\r\n<\/script>\r\n\r\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Inicio\/Calculadoras\/Impuestos Impuestos \u00b7 Colombia Calculadora 4\u00d71000 Colombia Escribe el valor de un movimiento gravado. El resultado se actualiza al instante. Fuentes y reglas revisadas el 04\/10\/2026\u00b7 Estimaci\u00f3n educativa CalcularEntender el c\u00e1lculo 01 \u00b7 Tu movimientoCOPValor del movimientoCOP Escribe el valor en pesos colombianos. El c\u00e1lculo r\u00e1pido supone que el movimiento est\u00e1 gravado. $100.000 $500.000 $1&#8230;<\/p>\n","protected":false},"author":1,"featured_media":4022,"template":"elementor_header_footer","meta":{"_kadence_starter_templates_imported_post":false,"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","footnotes":""},"class_list":["post-5917","herramientas","type-herramientas","status-publish","has-post-thumbnail","hentry"],"_links":{"self":[{"href":"https:\/\/inversionesguru.com\/co\/wp-json\/wp\/v2\/herramientas\/5917","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/inversionesguru.com\/co\/wp-json\/wp\/v2\/herramientas"}],"about":[{"href":"https:\/\/inversionesguru.com\/co\/wp-json\/wp\/v2\/types\/herramientas"}],"author":[{"embeddable":true,"href":"https:\/\/inversionesguru.com\/co\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":41,"href":"https:\/\/inversionesguru.com\/co\/wp-json\/wp\/v2\/herramientas\/5917\/revisions"}],"predecessor-version":[{"id":8966,"href":"https:\/\/inversionesguru.com\/co\/wp-json\/wp\/v2\/herramientas\/5917\/revisions\/8966"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/inversionesguru.com\/co\/wp-json\/wp\/v2\/media\/4022"}],"wp:attachment":[{"href":"https:\/\/inversionesguru.com\/co\/wp-json\/wp\/v2\/media?parent=5917"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}