Core
Click here for a complete list of operations.
GenerateManualInvoice
Método para generar una factura manual
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /Core.asmx HTTP/1.1
Host: v2.dsconsulting.mx
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/GenerateManualInvoice"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<GenerateManualInvoice xmlns="http://tempuri.org/">
<Entrada>
<Version>string</Version>
<SusId>int</SusId>
<SucId>int</SucId>
<TypeInvoice>GlobalDate or GlobalCreditNote or Globlal or Consumer or ConsumerMultiticket or GlobalAutoDate or GlobalAutoAcumulate or OneToOne or Open</TypeInvoice>
<InvoiceId>long</InvoiceId>
<Ticket>
<Tck_Id>int</Tck_Id>
<TicketNumber>string</TicketNumber>
<TicketDate>dateTime</TicketDate>
<Status>O or P or C or F or N or P_T or B or R or M or _0 or MT or O_T or E</Status>
<SubTotal>decimal</SubTotal>
<Discount>decimal</Discount>
<TotalTaxes>decimal</TotalTaxes>
<Rate>decimal</Rate>
<Total>decimal</Total>
<PaymentMethod>string</PaymentMethod>
<PaymentWay>string</PaymentWay>
<IdDocumentType>int</IdDocumentType>
<Currency>string</Currency>
<ExchangeRate>decimal</ExchangeRate>
<Taxes>
<Tax xsi:nil="true" />
<Tax xsi:nil="true" />
</Taxes>
<Items>
<Item xsi:nil="true" />
<Item xsi:nil="true" />
</Items>
<TicketFile>
<Content>base64Binary</Content>
<Extension>string</Extension>
<FileName>string</FileName>
</TicketFile>
<Version>string</Version>
<IdentificationNumber>string</IdentificationNumber>
<IsComplete>boolean</IsComplete>
<CFDISerie>string</CFDISerie>
<CFDINumber>int</CFDINumber>
<ErrorMessage>string</ErrorMessage>
<IsCancelation>boolean</IsCancelation>
<GlobalIdentifier>string</GlobalIdentifier>
<TotalCharges>decimal</TotalCharges>
<DetailsComplement>string</DetailsComplement>
<GenerateInvoice>boolean</GenerateInvoice>
<TaxId>string</TaxId>
<Serie>string</Serie>
<Folio>string</Folio>
<BlockMessage>string</BlockMessage>
<Propina>decimal</Propina>
<Export>string</Export>
<Customs>
<Custom xsi:nil="true" />
<Custom xsi:nil="true" />
</Customs>
<RelatedTicket>
<TcksRel>string</TcksRel>
<SucRel>string</SucRel>
<DateRel>dateTime</DateRel>
</RelatedTicket>
<LocalTax>
<Tax xsi:nil="true" />
<Tax xsi:nil="true" />
</LocalTax>
<TicketCustoms>
<Custom xsi:nil="true" />
<Custom xsi:nil="true" />
</TicketCustoms>
<Issuer>
<PlaceIssue xsi:nil="true" />
</Issuer>
<Receiver>
<Email>string</Email>
<CFDIUsage>string</CFDIUsage>
<TaxIdentityNumber>string</TaxIdentityNumber>
</Receiver>
</Ticket>
<Receiver>
<Email>string</Email>
<CFDIUsage>string</CFDIUsage>
<TaxIdentityNumber>string</TaxIdentityNumber>
</Receiver>
<OtherCharges>
<OtherCharges>
<Code>string</Code>
<Amount>decimal</Amount>
</OtherCharges>
<OtherCharges>
<Code>string</Code>
<Amount>decimal</Amount>
</OtherCharges>
</OtherCharges>
<Departure>string</Departure>
<Taxs>string</Taxs>
<RecalculateAmounts>boolean</RecalculateAmounts>
<CustomFields>
<string>string</string>
<string>string</string>
</CustomFields>
<ConfirmationCode>string</ConfirmationCode>
<CFDIRelationShip>
<CFDIRelationList>
<TypeRelationship>string</TypeRelationship>
<UUIDs xsi:nil="true" />
</CFDIRelationList>
<CFDIRelationList>
<TypeRelationship>string</TypeRelationship>
<UUIDs xsi:nil="true" />
</CFDIRelationList>
</CFDIRelationShip>
<AirLine>
<Tua>decimal</Tua>
<TotalCharges>decimal</TotalCharges>
<Charges>
<AirlineCharge xsi:nil="true" />
<AirlineCharge xsi:nil="true" />
</Charges>
</AirLine>
<Donator>
<AuthorizationNumber>int</AuthorizationNumber>
<OperationType>string</OperationType>
<Legend>string</Legend>
</Donator>
<Ine>
<ProcedureType>string</ProcedureType>
<CommitteeType>string</CommitteeType>
<AccountingId>string</AccountingId>
<Detail>
<IneDetail xsi:nil="true" />
<IneDetail xsi:nil="true" />
</Detail>
</Ine>
<ReceiptPayment>
<ReceiptPaymentDetail>
<ReceiptPaymentDetail xsi:nil="true" />
<ReceiptPaymentDetail xsi:nil="true" />
</ReceiptPaymentDetail>
<IdTransaction>int</IdTransaction>
<Version>string</Version>
<TaxAmountTotal>
<AmountPayment>decimal</AmountPayment>
<WithHeldAmountIVA>decimal</WithHeldAmountIVA>
<WithHeldAmountISR>decimal</WithHeldAmountISR>
<WithHeldAmountIEPS>decimal</WithHeldAmountIEPS>
<BaseTransferredTotalIVA16>decimal</BaseTransferredTotalIVA16>
<TaxTransferredTotalIVA16>decimal</TaxTransferredTotalIVA16>
<BaseTransferredTotalIVA8>decimal</BaseTransferredTotalIVA8>
<TaxTransferredTotalIVA8>decimal</TaxTransferredTotalIVA8>
<BaseTransferredTotalIVA0>decimal</BaseTransferredTotalIVA0>
<TaxTransferredTotalIVA0>decimal</TaxTransferredTotalIVA0>
<BaseTransferredTotalExempt>decimal</BaseTransferredTotalExempt>
</TaxAmountTotal>
</ReceiptPayment>
<SerieParaFolio>string</SerieParaFolio>
<Customs>
<Custom>
<Location>int</Location>
<Label>string</Label>
<Value>string</Value>
</Custom>
<Custom>
<Location>int</Location>
<Label>string</Label>
<Value>string</Value>
</Custom>
</Customs>
<Export>string</Export>
<ObjInvoiceDefault>string</ObjInvoiceDefault>
<GlobalInformation>
<Period>string</Period>
<Month>string</Month>
<Year>string</Year>
</GlobalInformation>
<LocalTaxes>
<Tax>
<Type>string</Type>
<Rate>decimal</Rate>
<Amount>decimal</Amount>
<TaxType>Transferred or Retention</TaxType>
<TaxBase>decimal</TaxBase>
</Tax>
<Tax>
<Type>string</Type>
<Rate>decimal</Rate>
<Amount>decimal</Amount>
<TaxType>Transferred or Retention</TaxType>
<TaxBase>decimal</TaxBase>
</Tax>
</LocalTaxes>
</Entrada>
</GenerateManualInvoice>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<GenerateManualInvoiceResponse xmlns="http://tempuri.org/">
<GenerateManualInvoiceResult>string</GenerateManualInvoiceResult>
</GenerateManualInvoiceResponse>
</soap:Body>
</soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /Core.asmx HTTP/1.1
Host: v2.dsconsulting.mx
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<GenerateManualInvoice xmlns="http://tempuri.org/">
<Entrada>
<Version>string</Version>
<SusId>int</SusId>
<SucId>int</SucId>
<TypeInvoice>GlobalDate or GlobalCreditNote or Globlal or Consumer or ConsumerMultiticket or GlobalAutoDate or GlobalAutoAcumulate or OneToOne or Open</TypeInvoice>
<InvoiceId>long</InvoiceId>
<Ticket>
<Tck_Id>int</Tck_Id>
<TicketNumber>string</TicketNumber>
<TicketDate>dateTime</TicketDate>
<Status>O or P or C or F or N or P_T or B or R or M or _0 or MT or O_T or E</Status>
<SubTotal>decimal</SubTotal>
<Discount>decimal</Discount>
<TotalTaxes>decimal</TotalTaxes>
<Rate>decimal</Rate>
<Total>decimal</Total>
<PaymentMethod>string</PaymentMethod>
<PaymentWay>string</PaymentWay>
<IdDocumentType>int</IdDocumentType>
<Currency>string</Currency>
<ExchangeRate>decimal</ExchangeRate>
<Taxes>
<Tax xsi:nil="true" />
<Tax xsi:nil="true" />
</Taxes>
<Items>
<Item xsi:nil="true" />
<Item xsi:nil="true" />
</Items>
<TicketFile>
<Content>base64Binary</Content>
<Extension>string</Extension>
<FileName>string</FileName>
</TicketFile>
<Version>string</Version>
<IdentificationNumber>string</IdentificationNumber>
<IsComplete>boolean</IsComplete>
<CFDISerie>string</CFDISerie>
<CFDINumber>int</CFDINumber>
<ErrorMessage>string</ErrorMessage>
<IsCancelation>boolean</IsCancelation>
<GlobalIdentifier>string</GlobalIdentifier>
<TotalCharges>decimal</TotalCharges>
<DetailsComplement>string</DetailsComplement>
<GenerateInvoice>boolean</GenerateInvoice>
<TaxId>string</TaxId>
<Serie>string</Serie>
<Folio>string</Folio>
<BlockMessage>string</BlockMessage>
<Propina>decimal</Propina>
<Export>string</Export>
<Customs>
<Custom xsi:nil="true" />
<Custom xsi:nil="true" />
</Customs>
<RelatedTicket>
<TcksRel>string</TcksRel>
<SucRel>string</SucRel>
<DateRel>dateTime</DateRel>
</RelatedTicket>
<LocalTax>
<Tax xsi:nil="true" />
<Tax xsi:nil="true" />
</LocalTax>
<TicketCustoms>
<Custom xsi:nil="true" />
<Custom xsi:nil="true" />
</TicketCustoms>
<Issuer>
<PlaceIssue xsi:nil="true" />
</Issuer>
<Receiver>
<Email>string</Email>
<CFDIUsage>string</CFDIUsage>
<TaxIdentityNumber>string</TaxIdentityNumber>
</Receiver>
</Ticket>
<Receiver>
<Email>string</Email>
<CFDIUsage>string</CFDIUsage>
<TaxIdentityNumber>string</TaxIdentityNumber>
</Receiver>
<OtherCharges>
<OtherCharges>
<Code>string</Code>
<Amount>decimal</Amount>
</OtherCharges>
<OtherCharges>
<Code>string</Code>
<Amount>decimal</Amount>
</OtherCharges>
</OtherCharges>
<Departure>string</Departure>
<Taxs>string</Taxs>
<RecalculateAmounts>boolean</RecalculateAmounts>
<CustomFields>
<string>string</string>
<string>string</string>
</CustomFields>
<ConfirmationCode>string</ConfirmationCode>
<CFDIRelationShip>
<CFDIRelationList>
<TypeRelationship>string</TypeRelationship>
<UUIDs xsi:nil="true" />
</CFDIRelationList>
<CFDIRelationList>
<TypeRelationship>string</TypeRelationship>
<UUIDs xsi:nil="true" />
</CFDIRelationList>
</CFDIRelationShip>
<AirLine>
<Tua>decimal</Tua>
<TotalCharges>decimal</TotalCharges>
<Charges>
<AirlineCharge xsi:nil="true" />
<AirlineCharge xsi:nil="true" />
</Charges>
</AirLine>
<Donator>
<AuthorizationNumber>int</AuthorizationNumber>
<OperationType>string</OperationType>
<Legend>string</Legend>
</Donator>
<Ine>
<ProcedureType>string</ProcedureType>
<CommitteeType>string</CommitteeType>
<AccountingId>string</AccountingId>
<Detail>
<IneDetail xsi:nil="true" />
<IneDetail xsi:nil="true" />
</Detail>
</Ine>
<ReceiptPayment>
<ReceiptPaymentDetail>
<ReceiptPaymentDetail xsi:nil="true" />
<ReceiptPaymentDetail xsi:nil="true" />
</ReceiptPaymentDetail>
<IdTransaction>int</IdTransaction>
<Version>string</Version>
<TaxAmountTotal>
<AmountPayment>decimal</AmountPayment>
<WithHeldAmountIVA>decimal</WithHeldAmountIVA>
<WithHeldAmountISR>decimal</WithHeldAmountISR>
<WithHeldAmountIEPS>decimal</WithHeldAmountIEPS>
<BaseTransferredTotalIVA16>decimal</BaseTransferredTotalIVA16>
<TaxTransferredTotalIVA16>decimal</TaxTransferredTotalIVA16>
<BaseTransferredTotalIVA8>decimal</BaseTransferredTotalIVA8>
<TaxTransferredTotalIVA8>decimal</TaxTransferredTotalIVA8>
<BaseTransferredTotalIVA0>decimal</BaseTransferredTotalIVA0>
<TaxTransferredTotalIVA0>decimal</TaxTransferredTotalIVA0>
<BaseTransferredTotalExempt>decimal</BaseTransferredTotalExempt>
</TaxAmountTotal>
</ReceiptPayment>
<SerieParaFolio>string</SerieParaFolio>
<Customs>
<Custom>
<Location>int</Location>
<Label>string</Label>
<Value>string</Value>
</Custom>
<Custom>
<Location>int</Location>
<Label>string</Label>
<Value>string</Value>
</Custom>
</Customs>
<Export>string</Export>
<ObjInvoiceDefault>string</ObjInvoiceDefault>
<GlobalInformation>
<Period>string</Period>
<Month>string</Month>
<Year>string</Year>
</GlobalInformation>
<LocalTaxes>
<Tax>
<Type>string</Type>
<Rate>decimal</Rate>
<Amount>decimal</Amount>
<TaxType>Transferred or Retention</TaxType>
<TaxBase>decimal</TaxBase>
</Tax>
<Tax>
<Type>string</Type>
<Rate>decimal</Rate>
<Amount>decimal</Amount>
<TaxType>Transferred or Retention</TaxType>
<TaxBase>decimal</TaxBase>
</Tax>
</LocalTaxes>
</Entrada>
</GenerateManualInvoice>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<GenerateManualInvoiceResponse xmlns="http://tempuri.org/">
<GenerateManualInvoiceResult>string</GenerateManualInvoiceResult>
</GenerateManualInvoiceResponse>
</soap12:Body>
</soap12:Envelope>