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_articulo1798
idiomaen
printtrue
SESSION
popup_inicial1
GLOBALS
id_articulo1798
idiomaen
printtrue
PHPSESSIDegeutpnfmpldnoep5get7mht78
PATH/usr/local/bin:/bin:/usr/bin
DOCUMENT_ROOT/home/bado2026/public_html
REMOTE_ADDR216.73.216.99
REMOTE_PORT18595
SERVER_ADDR15.235.14.85
SERVER_NAME2026.bado.mx
SERVER_ADMINwebmaster@2026.bado.mx
SERVER_PORT443
REQUEST_SCHEMEhttps
REQUEST_URI/articles/1798/ley-del-iva/article-5a-adjustment-in-value-added-tax-(vat)-accreditation-when/?print=true
REDIRECT_URL/articles/1798/ley-del-iva/article-5a-adjustment-in-value-added-tax-(vat)-accreditation-when/
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=1798&idioma=en&print=true
SCRIPT_URIhttps://2026.bado.mx/articles/1798/ley-del-iva/article-5a-adjustment-in-value-added-tax-(vat)-accreditation-when/
SCRIPT_URL/articles/1798/ley-del-iva/article-5a-adjustment-in-value-added-tax-(vat)-accreditation-when/
SCRIPT_NAME/articulos.php
SERVER_PROTOCOLHTTP/1.1
SERVER_SOFTWARELiteSpeed
REQUEST_METHODGET
X-LSCACHEon
PHP_SELF/articulos.php
REQUEST_TIME_FLOAT1776327100.4952
REQUEST_TIME1776327100
id_articulo1798
idiomaen
printtrue
titulo
ARTICLE  5A:  ADJUSTMENT  IN  VALUE-ADDED  TAX  (VAT)  ACCREDITATION  WHEN  ACTIVITIES  ARE  TAXED  AND  NOT-TAXED  INDISTINCTLY
id_articulo1798
id_ordenamiento278
nombre_claveArt.  5A
contenido

ARTICLE  5A:  ADJUSTMENT  IN  VALUE-ADDED  TAX  (VAT)  ACCREDITATION  WHEN  ACTIVITIES  ARE  TAXED  AND  NOT-TAXED  INDISTINCTLY

 

When  the  taxpayer  has  made  the  accreditation  in  the  terms  of  article  5,  section  V,  subsection  d),  number  3  of  this  Law  --278-Art.  5--,  and  in  the  months  after  the  one  in  which  the  accreditation  in  question  was  made,  the  proportion  mentioned  in  said  provision  be  modified  by  more  than  3%,  the  accreditation  must  be  adjusted  as  follows:  --289-Art.  22A--  --299-Art.  71--

  • When  the  proportion  of  the  value  of  the  activities  is  decreased  for  which  the  value-added  tax  must  be  paid  is  reduced  or  the  0%  rate  is  applied,  with  respect  to  the  value  of  the  total  activities,  the  taxpayer  must  reimburse  the  corresponding  accreditation,  updated  since  the  month  in  the  one  that  was  accredited  and  until  the  month  in  question,  according  to  the  following  procedure:
  •  

  • To  the  value  added  tax  that  has  been  transferred  to  the  taxpayer  or  paid  in  the  importation,  corresponding  to  the  investment,  the  maximum  deduction  percentage  will  be  applied  per  exercise  for  the  good  in  question  is  established  in  Title  II  of  the  Law  on  Income  Tax  (Ley  del  Impuesto  sobre  la  Renta).
  •  

  • The  amount  obtained  pursuant  to  the  preceding  paragraph  will  be  divided  by  twelve.
  •  

  • The  amount  determined  in  accordance  with  the  preceding  paragraph,  shall  apply  the  proportion  value  of  the  activities  for  which  the  value-added  tax  must  be  paid  or  the  rate  of  0%  will  be  applied,  represented  in  the  total  value  of  the  activities  that  the  taxpayer  carried  out  in  the  month  in  which  it  carried  out  the  accreditation.  --289-Art.  16--  --289-Art.  17--
  •  

  • To  the  amount  determined  in  accordance  with  subparagraph  b)  of  this  section,  shall  apply  the  proportion  value  of  the  activities  for  which  the  value-added  tax  must  be  paid  or  the  rate  of  0%  is  applied,  represents  in  the  total  value  of  the  activities  will  be  applied  that  the  taxpayer  makes  in  the  month  for  which  the  adjustment  is  carried  out.  --289-Art.  16--  --289-Art.  17--
  •  

  • The  amount  obtained  pursuant  to  subsection  d)  of  this  section  shall  be  reduced  to  the  amount  obtained  pursuant  to  subsection  c)  of  this  section.  The  result  will  be  the  amount  to  be  credited  --289-Art.  19--,  updated  from  the  month  in  which  it  was  accredited  and  until  the  month  in  question,  and
  •  

  • 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,  updated  from  the  month  in  which  it  was  accredited  and  until  the  month  in  question,  according  to  the  following  procedure:
  • To  the  value  added  tax  that  has  been  transferred  to  the  taxpayer  or  paid  in  the  importation,  corresponding  to  the  investment,  the  maximum  deduction  percentage  will  be  applied  per  exercise  for  the  good  in  question  is  established  in  Title  II  of  the  Law  on  Income  Tax  (Ley  del  Impuesto  sobre  la  Renta).
  •  

  • The  amount  obtained  pursuant  to  the  preceding  paragraph  will  be  divided  by  twelve.
  •  

  • To  the  amount  determined  in  accordance  with  the  preceding  paragraph,  shall  apply  the  proportion  value  of  the  activities  for  which  the  value-added  tax  must  be  paid  or  the  rate  of  0%  will  be  applied,  represented  in  the  total  value  of  the  activities  that  the  taxpayer  carried  out  in  the  month  in  which  it  carried  out  the  accreditation.  --289-Art.  16--  --289-Art.  17--
  •  

  • To  the  amount  determined  in  accordance  with  subparagraph  b)  of  this  section,  shall  apply  the  proportion  value  of  the  activities  for  which  the  value-added  tax  must  be  paid  or  the  rate  of  0%  is  applied,  represents  in  the  total  value  of  the  activities  will  be  applied  that  the  taxpayer  makes  in  the  month  for  which  the  adjustment  is  carried  out.  --289-Art.  16--  --289-Art.  17--
  •  

  • The  amount  obtained  pursuant  to  subsection  c)  of  this  section  shall  be  reduced  to  the  amount  obtained  pursuant  to  subsection  d)  of  this  section.  The  result  will  be  the  amount  that  can  be  credited  --289-Art.  19--,  updated  from  the  month  in  which  the  corresponding  accreditation  was  made  and  until  the  month  in  question.
  •  

    The  procedure  established  in  this  article  must  be  applied  for  the  number  of  months  included  in  the  period  in  which,  for  the  purposes  of  the  Law  on  Income  Tax  (Ley  del  Impuesto  sobre  la  Renta),  the  taxpayer  would  have  deducted  the  investment  in  question,  having  applied  the  established  maximum  percentages    in  Title  II  of  said  Law.  The  number  of  months  will  start  counting  from  the  one  in  which  the  accreditation  in  question  was  made.  The  period  corresponding  to  each  investment  will  end  early  when  it  is  transferred  or  ceases  to  be  useful  for  obtaining  income  under  the  terms  of  the  Law  on  Income  Tax  (Ley  del  Impuesto  sobre  la  Renta).

    The  update  referred  to  in  this  article  must  be  calculated  by  applying  the  update  factor  that  will  be  obtained  by  dividing  the  National  Consumer  Price  Index  (Índice  Nacional  de  Precios  al  Consumidor)  of  the  most  recent  month  of  the  period,  by  the  aforementioned  index  corresponding  to  the  oldest  month  of  said  period.


    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
    PHPSESSIDegeutpnfmpldnoep5get7mht78
    SERVER
    PATH/usr/local/bin:/bin:/usr/bin
    HTTP_ACCEPT*/*
    HTTP_ACCEPT_ENCODINGgzip,  br,  zstd,  deflate
    HTTP_COOKIEPHPSESSID=egeutpnfmpldnoep5get7mht78
    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_PORT18595
    SERVER_ADDR15.235.14.85
    SERVER_NAME2026.bado.mx
    SERVER_ADMINwebmaster@2026.bado.mx
    SERVER_PORT443
    REQUEST_SCHEMEhttps
    REQUEST_URI/articles/1798/ley-del-iva/article-5a-adjustment-in-value-added-tax-(vat)-accreditation-when/?print=true
    REDIRECT_URL/articles/1798/ley-del-iva/article-5a-adjustment-in-value-added-tax-(vat)-accreditation-when/
    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=1798&idioma=en&print=true
    SCRIPT_URIhttps://2026.bado.mx/articles/1798/ley-del-iva/article-5a-adjustment-in-value-added-tax-(vat)-accreditation-when/
    SCRIPT_URL/articles/1798/ley-del-iva/article-5a-adjustment-in-value-added-tax-(vat)-accreditation-when/
    SCRIPT_NAME/articulos.php
    SERVER_PROTOCOLHTTP/1.1
    SERVER_SOFTWARELiteSpeed
    REQUEST_METHODGET
    X-LSCACHEon
    PHP_SELF/articulos.php
    REQUEST_TIME_FLOAT1776327100.4952
    REQUEST_TIME1776327100
    ENV