mysqli_sql_exception: Unknown column 'print' in 'where clause'


File: /home/bado2026/public_html/php/DB.php
Line: 26
#0 /home/bado2026/public_html/php/DB.php(26): mysqli->query()
#1 /home/bado2026/public_html/auxiliar.php(279): DBConnection->query()
#2 /home/bado2026/public_html/valida-idioma.php(99): createLinkbyArticleId()
#3 /home/bado2026/public_html/header.php(9): include_once('/home/bado2026/...')
#4 /home/bado2026/public_html/articulos.php(92): include_once('/home/bado2026/...')
#5 {main}
mysqli_sql_exception  Object
(
       [message:protected]  =>  Unknown  column  'print'  in  'where  clause'
       [string:Exception:private]  =>  
       [code:protected]  =>  1054
       [file:protected]  =>  /home/bado2026/public_html/php/DB.php
       [line:protected]  =>  26
       [trace:Exception:private]  =>  Array
               (
                       [0]  =>  Array
                               (
                                       [file]  =>  /home/bado2026/public_html/php/DB.php
                                       [line]  =>  26
                                       [function]  =>  query
                                       [class]  =>  mysqli
                                       [type]  =>  ->
                               )

                       [1]  =>  Array
                               (
                                       [file]  =>  /home/bado2026/public_html/auxiliar.php
                                       [line]  =>  279
                                       [function]  =>  query
                                       [class]  =>  DBConnection
                                       [type]  =>  ->
                               )

                       [2]  =>  Array
                               (
                                       [file]  =>  /home/bado2026/public_html/valida-idioma.php
                                       [line]  =>  99
                                       [function]  =>  createLinkbyArticleId
                               )

                       [3]  =>  Array
                               (
                                       [file]  =>  /home/bado2026/public_html/header.php
                                       [line]  =>  9
                                       [args]  =>  Array
                                               (
                                                       [0]  =>  /home/bado2026/public_html/valida-idioma.php
                                               )

                                       [function]  =>  include_once
                               )

                       [4]  =>  Array
                               (
                                       [file]  =>  /home/bado2026/public_html/articulos.php
                                       [line]  =>  92
                                       [args]  =>  Array
                                               (
                                                       [0]  =>  /home/bado2026/public_html/header.php
                                               )

                                       [function]  =>  include_once
                               )

               )

       [previous:Exception:private]  =>  
       [sqlstate:protected]  =>  42S22
)

POST
GET
id_articulo1791
idiomaen
printtrue
SESSION
popup_inicial1
GLOBALS
id_articulo1791
idiomaen
printtrue
PHPSESSID423i5q6r7mvucjk89arbp8madb
PATH/usr/local/bin:/bin:/usr/bin
DOCUMENT_ROOT/home/bado2026/public_html
REMOTE_ADDR216.73.216.99
REMOTE_PORT36846
SERVER_ADDR15.235.14.85
SERVER_NAME2026.bado.mx
SERVER_ADMINwebmaster@2026.bado.mx
SERVER_PORT443
REQUEST_SCHEMEhttps
REQUEST_URI/articles/1791/ley-del-iva/article-5b-additional-option-to-credit-value-added-tax-(vat)/?print=true
REDIRECT_URL/articles/1791/ley-del-iva/article-5b-additional-option-to-credit-value-added-tax-(vat)/
REDIRECT_QUERY_STRINGprint=true
REDIRECT_REQUEST_METHODGET
HTTPSon
REDIRECT_STATUS200
X_SPDYHTTP2
SSL_PROTOCOLTLSv1.3
SSL_CIPHERTLS_AES_256_GCM_SHA384
SSL_CIPHER_USEKEYSIZE256
SSL_CIPHER_ALGKEYSIZE256
SCRIPT_FILENAME/home/bado2026/public_html/articulos.php
QUERY_STRINGid_articulo=1791&idioma=en&print=true
SCRIPT_URIhttps://2026.bado.mx/articles/1791/ley-del-iva/article-5b-additional-option-to-credit-value-added-tax-(vat)/
SCRIPT_URL/articles/1791/ley-del-iva/article-5b-additional-option-to-credit-value-added-tax-(vat)/
SCRIPT_NAME/articulos.php
SERVER_PROTOCOLHTTP/1.1
SERVER_SOFTWARELiteSpeed
REQUEST_METHODGET
X-LSCACHEon
PHP_SELF/articulos.php
REQUEST_TIME_FLOAT1776327082.6271
REQUEST_TIME1776327082
id_articulo1791
idiomaen
printtrue
titulo
ARTICLE  5B:  ADDITIONAL  OPTION  TO  CREDIT  VALUE-ADDED  TAX  (VAT)  FOR  TAXED  AND  NON-TAXED  ACTIVITIES
id_articulo1791
id_ordenamiento278
nombre_claveArt.  5B
contenido

ARTICLE  5B:  ADDITIONAL  OPTION  TO  CREDIT  VALUE-ADDED  TAX  (VAT)  FOR  TAXED  AND  NON-TAXED  ACTIVITIES

 

Taxpayers,  instead  of  applying  the  provisions  of  article  5,  section  V,  subsections  c)  and  d),  numeral  3  and  article  5-A  of  this  Law  --278-Art.  5--  --278-Art.  5A--,  they  may  accredit  the  value  added  tax  that  has  been  transferred  to  them  when  making  expenditures  for  the  acquisition  of  goods,  acquisition  of  services  or  for  the  temporary  use  or  enjoyment  of  goods  or  the  one  paid  in  their  importation,  in  the  amount  resulting  from  applying  to  the  aforementioned  tax  the  proportion  that  the  value  of  the  activities  for  which  the  tax  should  be  paid  or  to  which  the  0%  rate  is  applied,  corresponding  to  the  calendar  year  immediately  preceding  the  month  for  which  the  creditable  tax  is  calculated,  represent  in  the  total  value  of  the  activities,  carried  out  by  the  taxpayer  in  said  calendar  year.  --289-Art.  16--  --289-Art.  17--  --289-Art.  22A--

During  the  calendar  year  in  which  the  taxpayers  initiate  the  activities  for  which  they  must  pay  the  tax  established  by  this  Law  and  in  the  following,  the  applicable  proportion  in  each  of  the  months  of  said  years  shall  be  calculated  considering  the  values  ??mentioned  in  the  paragraph  above,  corresponding  to  the  period  from  the  month  in  which  the  activities  began  and  until  the  month  for  which  the  creditable  tax  is  calculated.  In  the  case  of  investments,  the  creditable  tax  will  be  calculated  taking  into  account  the  proportion  of  the  mentioned  period  and  an  adjustment  must  be  made  in  the  twelfth  month,  counted  from  the  month  immediately  after  that  in  which  the  taxpayer  initiated  activities,  in  accordance  with  the  rules  of  general  character  that  the  Service  Tax  Administration  (Servicio  de  Administración  Tributaria)  issued  for  that  purpose.  For  this,  the  proportion  corresponding  to  the  period  of  the  first  twelve  months  of  activities  of  the  taxpayer  must  be  considered,  which  will  be  compared  with  the  proportion  initially  applied  to  the  tax  transferred  or  paid  in  the  importation  of  the  investment  made.  If  there  is  a  modification  of  more  than  3%,  said  accreditation  must  be  adjusted  as  follows:

  • When  the  proportion  of  the  value  of  the  activities  decreases  for  which  the  value  added  tax  must  be  paid  or  the  0%  rate  is  applied,  with  respect  to  the  value  of  the  total  activities,  the  taxpayer  must  reimburse  the  excess  credit,  updated  since  the  month  in  which  the  accreditation  was  made  and  until  the  month  in  which  the  refund  is  made.  In  this  case,  the  amount  of  the  excess  accreditation  will  be  the  amount  that  results  from  decreasing  the  amount  of  the  tax  actually  credited  in  the  month  in  question,  the  amount  that  results  from  applying  the  proportion  corresponding  to  the  twelve  month  period  to  the  amount  of  the  tax  that  it  has  been  transferred  to  the  taxpayer  or  paid  in  the  importation  of  the  investments  made  in  that  month.
  •  

  • When  the  proportion  of  the  value  of  the  activities  increases  for  which  the  value  added  tax  has  to  be  paid  or  the  0%  rate  is  applied,  with  respect  to  the  value  of  the  total  activities,  the  taxpayer  may  increase  the  accreditation  performed,  updated  from  the  month  in  which  the  accreditation  was  carried  out  and  until  the  twelfth  month,  counted  from  the  month  in  which  the  activities  began.  In  this  case,  the  amount  of  the  accreditation  to  be  increased  will  be  the  amount  that  results  from  decreasing  from  the  amount  that  results  from  applying  the  proportion  corresponding  to  the  twelve  month  period  to  the  amount  of  the  tax  that  has  been  transferred  to  the  taxpayer  or  paid  in  the  importation  in  the  investments  in  the  month  in  question,  the  amount  of  the  tax  actually  credited  in  that  month.
  •  

    The  update  referred  to  in  sections  I  and  II  of  the  preceding  paragraphs  shall  be  calculated  by  applying  the  update  factor  obtained  in  accordance  with  article  17-A  of  the  Federal  Fiscal  Code  (Código  Fiscal  de  la  Federación).  --610-Art.  17A--

    The  refund  or  increase  of  the  accreditation,  which  corresponds  in  accordance  with  sections  I  and  II  of  the  second  paragraph  of  this  article,  as  appropriate,  must  be  made  in  the  month  in  which  the  adjustment  of  the  accreditation  referred  to  in  that  paragraph,  in  accordance  with  the  general  rules  issued  for  this  purpose  by  the  Service  Tax  Administration  (Servicio  de  Administración  Tributaria).

    Taxpayers  who  exercise  the  option  provided  for  in  this  article  must  apply  it  in  respect  of  all  expenditures  for  the  acquisition  of  goods,  acquisition  of  services  or  for  the  temporary  use  or  enjoyment  of  goods,  which  are  used  interchangeably  to  carry  out  the  activities  for  which  they  are  due  or  not  to  pay  the  value  added  tax  or  to  which  the  0%  rate  is  applied,  in  a  period  of  sixty  months,  counted  from  the  month  in  which  the  accreditation  was  made  under  the  terms  of  this  article.

    To  investments  whose  accreditation  has  been  made  in  accordance  with  the  provisions  of  article  5,  section  V,  subsection  d),  number  3  of  this  Law  --278-Art.  5--,  the  procedure  established  in  this  article  will  not  be  applicable.


    nivel1
    nivel2
    nivel3
    nivel4
    esconde_banners0
    ordenamiento_padre_final277
    id_ordenamientos277
    id_padre0
    abreviatura
    nombre_cortoLIVA
    nombre_frontLey  del  IVA
    descripcion
    id_viejo
    orden8
    ocultar
    popup_inicial1
    COOKIES
    PHPSESSID423i5q6r7mvucjk89arbp8madb
    SERVER
    PATH/usr/local/bin:/bin:/usr/bin
    HTTP_ACCEPT*/*
    HTTP_ACCEPT_ENCODINGgzip,  br,  zstd,  deflate
    HTTP_COOKIEPHPSESSID=423i5q6r7mvucjk89arbp8madb
    HTTP_HOST2026.bado.mx
    HTTP_USER_AGENTMozilla/5.0  AppleWebKit/537.36  (KHTML,  like  Gecko;  compatible;  ClaudeBot/1.0;  +claudebot@anthropic.com)
    HTTP_X_HTTPS1
    DOCUMENT_ROOT/home/bado2026/public_html
    REMOTE_ADDR216.73.216.99
    REMOTE_PORT36846
    SERVER_ADDR15.235.14.85
    SERVER_NAME2026.bado.mx
    SERVER_ADMINwebmaster@2026.bado.mx
    SERVER_PORT443
    REQUEST_SCHEMEhttps
    REQUEST_URI/articles/1791/ley-del-iva/article-5b-additional-option-to-credit-value-added-tax-(vat)/?print=true
    REDIRECT_URL/articles/1791/ley-del-iva/article-5b-additional-option-to-credit-value-added-tax-(vat)/
    REDIRECT_QUERY_STRINGprint=true
    REDIRECT_REQUEST_METHODGET
    HTTPSon
    REDIRECT_STATUS200
    X_SPDYHTTP2
    SSL_PROTOCOLTLSv1.3
    SSL_CIPHERTLS_AES_256_GCM_SHA384
    SSL_CIPHER_USEKEYSIZE256
    SSL_CIPHER_ALGKEYSIZE256
    SCRIPT_FILENAME/home/bado2026/public_html/articulos.php
    QUERY_STRINGid_articulo=1791&idioma=en&print=true
    SCRIPT_URIhttps://2026.bado.mx/articles/1791/ley-del-iva/article-5b-additional-option-to-credit-value-added-tax-(vat)/
    SCRIPT_URL/articles/1791/ley-del-iva/article-5b-additional-option-to-credit-value-added-tax-(vat)/
    SCRIPT_NAME/articulos.php
    SERVER_PROTOCOLHTTP/1.1
    SERVER_SOFTWARELiteSpeed
    REQUEST_METHODGET
    X-LSCACHEon
    PHP_SELF/articulos.php
    REQUEST_TIME_FLOAT1776327082.6271
    REQUEST_TIME1776327082
    ENV