Professional Documents
Culture Documents
Clase 03 Fe - FQC
Clase 03 Fe - FQC
Clase 03 Fe - FQC
ELECTRONICA #3
DOCENTE: ING. FERNANDO QUIROZ
Proceso de generación y firmado XML
XML
XML ENVELOPE BASE 64 ZIP CDR(FIRMADO
SUNAT)
Proceso Boleta/ Nota de Crédito / Nota de
Debito Electrónica
XML
XML ENVELOPE BASE 64 ZIP CDR(FIRMADO
SUNAT)
Novedades: Forma de Pago
Crédito
Novedades: Forma de Pago
Contado:
<cac:PaymentTerms>
<cbc:ID>FormaPago</cbc:ID>
<cbc:PaymentMeansID>Contado</cbc:PaymentMeansID>
</cac:PaymentTerms>
Novedades: Forma de Pago
Crédito:
<cac:PaymentTerms>
<cbc:ID>FormaPago</cbc:ID>
<cbc:PaymentMeansID>Credito</cbc:PaymentMeansID>
<cbc:Amount currencyID="PEN">134.08</cbc:Amount>
</cac:PaymentTerms>
<cac:PaymentTerms>
<cbc:ID>FormaPago</cbc:ID>
<cbc:PaymentMeansID>Cuota001</cbc:PaymentMeansID>
<cbc:Amount currencyID="PEN">134.08</cbc:Amount>
<cbc:PaymentDueDate>2021-04-10</cbc:PaymentDueDate>
</cac:PaymentTerms>
Aplicación Web
Crear:
ApiFacturacion.php
boleta.php
nota_credito.php
Nota_debito.php
Factura al Crédito
credito:
<cac:PaymentTerms>
<cbc:ID>FormaPago</cbc:ID>
<cbc:PaymentMeansID>Credito</cbc:PaymentMeansID>
<cbc:Amount currencyID="PEN">500</cbc:Amount>
</cac:PaymentTerms>
<cac:PaymentTerms>
<cbc:ID>FormaPago</cbc:ID>
<cbc:PaymentMeansID>Cuota001</cbc:PaymentMeansID>
<cbc:Amount currencyID="PEN">200.00</cbc:Amount>
<cbc:PaymentDueDate>2021-04-10</cbc:PaymentDueDate>
</cac:PaymentTerms>
<cac:PaymentTerms>
<cbc:ID>FormaPago</cbc:ID>
<cbc:PaymentMeansID>Cuota002</cbc:PaymentMeansID>
<cbc:Amount currencyID="PEN">100.00</cbc:Amount>
<cbc:PaymentDueDate>2021-05-10</cbc:PaymentDueDate>
</cac:PaymentTerms>
<cac:PaymentTerms>
<cbc:ID>FormaPago</cbc:ID>
<cbc:PaymentMeansID>Cuota003</cbc:PaymentMeansID>
<cbc:Amount currencyID="PEN">200.00</cbc:Amount>
<cbc:PaymentDueDate>2021-06-10</cbc:PaymentDueDate>
</cac:PaymentTerms>