{"id":324,"date":"2026-07-07T19:05:03","date_gmt":"2026-07-07T19:05:03","guid":{"rendered":"https:\/\/tributosservice.com.py\/?page_id=324"},"modified":"2026-07-09T20:02:47","modified_gmt":"2026-07-09T20:02:47","slug":"calculadora-de-iva","status":"publish","type":"page","link":"https:\/\/tributosservice.com.py\/index.php\/calculadora-de-iva\/","title":{"rendered":"Calculadora del IVA"},"content":{"rendered":"\n<div style=\"max-width: 450px; margin: 20px auto; padding: 25px; border: 1px solid #e0e0e0; border-radius: 10px; font-family: Arial, sans-serif; box-shadow: 0 4px 6px rgba(0,0,0,0.05); background-color: #ffffff;\">\n  <h3 style=\"text-align: center; color: #333333; margin-bottom: 20px;\">Calculadora R\u00e1pida de Liquidaci\u00f3n de  IVA (10%)<\/h3>\n  \n  <label style=\"font-weight: bold; color: #555; font-size: 14px;\">Ingresos Totales (IVA incluido en Gs.):<\/label><br>\n  <input type=\"number\" id=\"ingresos\" style=\"width: 100%; padding: 10px; margin-top: 5px; margin-bottom: 20px; border: 1px solid #ccc; border-radius: 5px; box-sizing: border-box;\" placeholder=\"Ej: 1100000\"><br>\n\n  <label style=\"font-weight: bold; color: #555; font-size: 14px;\">Gastos Deducibles (IVA incluido en Gs.):<\/label><br>\n  <input type=\"number\" id=\"gastos\" style=\"width: 100%; padding: 10px; margin-top: 5px; margin-bottom: 20px; border: 1px solid #ccc; border-radius: 5px; box-sizing: border-box;\" placeholder=\"Ej: 550000\"><br>\n\n  <button onclick=\"calcularIVA()\" style=\"width: 100%; padding: 12px; background-color: #004b87; color: white; border: none; border-radius: 5px; cursor: pointer; font-size: 16px; font-weight: bold;\">Calcular IVA<\/button>\n\n  <div id=\"resultado\" style=\"margin-top: 25px; padding: 15px; background-color: #f8f9fa; border-left: 4px solid #004b87; border-radius: 4px; display: none;\">\n    <p style=\"margin: 5px 0; color: #444;\"><strong>IVA D\u00e9bito Fiscal:<\/strong> \u20b2 <span id=\"ivaDebito\">0<\/span><\/p>\n    <p style=\"margin: 5px 0; color: #444;\"><strong>IVA Cr\u00e9dito Fiscal:<\/strong> \u20b2 <span id=\"ivaCredito\">0<\/span><\/p>\n    <hr style=\"border: 0; border-top: 1px solid #ddd; margin: 15px 0;\">\n    <h4 id=\"mensajeFinal\" style=\"text-align: center; margin: 0; font-size: 18px;\"><\/h4>\n  <\/div>\n<\/div>\n\n<script>\nfunction calcularIVA() {\n    \/\/ Obtener valores (si el campo est\u00e1 vac\u00edo, toma el valor 0)\n    let ingresos = parseFloat(document.getElementById('ingresos').value) || 0;\n    let gastos = parseFloat(document.getElementById('gastos').value) || 0;\n\n    \/\/ F\u00f3rmula paraguaya: dividir entre 11 para obtener la cuota del 10%\n    let ivaDebito = ingresos \/ 11;\n    let ivaCredito = gastos \/ 11;\n    let saldo = ivaDebito - ivaCredito;\n\n    \/\/ Formateador para separar miles sin decimales\n    const formatoPYG = new Intl.NumberFormat('es-PY', { maximumFractionDigits: 0 });\n\n    document.getElementById('ivaDebito').innerText = formatoPYG.format(ivaDebito);\n    document.getElementById('ivaCredito').innerText = formatoPYG.format(ivaCredito);\n\n    let mensaje = document.getElementById('mensajeFinal');\n    if (saldo > 0) {\n        mensaje.innerHTML = \"IVA a Pagar a la DNIT: \u20b2 \" + formatoPYG.format(saldo);\n        mensaje.style.color = \"#d9534f\"; \/\/ Rojo oscuro\n    } else if (saldo < 0) {\n        mensaje.innerHTML = \"Saldo a Favor del Contribuyente: \u20b2 \" + formatoPYG.format(Math.abs(saldo));\n        mensaje.style.color = \"#28a745\"; \/\/ Verde\n    } else {\n        mensaje.innerHTML = \"Saldo 0 (Ni a pagar, ni a favor)\";\n        mensaje.style.color = \"#333333\";\n    }\n\n    \/\/ Mostrar el cuadro de resultados\n    document.getElementById('resultado').style.display = 'block';\n}\n<\/script>\n","protected":false},"excerpt":{"rendered":"<p>Calculadora R\u00e1pida de Liquidaci\u00f3n de IVA (10%) Ingresos Totales (IVA incluido en Gs.): Gastos Deducibles (IVA incluido en Gs.): Calcular IVA IVA D\u00e9bito Fiscal: \u20b2 0 IVA Cr\u00e9dito Fiscal: \u20b2 0<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-324","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/tributosservice.com.py\/index.php\/wp-json\/wp\/v2\/pages\/324","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tributosservice.com.py\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/tributosservice.com.py\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/tributosservice.com.py\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tributosservice.com.py\/index.php\/wp-json\/wp\/v2\/comments?post=324"}],"version-history":[{"count":5,"href":"https:\/\/tributosservice.com.py\/index.php\/wp-json\/wp\/v2\/pages\/324\/revisions"}],"predecessor-version":[{"id":370,"href":"https:\/\/tributosservice.com.py\/index.php\/wp-json\/wp\/v2\/pages\/324\/revisions\/370"}],"wp:attachment":[{"href":"https:\/\/tributosservice.com.py\/index.php\/wp-json\/wp\/v2\/media?parent=324"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}