Club Delphi  
    Paypal   FTP   CCD     Buscar   Trucos   Trabajo   Foros

Retroceder   Foros Club Delphi > Principal > Internet
Registrarse FAQ Miembros Calendario Guía de estilo Buscar Temas de Hoy Marcar Foros Como Leídos

Colaboración Paypal con ClubDelphi

 
 
Herramientas Buscar en Tema Desplegado
  #11  
Antiguo 24-10-2024
Becario127 Becario127 is offline
Miembro
 
Registrado: oct 2024
Posts: 26
Poder: 0
Becario127 Va por buen camino
Hola buenas

Tengo este esquema de XML

Código:
<?xml version='1.0' encoding='utf-8'?>
<soapenv:Envelope xmlns:soapenv="schemas.xmlsoap.org/soap/envelope/" xmlns:fac="facturae.gob.es/formato/Versiones/Facturaev3_2_2.xml">
    <soapenv:Body>
        <fac:Facturae>
            <FileHeader>
                <SchemaVersion></SchemaVersion>
                <Modality></Modality>
                <InvoiceIssuerType></InvoiceIssuerType>
                <Batch>
                    <BatchIdentifier></BatchIdentifier>
                    <InvoicesCount></InvoicesCount>
                    <TotalInvoicesAmount>
                        <TotalAmount></TotalAmount>
                    </TotalInvoicesAmount>
                    <TotalOutstandingAmount>
                        <TotalAmount></TotalAmount>
                    </TotalOutstandingAmount>
                    <TotalExecutableAmount>
                        <TotalAmount></TotalAmount>
                    </TotalExecutableAmount>
                    <InvoiceCurrencyCode></InvoiceCurrencyCode>
                </Batch>
            </FileHeader>
            <Parties>
                <SellerParty>
                    <TaxIdentification>
                        <PersonTypeCode></PersonTypeCode>
                        <ResidenceTypeCode></ResidenceTypeCode>
                        <TaxIdentificationNumber></TaxIdentificationNumber>
                    </TaxIdentification>
                    <LegalEntity>
                        <CorporateName></CorporateName>
                        <TradeName></TradeName>
                        <AddressInSpain>
                            <Address></Address>
                            <PostCode></PostCode>
                            <Town></Town>
                            <Province></Province>
                            <CountryCode></CountryCode>
                        </AddressInSpain>
                        <ContactDetails>
                            <ElectronicMail></ElectronicMail>
                        </ContactDetails>
                    </LegalEntity>
                </SellerParty>
                <BuyerParty>
                    <TaxIdentification>
                        <PersonTypeCode></PersonTypeCode>
                        <ResidenceTypeCode></ResidenceTypeCode>
                        <TaxIdentificationNumber></TaxIdentificationNumber>
                    </TaxIdentification>
                    <LegalEntity>
                        <CorporateName></CorporateName>
                        <TradeName></TradeName>
                        <AddressInSpain>
                            <Address></Address>
                            <PostCode></PostCode>
                            <Town></Town>
                            <Province></Province>
                            <CountryCode></CountryCode>
                        </AddressInSpain>
                        <ContactDetails>
                            <Telephone></Telephone>
                            <ElectronicMail></ElectronicMail>
                        </ContactDetails>
                    </LegalEntity>
                </BuyerParty>
            </Parties>
            <Invoices>
                <Invoice>
                    <InvoiceHeader>
                        <InvoiceNumber></InvoiceNumber>
                        <InvoiceDocumentType></InvoiceDocumentType>
                        <InvoiceClass></InvoiceClass>
                    </InvoiceHeader>
                    <InvoiceIssueData>
                        <IssueDate></IssueDate>
                        <InvoiceCurrencyCode></InvoiceCurrencyCode>
                        <TaxCurrencyCode></TaxCurrencyCode>
                        <LanguageName></LanguageName>
                    </InvoiceIssueData>
                    <TaxesOutputs>
                        <Tax>
                            <TaxTypeCode></TaxTypeCode>
                            <TaxRate></TaxRate>
                            <TaxableBase>
                                <TotalAmount></TotalAmount>
                            </TaxableBase>
                            <TaxAmount>
                                <TotalAmount></TotalAmount>
                            </TaxAmount>
                        </Tax>
                    </TaxesOutputs>
                    <InvoiceTotals>
                        <TotalGrossAmount></TotalGrossAmount>
                        <TotalGrossAmountBeforeTaxes></TotalGrossAmountBeforeTaxes>
                        <TotalTaxOutputs></TotalTaxOutputs>
                        <TotalTaxesWithheld></TotalTaxesWithheld>
                        <InvoiceTotal></InvoiceTotal>
                        <TotalOutstandingAmount></TotalOutstandingAmount>
                        <TotalExecutableAmount></TotalExecutableAmount>
                    </InvoiceTotals>
                    <Items>
                        <InvoiceLine>
                            <ItemDescription></ItemDescription>
                            <Quantity></Quantity>
                            <UnitOfMeasure></UnitOfMeasure>
                            <UnitPriceWithoutTax></UnitPriceWithoutTax>
                            <TotalCost></TotalCost>
                            <GrossAmount></GrossAmount>
                            <TaxesOutputs>
                                <Tax>
                                    <TaxTypeCode></TaxTypeCode>
                                    <TaxRate></TaxRate>
                                    <TaxableBase>
                                        <TotalAmount></TotalAmount>
                                    </TaxableBase>
                                    <TaxAmount>
                                        <TotalAmount></TotalAmount>
                                    </TaxAmount>
                                </Tax>
                            </TaxesOutputs>
                        </InvoiceLine>
                    </Items>
                    <PaymentDetails>
                        <Installment>
                            <InstallmentDueDate></InstallmentDueDate>
                            <InstallmentAmount></InstallmentAmount>
                            <PaymentMeans></PaymentMeans>
                            <AccountToBeCredited>
                                <IBAN></IBAN>
                            </AccountToBeCredited>
                        </Installment>
                    </PaymentDetails>
                </Invoice>
            </Invoices>
        </fac:Facturae>
    </soapenv:Body>
</soapenv:Envelope>
Preguntaba por si asi estaria bien para hacer un envio a verifactuSOAP o faltaria añadir algo mas como por ejemplo esto

Código:
<?xml version="1.0"?>
    <NS1:RegFactuSistemaFacturacion>
      <RegFactuSistemaFacturacion SOAP-ENC:id="1" xsi:type="NS2:RegFactuSistemaFacturacion">
        <Cabecera SOAP-ENC:id="2" xsi:type="NS3:Cabecera">
          <ObligadoEmision SOAP-ENC:id="3" xsi:type="NS3:PersonaFisicaJuridicaESType">
            <NombreRazon xsi:type="xsd:string">MI EMPRESA</NombreRazon>
            <NIF xsi:type="xsd:string">NIF DE MI EMPRESA</NIF>
          </ObligadoEmision>
        </Cabecera>
      </RegFactuSistemaFacturacion>
    </NS1:RegFactuSistemaFacturacion>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Y si es esto entonces como se implementaria

Muchas gracias.
 


Herramientas Buscar en Tema
Buscar en Tema:

Búsqueda Avanzada
Desplegado

Normas de Publicación
no Puedes crear nuevos temas
no Puedes responder a temas
no Puedes adjuntar archivos
no Puedes editar tus mensajes

El código vB está habilitado
Las caritas están habilitado
Código [IMG] está habilitado
Código HTML está deshabilitado
Saltar a Foro

Temas Similares
Tema Autor Foro Respuestas Último mensaje
Hijo de Informáticos gluglu Humor 3 13-03-2007 11:05:35
Adictos informaticos ... Trigger Humor 2 11-10-2004 12:18:32
Nosotros los Informáticos Trigger Humor 1 10-10-2004 14:58:09
Patrón de los Informáticos. obiwuan Varios 20 10-09-2003 14:44:54
Chistes Informaticos jhonny Humor 2 11-08-2003 21:59:09


La franja horaria es GMT +2. Ahora son las 07:02:36.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Traducción al castellano por el equipo de moderadores del Club Delphi
Copyright 1996-2007 Club Delphi