{"id":187,"date":"2026-04-29T13:36:06","date_gmt":"2026-04-29T13:36:06","guid":{"rendered":"https:\/\/trither.es\/?page_id=187"},"modified":"2026-04-29T13:36:33","modified_gmt":"2026-04-29T13:36:33","slug":"facturacion","status":"publish","type":"page","link":"https:\/\/trither.es\/en\/facturacion\/","title":{"rendered":"Facturaci\u00f3n"},"content":{"rendered":"<div data-elementor-type=\"wp-page\" data-elementor-id=\"187\" class=\"elementor elementor-187\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-6002432 e-flex e-con-boxed e-con e-parent\" data-id=\"6002432\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-539b70e elementor-widget elementor-widget-shortcode\" data-id=\"539b70e\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\"><div id=\"trither-facturacion-wrapper\">\n\n\n\n\n<!-- \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550 -->\n<!-- LOGIN SCREEN                                                -->\n<!-- \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550 -->\n<div id=\"loginScreen\" class=\"login-screen\">\n    <div class=\"login-card\">\n        <div class=\"login-logo\">\n            <h4>Trither<span>.<\/span><\/h4>\n            <p>Sistema de Facturaci\u00f3n<\/p>\n        <\/div>\n        <div id=\"loginError\" class=\"login-error\">Usuario o contrase\u00f1a incorrectos<\/div>\n        <form id=\"loginForm\" onsubmit=\"return handleLogin(event)\" action=\"\">\n            <div class=\"login-field\">\n                <label>Usuario<\/label>\n                <input type=\"text\" id=\"loginUser\" placeholder=\"Introduce tu usuario\" required autocomplete=\"off\">\n            <\/div>\n            <div class=\"login-field\">\n                <label>Contrase\u00f1a<\/label>\n                <input type=\"password\" id=\"loginPass\" placeholder=\"Introduce tu contrase\u00f1a\" required>\n            <\/div>\n            <button type=\"submit\" class=\"login-btn\">Iniciar Sesi\u00f3n<\/button>\n        <input type=\"hidden\" name=\"trp-form-language\" value=\"en\"\/><\/form>\n    <\/div>\n<\/div>\n\n<!-- \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550 -->\n<!-- APP CONTAINER                                               -->\n<!-- \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550 -->\n<div id=\"appContainer\" class=\"app-container\">\n\n    <!-- Sidebar -->\n    <aside class=\"sidebar\" id=\"sidebar\">\n        <div class=\"sidebar-brand\">\n            <h4>Trither<span>.<\/span><\/h4>\n            <p>Facturaci\u00f3n<\/p>\n        <\/div>\n\n        <nav role=\"navigation\" class=\"sidebar-nav\">\n            <div class=\"nav-section\">\n                <div class=\"nav-section-title\">Principal<\/div>\n                <a class=\"nav-item active\" data-view=\"dashboard\" onclick=\"navigateTo('dashboard')\">\n                    <svg viewbox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\"><rect x=\"3\" y=\"3\" width=\"7\" height=\"7\" rx=\"1\"\/><rect x=\"14\" y=\"3\" width=\"7\" height=\"7\" rx=\"1\"\/><rect x=\"3\" y=\"14\" width=\"7\" height=\"7\" rx=\"1\"\/><rect x=\"14\" y=\"14\" width=\"7\" height=\"7\" rx=\"1\"\/><\/svg>\n                    Panel de Control\n                <\/a>\n            <\/div>\n\n            <div class=\"nav-section\">\n                <div class=\"nav-section-title\">Facturaci\u00f3n<\/div>\n                <a class=\"nav-item\" data-view=\"facturacion\" onclick=\"navigateTo('facturacion')\">\n                    <svg viewbox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\"><path d=\"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z\"\/><polyline points=\"14 2 14 8 20 8\"\/><line x1=\"16\" y1=\"13\" x2=\"8\" y2=\"13\"\/><line x1=\"16\" y1=\"17\" x2=\"8\" y2=\"17\"\/><\/svg>\n                    Albaranes y Facturas\n                <\/a>\n            <\/div>\n\n            <div class=\"nav-section\">\n                <div class=\"nav-section-title\">Gesti\u00f3n<\/div>\n                <a class=\"nav-item\" data-view=\"contactos\" onclick=\"navigateTo('contactos')\">\n                    <svg viewbox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\"><path d=\"M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2\"\/><circle cx=\"9\" cy=\"7\" r=\"4\"\/><path d=\"M23 21v-2a4 4 0 0 0-3-3.87\"\/><path d=\"M16 3.13a4 4 0 0 1 0 7.75\"\/><\/svg>\n                    Contactos\n                <\/a>\n                <a class=\"nav-item\" data-view=\"productos\" onclick=\"navigateTo('productos')\">\n                    <svg viewbox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\"><rect x=\"2\" y=\"7\" width=\"20\" height=\"14\" rx=\"2\"\/><path d=\"M16 21V5a2 2 0 00-2-2h-4a2 2 0 00-2 2v16\"\/><\/svg>\n                    Productos \/ Servicios\n                <\/a>\n                <a class=\"nav-item\" data-view=\"empresas\" onclick=\"navigateTo('empresas')\" id=\"navEmpresas\" style=\"display:none\">\n                    <svg viewbox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\"><path d=\"M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z\"\/><polyline points=\"9 22 9 12 15 12 15 22\"\/><\/svg>\n                    Empresas Emisoras\n                <\/a>\n            <\/div>\n\n            <div class=\"nav-section\" id=\"navAdminSection\" style=\"display:none\">\n                <div class=\"nav-section-title\">Administraci\u00f3n<\/div>\n                <a class=\"nav-item\" data-view=\"usuarios\" onclick=\"navigateTo('usuarios')\" id=\"navUsuarios\">\n                    <svg viewbox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\"><path d=\"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2\"\/><circle cx=\"9\" cy=\"7\" r=\"4\"\/><line x1=\"19\" y1=\"8\" x2=\"19\" y2=\"14\"\/><line x1=\"22\" y1=\"11\" x2=\"16\" y2=\"11\"\/><\/svg>\n                    Usuarios\n                <\/a>\n                <a class=\"nav-item\" data-view=\"configuracion\" onclick=\"navigateTo('configuracion')\" id=\"navConfiguracion\">\n                    <svg viewbox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\"><circle cx=\"12\" cy=\"12\" r=\"3\"\/><path d=\"M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1-2.83 2.83l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-4 0v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83-2.83l.06-.06A1.65 1.65 0 0 0 4.68 15a1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1 0-4h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 2.83-2.83l.06.06A1.65 1.65 0 0 0 9 4.68a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 4 0v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 2.83l-.06.06A1.65 1.65 0 0 0 19.4 9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 0 4h-.09a1.65 1.65 0 0 0-1.51 1z\"\/><\/svg>\n                    Configuraci\u00f3n IVA\n                <\/a>\n            <\/div>\n\n            <div class=\"nav-section\">\n                <div class=\"nav-section-title\">Cuenta<\/div>\n                <a class=\"nav-item\" data-view=\"perfil\" onclick=\"navigateTo('perfil')\">\n                    <svg viewbox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\"><path d=\"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2\"\/><circle cx=\"12\" cy=\"7\" r=\"4\"\/><\/svg>\n                    Mi Perfil\n                <\/a>\n            <\/div>\n        <\/nav>\n\n        <div class=\"sidebar-footer\">\n            <div class=\"sidebar-user\">\n                <div class=\"user-avatar\" id=\"sidebarAvatar\">CG<\/div>\n                <div class=\"user-info\">\n                    <div class=\"name\" id=\"sidebarName\">Carlos Garc\u00eda<\/div>\n                    <div class=\"role\" id=\"sidebarRole\">Administrador<\/div>\n                <\/div>\n                <button class=\"logout-btn\" onclick=\"handleLogout()\" title=\"Cerrar sesi\u00f3n\" aria-label=\"Cerrar sesi\u00f3n\">\n                    <svg width=\"18\" height=\"18\" viewbox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\"><path d=\"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4\"\/><polyline points=\"16 17 21 12 16 7\"\/><line x1=\"21\" y1=\"12\" x2=\"9\" y2=\"12\"\/><\/svg>\n                <\/button>\n            <\/div>\n        <\/div>\n    <\/aside>\n\n    <!-- Main Content -->\n    <main class=\"main-content\">\n        <header role=\"banner\" class=\"top-header\">\n            <h4 class=\"page-title\" id=\"pageTitle\">Panel de Control<\/h4>\n            <div class=\"header-actions\">\n                <button class=\"btn btn-secondary\" onclick=\"window.location.reload()\" title=\"Refrescar\" aria-label=\"Refrescar\">\n                    <svg width=\"16\" height=\"16\" viewbox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\"><polyline points=\"23 4 23 10 17 10\"\/><path d=\"M20.49 15a9 9 0 1 1-2.12-9.36L23 10\"\/><\/svg>\n                <\/button>\n            <\/div>\n        <\/header>\n\n        <div class=\"content-area\" id=\"contentArea\">\n            <!-- Views will be rendered here dynamically -->\n        <\/div>\n    <\/main>\n<\/div>\n\n<!-- Toast Container -->\n<div class=\"toast-container\" id=\"toastContainer\"><\/div>\n\n<!-- Modal Container -->\n<div class=\"modal-overlay\" id=\"modalOverlay\" onclick=\"closeModal(event)\">\n    <div class=\"modal\" id=\"modalContent\" onclick=\"event.stopPropagation()\">\n        <div class=\"modal-header\">\n            <h4 id=\"modalTitle\">Modal<\/h4>\n            <button class=\"modal-close\" onclick=\"closeModal()\" aria-label=\"Cerrar\">\n                <svg width=\"18\" height=\"18\" viewbox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\"><line x1=\"18\" y1=\"6\" x2=\"6\" y2=\"18\"\/><line x1=\"6\" y1=\"6\" x2=\"18\" y2=\"18\"\/><\/svg>\n            <\/button>\n        <\/div>\n        <div class=\"modal-body\" id=\"modalBody\"><\/div>\n        <div class=\"modal-footer\" id=\"modalFooter\"><\/div>\n    <\/div>\n<\/div>\n\n<!-- Scripts -->\n\n\n\n\n\n\n\n\n\n\n\n\n\n<\/div><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-187","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/trither.es\/en\/wp-json\/wp\/v2\/pages\/187","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/trither.es\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/trither.es\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/trither.es\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/trither.es\/en\/wp-json\/wp\/v2\/comments?post=187"}],"version-history":[{"count":4,"href":"https:\/\/trither.es\/en\/wp-json\/wp\/v2\/pages\/187\/revisions"}],"predecessor-version":[{"id":191,"href":"https:\/\/trither.es\/en\/wp-json\/wp\/v2\/pages\/187\/revisions\/191"}],"wp:attachment":[{"href":"https:\/\/trither.es\/en\/wp-json\/wp\/v2\/media?parent=187"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}