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_articulo5003
idiomaen
printtrue
SESSION
GLOBALS
id_articulo5003
idiomaen
printtrue
PHPSESSIDn8g7l4lh91p6o8p34prhv9dfrc
PATH/usr/local/bin:/bin:/usr/bin
DOCUMENT_ROOT/home/bado2026/public_html
REMOTE_ADDR216.73.217.23
REMOTE_PORT40726
SERVER_ADDR15.235.14.85
SERVER_NAME2026.bado.mx
SERVER_ADMINwebmaster@2026.bado.mx
SERVER_PORT443
REQUEST_SCHEMEhttps
REQUEST_URI/articles/5003/ley-del-iva/article-18j-obligations-of-foreign-residents-in-the-benefit/imgv2/favicon.ico?print=true
REDIRECT_URL/articles/5003/ley-del-iva/article-18j-obligations-of-foreign-residents-in-the-benefit/imgv2/favicon.ico
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=5003&idioma=en&print=true
SCRIPT_URIhttps://2026.bado.mx/articles/5003/ley-del-iva/article-18j-obligations-of-foreign-residents-in-the-benefit/imgv2/favicon.ico
SCRIPT_URL/articles/5003/ley-del-iva/article-18j-obligations-of-foreign-residents-in-the-benefit/imgv2/favicon.ico
SCRIPT_NAME/articulos.php
SERVER_PROTOCOLHTTP/1.1
SERVER_SOFTWARELiteSpeed
REQUEST_METHODGET
X-LSCACHEon
PHP_SELF/articulos.php
REQUEST_TIME_FLOAT1788705865.1781
REQUEST_TIME1788705865
id_articulo5003
idiomaen
printtrue
titulo
ARTICLE  18J:  OBLIGATIONS  OF  FOREIGN  RESIDENTS  IN  THE  BENEFIT  OF  DIGITAL  SERVICES,  WHEN  ACTING  AS  INTERMEDIARIES
id_articulo5003
id_ordenamiento977
nombre_claveArt.  18J
contenido

ARTICLE  18J:  OBLIGATIONS  OF  FOREIGN  RESIDENTS  IN  THE  BENEFIT  OF  DIGITAL  SERVICES,  WHEN  ACTING  AS  INTERMEDIARIES

Residents  abroad  without  an  establishment  in  Mexico  who  provide  the  services  referred  to  in  section  II  of  article  18-B  --LINK--  of  this  Law,  who  operate  as  intermediaries  in  activities  carried  out  by  third  parties,  attached  by  the  payment  of  the  tax  established  in  this  Law,  in  addition  to  the  obligations  established  in  Section  I  of  this  Chapter,  shall  be  bound  to  the  following:

  • Publish  on  its  website,  application,  platform  or  any  other  similar  means,  expressly  and  separately,  the  value  added  tax  corresponding  to  the  price  at  which  the  goods  or  services  are  offered  by  the  person  doing  the  alienation,  service  providers  or  grantors  of  use  or  temporary  enjoyment  of  goods,  in  which  they  operate  as  intermediaries.
  •  

  • When  charged  the  price  and  value  added  tax  corresponding  to  intermediation  operations  on  behalf  of  the  alienating  of  goods,  service  provider  or  grantor  of  the  temporary  use  or  enjoyment  of  goods,  they  must:
  •  

  • Retain  individuals  who  alienate  goods,  provide  services  or  grant  the  temporary  use  or  enjoyment  of  goods,  50%  of  the  value  added  tax  will  be  charged.  In  the  case  of  the  people  referred  to  in  this  subsection,  who  do  not  provide  the  people  mentioned  in  the  first  paragraph  of  this  article  with  the  code  in  the  federal  taxpayer  registration,  provided  for  in  section  III,  subsection  b)  thereof,  the  withholding  shall  be  made  at  100%.  The  retainer  will  replace  the  person  doing  the  alienation,  service  provider  or  grantor  of  the  use  or  temporary  enjoyment  of  goods  in  the  obligation  to  pay  the  tax,  in  the  amount  corresponding  to  the  withholding.
  •  

  • Pay  the  withholding  by  an  electronic  declaration  no  later  than  the  17th  day  of  the  month  following  that  in  which  it  was  made.
  •  

  • Issue  to  each  individual  to  whom  the  withholding  has  been  issued  a  digital  tax  receipt  online  of  the  retentions  and  payment  information,  no  later  than  five  days  after  the  month  in  which  the  withholding  was  made.
  •  

  • Enroll  in  the  Federal  Taxpayer  Registration  before  the  Service  Tax  Administration  (Servicio  de  Administración  Tributaria)  as  retainers.
  •  

    The  obligations  referred  to  in  subsections  b),  c)  and  d)  of  this  section  must  be  complied  with  in  accordance  with  the  general  rules  issued  for  this  purpose  by  the  Service  Tax  Administration  (Servicio  de  Administración  Tributaria).

     

  • Provide  the  Service  Tax  Administration  (Servicio  de  Administración  Tributaria)  with  the  information  that  is  listed  below  about  its  customers  who  sell  goods,  service  providers  or  grantors  of  the  temporary  use  or  enjoyment  of  goods,  in  whose  operations  they  have  acted  as  intermediaries,  even  when  they  have  not  collected  the  consideration  and  the  corresponding  value  added  tax:
  •  

  • Full  name  or  company  name.
  •  

  • Code  in  the  federal  taxpayer  registration.
  •  

  • Unique  Population  Registry  Code.
  •  

  • Fiscal  address.
  •  

  • Financial  institution  and  standardized  interbank  code  in  which  payment  deposits  are  received.
  •  

  • Amount  of  the  operations  carried  out  with  its  intermediation  during  the  period  in  question,  for  each  alienating  of  goods,  service  provider  or  grantor  of  the  temporary  use  or  enjoyment  of  goods.
  •  

  • In  the  case  of  lodging  services,  the  address  of  the  property.
  •  

    Said  information  must  be  submitted  monthly  no  later  than  the  10th  day  of  the  month  in  question,  in  accordance  with  the  general  rules  issued  for  this  purpose  by  the  Service  Tax  Administration  (Servicio  de  Administración  Tributaria).

    For  the  purposes  of  the  provisions  of  subsections  a),  b),  c),  d),  e)  and  g)  of  this  section,  the  people  transferring  goods,  service  providers  or  grantors  of  the  temporary  use  or  enjoyment  of  goods,  must  provide  residents  abroad  without  an  establishment  in  Mexico  who  provide  digital  intermediation  services,  the  information  referred  to  in  the  aforementioned  paragraphs.


    nivel1
    nivel2
    nivel3
    nivel4
    esconde_banners0
    ordenamiento_padre_final
    id_ordenamientos277
    id_padre0
    abreviatura
    nombre_cortoLIVA
    nombre_frontLey  del  IVA
    descripcion
    id_viejo
    orden8
    ocultar
    COOKIES
    PHPSESSIDn8g7l4lh91p6o8p34prhv9dfrc
    SERVER
    PATH/usr/local/bin:/bin:/usr/bin
    DOCUMENT_ROOT/home/bado2026/public_html
    HTTP_ACCEPT*/*
    HTTP_ACCEPT_ENCODINGgzip,  br,  zstd,  deflate
    HTTP_COOKIEPHPSESSID=n8g7l4lh91p6o8p34prhv9dfrc
    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
    REMOTE_ADDR216.73.217.23
    REMOTE_PORT40726
    SERVER_ADDR15.235.14.85
    SERVER_NAME2026.bado.mx
    SERVER_ADMINwebmaster@2026.bado.mx
    SERVER_PORT443
    REQUEST_SCHEMEhttps
    REQUEST_URI/articles/5003/ley-del-iva/article-18j-obligations-of-foreign-residents-in-the-benefit/imgv2/favicon.ico?print=true
    REDIRECT_URL/articles/5003/ley-del-iva/article-18j-obligations-of-foreign-residents-in-the-benefit/imgv2/favicon.ico
    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=5003&idioma=en&print=true
    SCRIPT_URIhttps://2026.bado.mx/articles/5003/ley-del-iva/article-18j-obligations-of-foreign-residents-in-the-benefit/imgv2/favicon.ico
    SCRIPT_URL/articles/5003/ley-del-iva/article-18j-obligations-of-foreign-residents-in-the-benefit/imgv2/favicon.ico
    SCRIPT_NAME/articulos.php
    SERVER_PROTOCOLHTTP/1.1
    SERVER_SOFTWARELiteSpeed
    REQUEST_METHODGET
    X-LSCACHEon
    PHP_SELF/articulos.php
    REQUEST_TIME_FLOAT1788705865.1781
    REQUEST_TIME1788705865
    ENV