Bienvenido a Facturas y Respuestas.

Esperamos que encuentre la respuesta a su pregunta. Y si no, puede formularla para que los expertos de la comunidad la respondan.

Preguntar

Este blog es creado y administrado por:

Copyright - 2020

+2 votos
por en Operación
Buen día, tengo un inconveniente con rechazo a factura electrónica de la DIAN FAS01 b existe más de un grupo con información de totales para un mismo tributo.

Gracias por la ayuda
por
¿Por que medio estás facturando?
por
SE NOS ESTA PRESENTANDO EL ERROR FAS01B AL FACTURAR UTILIZAMOS XUBIO

6 Respuestas

0 votos
por
en el xml invoice line solo pueden aparecer los tributos mayores   a 0

<cac:InvoiceLine>
        <cbc:ID>3</cbc:ID>
        <cbc:Note>LLAVEROS OCOBOS</cbc:Note>
        <cbc:InvoicedQuantity unitCode="94">180.0</cbc:InvoicedQuantity>
        <cbc:LineExtensionAmount currencyID="COP">3240000.00</cbc:LineExtensionAmount>
        <cac:TaxTotal>
            <cbc:TaxAmount currencyID="COP">615600.00</cbc:TaxAmount>
            <cac:TaxSubtotal>
                <cbc:TaxableAmount currencyID="COP">3240000.00</cbc:TaxableAmount>
                <cbc:TaxAmount currencyID="COP">615600.00</cbc:TaxAmount>
                <cbc:PerUnitAmount currencyID="COP">19.00</cbc:PerUnitAmount>
                <cac:TaxCategory>
                    <cbc:Percent>19.00</cbc:Percent>
                    <cac:TaxScheme>
                        <cbc:ID>01</cbc:ID>
                        <cbc:Name>IVA</cbc:Name>
                    </cac:TaxScheme>
                </cac:TaxCategory>
            </cac:TaxSubtotal>
        </cac:TaxTotal>
        <cac:Item>
            <cbc:Description>LLAVEROS OCOBOS</cbc:Description>
            <cac:StandardItemIdentification>
                <cbc:ID schemeID="999"
                        schemeName="Estándar de adopción del contribuyente"/>
            </cac:StandardItemIdentification>
        </cac:Item>
        <cac:Price>
            <cbc:PriceAmount currencyID="COP">18000.0</cbc:PriceAmount>
            <cbc:BaseQuantity unitCode="94">180.0</cbc:BaseQuantity>
        </cac:Price>
    </cac:InvoiceLine>
0 votos
por
chequea este aparte del xml para que te guies...esto es xml aprobado por la dian

    <cac:TaxTotal>
        <cbc:TaxAmount currencyID="COP">1048800.00</cbc:TaxAmount>
        <cac:TaxSubtotal>
            <cbc:TaxableAmount currencyID="COP">5520000.00</cbc:TaxableAmount>
            <cbc:TaxAmount currencyID="COP">1048800.00</cbc:TaxAmount>
            <cac:TaxCategory>
                <cbc:Percent>19.00</cbc:Percent>
                <cac:TaxScheme>
                    <cbc:ID>01</cbc:ID>
                    <cbc:Name>IVA</cbc:Name>
                </cac:TaxScheme>
            </cac:TaxCategory>
        </cac:TaxSubtotal>
    </cac:TaxTotal>
    <cac:LegalMonetaryTotal>
        <cbc:LineExtensionAmount currencyID="COP">5520000.00</cbc:LineExtensionAmount>
        <cbc:TaxExclusiveAmount currencyID="COP">5520000.00</cbc:TaxExclusiveAmount>
        <cbc:TaxInclusiveAmount currencyID="COP">6568800.00</cbc:TaxInclusiveAmount>
        <cbc:AllowanceTotalAmount currencyID="COP">0.00</cbc:AllowanceTotalAmount>
        <cbc:PayableRoundingAmount currencyID="COP">0.00</cbc:PayableRoundingAmount>
        <cbc:PayableAmount currencyID="COP">6568800.00</cbc:PayableAmount>
    </cac:LegalMonetaryTotal>
    <cac:InvoiceLine>
        <cbc:ID>1</cbc:ID>
        <cbc:Note>BOLSAS VIVIENDA</cbc:Note>
        <cbc:InvoicedQuantity unitCode="94">200.0</cbc:InvoicedQuantity>
        <cbc:LineExtensionAmount currencyID="COP">760000.00</cbc:LineExtensionAmount>
        <cac:TaxTotal>
            <cbc:TaxAmount currencyID="COP">144400.00</cbc:TaxAmount>
            <cac:TaxSubtotal>
                <cbc:TaxableAmount currencyID="COP">760000.00</cbc:TaxableAmount>
                <cbc:TaxAmount currencyID="COP">144400.00</cbc:TaxAmount>
                <cbc:PerUnitAmount currencyID="COP">19.00</cbc:PerUnitAmount>
                <cac:TaxCategory>
                    <cbc:Percent>19.00</cbc:Percent>
                    <cac:TaxScheme>
                        <cbc:ID>01</cbc:ID>
                        <cbc:Name>IVA</cbc:Name>
                    </cac:TaxScheme>
                </cac:TaxCategory>
            </cac:TaxSubtotal>
        </cac:TaxTotal>
        <cac:Item>
            <cbc:Description>BOLSAS VIVIENDA</cbc:Description>
            <cac:StandardItemIdentification>
                <cbc:ID schemeID="999"
                        schemeName="Estándar de adopción del contribuyente"/>
            </cac:StandardItemIdentification>
        </cac:Item>
        <cac:Price>
            <cbc:PriceAmount currencyID="COP">3800.0</cbc:PriceAmount>
            <cbc:BaseQuantity unitCode="94">200.0</cbc:BaseQuantity>
        </cac:Price>
    </cac:InvoiceLine>
    <cac:InvoiceLine>
        <cbc:ID>2</cbc:ID>
        <cbc:Note>CARPETAS VIVIENDA</cbc:Note>
        <cbc:InvoicedQuantity unitCode="94">200.0</cbc:InvoicedQuantity>
        <cbc:LineExtensionAmount currencyID="COP">944000.00</cbc:LineExtensionAmount>
        <cac:TaxTotal>
            <cbc:TaxAmount currencyID="COP">179360.00</cbc:TaxAmount>
            <cac:TaxSubtotal>
                <cbc:TaxableAmount currencyID="COP">944000.00</cbc:TaxableAmount>
                <cbc:TaxAmount currencyID="COP">179360.00</cbc:TaxAmount>
                <cbc:PerUnitAmount currencyID="COP">19.00</cbc:PerUnitAmount>
                <cac:TaxCategory>
                    <cbc:Percent>19.00</cbc:Percent>
                    <cac:TaxScheme>
                        <cbc:ID>01</cbc:ID>
                        <cbc:Name>IVA</cbc:Name>
                    </cac:TaxScheme>
                </cac:TaxCategory>
            </cac:TaxSubtotal>
        </cac:TaxTotal>
        <cac:Item>
            <cbc:Description>CARPETAS VIVIENDA</cbc:Description>
            <cac:StandardItemIdentification>
                <cbc:ID schemeID="999"
                        schemeName="Estándar de adopción del contribuyente"/>
            </cac:StandardItemIdentification>
        </cac:Item>
        <cac:Price>
            <cbc:PriceAmount currencyID="COP">4720.0</cbc:PriceAmount>
            <cbc:BaseQuantity unitCode="94">200.0</cbc:BaseQuantity>
        </cac:Price>
    </cac:InvoiceLine>
    <cac:InvoiceLine>
        <cbc:ID>3</cbc:ID>
        <cbc:Note>LLAVEROS OCOBOS</cbc:Note>
        <cbc:InvoicedQuantity unitCode="94">180.0</cbc:InvoicedQuantity>
        <cbc:LineExtensionAmount currencyID="COP">3240000.00</cbc:LineExtensionAmount>
        <cac:TaxTotal>
            <cbc:TaxAmount currencyID="COP">615600.00</cbc:TaxAmount>
            <cac:TaxSubtotal>
                <cbc:TaxableAmount currencyID="COP">3240000.00</cbc:TaxableAmount>
                <cbc:TaxAmount currencyID="COP">615600.00</cbc:TaxAmount>
                <cbc:PerUnitAmount currencyID="COP">19.00</cbc:PerUnitAmount>
                <cac:TaxCategory>
                    <cbc:Percent>19.00</cbc:Percent>
                    <cac:TaxScheme>
                        <cbc:ID>01</cbc:ID>
                        <cbc:Name>IVA</cbc:Name>
                    </cac:TaxScheme>
                </cac:TaxCategory>
            </cac:TaxSubtotal>
        </cac:TaxTotal>
        <cac:Item>
            <cbc:Description>LLAVEROS OCOBOS</cbc:Description>
            <cac:StandardItemIdentification>
                <cbc:ID schemeID="999"
                        schemeName="Estándar de adopción del contribuyente"/>
            </cac:StandardItemIdentification>
        </cac:Item>
        <cac:Price>
            <cbc:PriceAmount currencyID="COP">18000.0</cbc:PriceAmount>
            <cbc:BaseQuantity unitCode="94">180.0</cbc:BaseQuantity>
        </cac:Price>
    </cac:InvoiceLine>
    <cac:InvoiceLine>
        <cbc:ID>4</cbc:ID>
        <cbc:Note>BOLSAS TERCIOPELO OCOBOS</cbc:Note>
        <cbc:InvoicedQuantity unitCode="94">180.0</cbc:InvoicedQuantity>
        <cbc:LineExtensionAmount currencyID="COP">576000.00</cbc:LineExtensionAmount>
        <cac:TaxTotal>
            <cbc:TaxAmount currencyID="COP">109440.00</cbc:TaxAmount>
            <cac:TaxSubtotal>
                <cbc:TaxableAmount currencyID="COP">576000.00</cbc:TaxableAmount>
                <cbc:TaxAmount currencyID="COP">109440.00</cbc:TaxAmount>
                <cbc:PerUnitAmount currencyID="COP">19.00</cbc:PerUnitAmount>
                <cac:TaxCategory>
                    <cbc:Percent>19.00</cbc:Percent>
                    <cac:TaxScheme>
                        <cbc:ID>01</cbc:ID>
                        <cbc:Name>IVA</cbc:Name>
                    </cac:TaxScheme>
                </cac:TaxCategory>
            </cac:TaxSubtotal>
        </cac:TaxTotal>
        <cac:Item>
            <cbc:Description>BOLSAS TERCIOPELO OCOBOS</cbc:Description>
            <cac:StandardItemIdentification>
                <cbc:ID schemeID="999"
                        schemeName="Estándar de adopción del contribuyente"/>
            </cac:StandardItemIdentification>
        </cac:Item>
        <cac:Price>
            <cbc:PriceAmount currencyID="COP">3200.0</cbc:PriceAmount>
            <cbc:BaseQuantity unitCode="94">180.0</cbc:BaseQuantity>
        </cac:Price>
    </cac:InvoiceLine>
0 votos
por
Hola Encontro la solucion ?
por
A MI ME SUCEDE LOS MISMO, QUE DEBO HACER PARA RESOLOVERLO
por
Hola, podría dar instrucciones mas sencillas? no he podido solucionar el problema
0 votos
por

Buenas noches, 

Tenía el mismo problema y logré resolverlo, asegurate de que cada tributo dentro del nodo <cac:TaxTotaltenga uno equivalente en cada <cac:InvoiceLine>, pero que sea totalmente igual, incluso en el valor del porcentaje del tributo, en el siguiente link te comparto el ejemplo: https://jsfiddle.net/o1rdw8fk

Espero sea de ayuda.

Saludos.

por
Tengo el mismo problema pero no logro solucionarlo. El fragmento XML es el siguiente:

                <cac:TaxTotal>
                  <cbc:TaxAmount currencyID="COP">       190000.00</cbc:TaxAmount>
                              <cbc:RoundingAmount currencyID="COP">0.00</cbc:RoundingAmount>
                  <cac:TaxSubtotal>
                     <cbc:TaxableAmount currencyID="COP">      1000000.00</cbc:TaxableAmount>
                     <cbc:TaxAmount currencyID="COP">       190000.00</cbc:TaxAmount>                     
                     <cac:TaxCategory>
                       <cbc:Percent>  19.00</cbc:Percent>
                       <cac:TaxScheme>
                          <cbc:ID>01</cbc:ID>
                          <cbc:Name>IVA</cbc:Name>
                       </cac:TaxScheme>
                     </cac:TaxCategory>
                </cac:TaxSubtotal>
              </cac:TaxTotal>
                <cac:LegalMonetaryTotal>
                  <cbc:LineExtensionAmount currencyID="COP">1000000.00</cbc:LineExtensionAmount>   
                  <cbc:TaxExclusiveAmount currencyID="COP">1000000.00</cbc:TaxExclusiveAmount>   
                  <cbc:TaxInclusiveAmount currencyID="COP">1190000.00</cbc:TaxInclusiveAmount>
                  <cbc:PayableAmount currencyID="COP">1190000.00</cbc:PayableAmount>
                </cac:LegalMonetaryTotal>
                  <cac:InvoiceLine>
                     <cbc:ID>1</cbc:ID>
                     <cbc:Note>PRUEBA DETALLE 1</cbc:Note>           
                     <cbc:InvoicedQuantity unitCode="HUR">            1.00</cbc:InvoicedQuantity>
                     <cbc:LineExtensionAmount currencyID="COP">      1000000.00</cbc:LineExtensionAmount>
                    <cac:TaxTotal>
                       <cbc:TaxAmount currencyID="COP">       190000.00</cbc:TaxAmount>
                                          <cbc:RoundingAmount currencyID="COP">0.00</cbc:RoundingAmount>
                       
                       <cac:TaxSubtotal>
                          <cbc:TaxableAmount currencyID="COP">      1000000.00</cbc:TaxableAmount>
                          <cbc:TaxAmount currencyID="COP">       190000.00</cbc:TaxAmount>
                          <cac:TaxCategory>
                             <cbc:Percent>  19.00</cbc:Percent>
                             <cac:TaxScheme>
                                <cbc:ID>01</cbc:ID>
                                <cbc:Name>IVA</cbc:Name>
                             </cac:TaxScheme>
                          </cac:TaxCategory>
                       </cac:TaxSubtotal>
                     </cac:TaxTotal>
                     <cac:Item>
                               <cbc:Description>PRUEBA DETALLE 1</cbc:Description>
                               <cac:StandardItemIdentification>
                                  <cbc:ID schemeAgencyID="9" schemeID="999">001002003</cbc:ID>  
                               </cac:StandardItemIdentification>             
                     </cac:Item>
                     <cac:Price>
                      <cbc:PriceAmount currencyID="COP">      1000000.00</cbc:PriceAmount>
                      <cbc:BaseQuantity unitCode="VI">            1.00</cbc:BaseQuantity>
                     </cac:Price>                     
                  </cac:InvoiceLine>
0 votos
por

Buen día, tuve el mismo problema, y en mi caso se estaba presentando porque dentro de <cac:TaxTotal> solo deben aparecer los tributos que son mayores a cero, en mi caso solo debe aparecer el iva, porque las facturas o tienen ica ni impuesto al consumo.

Así que condicioné a que solo se incluyan en el XML los tributos que son mayores a 0 y así se soluciono el problema.

por
Cordial saludo,

Tuve el mismo mensaje. Sin embargo, en mi caso los valores en el campo cbc:Percent estaban con un sólo decimal que era válido en la versión 1.7 del anexo técnico. Ejemplo, <cbc:Percent>19.0</cbc:Percent>. Ahora con la versión 1.8, se debe incluir 2 decimales. <cbc:Percent>19.00</cbc:Percent>
por
como configuras para que reciba 2 decimales?
0 votos
por
Ese problema se presenta cuando una factura NO tiene Iva y aparece el nodo de taxTotal en el xml, hay que asegurarse de que solo aparezca cuando hay impuestos

Preguntas relacionadas

...