Gelen Efatura Onayla

POST /gelenEfaturaOnayla
application/soap+xml

Body

Responses

POST /gelenEfaturaOnayla
curl \
 -X POST https://api.bilsoft.com/v1_11/EFaturaApi/gelenEfaturaOnayla \
 -H "Content-Type: application/soap+xml"
Request examples
<?xml version="1.0" encoding="UTF-8"?>
<root>
  <Envelope>
    <Header>
      <Authentication>
        <Kullanici>string</Kullanici>
        <Sifre>string</Sifre>
        <ApiTur>string</ApiTur>
        <Spy>
          <Spy1>string</Spy1>
          <Spy2>string</Spy2>
        </Spy>
      </Authentication>
      <KullaniciBilgileri>
        <xsltEfatura>string</xsltEfatura>
        <xsltEarsiv>string</xsltEarsiv>
        <servisUrl>string</servisUrl>
        <kullanici>string</kullanici>
        <sifre>string</sifre>
        <GelenStokKaydet type="boolean">true</GelenStokKaydet>
        <vtBilgiler>
          <Server>string</Server>
          <Port>string</Port>
          <Database>string</Database>
          <VKullanici>string</VKullanici>
          <VSifre>string</VSifre>
          <WebServisMesaj>string</WebServisMesaj>
          <WebServisCevap>string</WebServisCevap>
        </vtBilgiler>
        <EFaturaSeriBaslik>string</EFaturaSeriBaslik>
        <EArsivSeriBaslik>string</EArsivSeriBaslik>
        <SeciliGBEtiketi>string</SeciliGBEtiketi>
        <entegrasyonTur>EFatura</entegrasyonTur>
        <logoSessionID>string</logoSessionID>
        <logo2FACode>string</logo2FACode>
        <gibMi type="boolean">true</gibMi>
        <FirmaVergiNo>string</FirmaVergiNo>
      </KullaniciBilgileri>
      <AutHeader>
        <Donem>string</Donem>
        <VergiNo>string</VergiNo>
        <VeritabaniAd>string</VeritabaniAd>
        <KullaniciAdi>string</KullaniciAdi>
        <Sifre>string</Sifre>
        <Sube>string</Sube>
        <IpAdresi>string</IpAdresi>
        <MacAdresi>string</MacAdresi>
        <DovizAktifMi>string</DovizAktifMi>
      </AutHeader>
    </Header>
    <Body>
      <gelenEfaturaOnayla>
        <efaturaNo>string</efaturaNo>
        <vtKaydet type="boolean">true</vtKaydet>
      </gelenEfaturaOnayla>
    </Body>
  </Envelope>
</root>
Response examples (200)
<?xml version="1.0" encoding="UTF-8"?>
<root>
  <Envelope>
    <Body>
      <gelenEfaturaOnaylaResponse>
        <gelenEfaturaOnaylaResult>
          <Tveri>
            <UBLExtensions>
              <UBLExtension type="array">
                <UBLExtension>string</UBLExtension>
              </UBLExtension>
            </UBLExtensions>
            <UBLVersionID>string</UBLVersionID>
            <CustomizationID>string</CustomizationID>
            <ProfileID>string</ProfileID>
            <ID>string</ID>
            <CopyIndicator>string</CopyIndicator>
            <UUID>string</UUID>
            <IssueDate>string</IssueDate>
            <IssueTime>string</IssueTime>
            <InvoiceTypeCode>string</InvoiceTypeCode>
            <Note type="array">
              <Note>string</Note>
            </Note>
            <DocumentCurrencyCode>string</DocumentCurrencyCode>
            <TaxCurrencyCode>string</TaxCurrencyCode>
            <PricingCurrencyCode>string</PricingCurrencyCode>
            <PaymentCurrencyCode>string</PaymentCurrencyCode>
            <PaymentAlternativeCurrencyCode>string</PaymentAlternativeCurrencyCode>
            <AccountingCost>string</AccountingCost>
            <LineCountNumeric>string</LineCountNumeric>
            <InvoicePeriod>
              <StartDate>string</StartDate>
              <StartTime>string</StartTime>
              <EndDate>string</EndDate>
              <EndTime>string</EndTime>
              <DurationMeasure>string</DurationMeasure>
              <Description>string</Description>
            </InvoicePeriod>
            <OrderReference>
              <ID>string</ID>
              <SalesOrderID>string</SalesOrderID>
              <IssueDate>string</IssueDate>
              <OrderTypeCode>string</OrderTypeCode>
              <DocumentReference>string</DocumentReference>
            </OrderReference>
            <BillingReference>
              <InvoiceDocumentReference>string</InvoiceDocumentReference>
              <SelfBilledInvoiceDocumentReference>string</SelfBilledInvoiceDocumentReference>
              <CreditNoteDocumentReference>string</CreditNoteDocumentReference>
              <SelfBilledCreditNoteDocumentReference>string</SelfBilledCreditNoteDocumentReference>
              <DebitNoteDocumentReference>string</DebitNoteDocumentReference>
              <ReminderDocumentReference>string</ReminderDocumentReference>
              <AdditionalDocumentReference>string</AdditionalDocumentReference>
              <BillingReferenceLine type="array">
                <BillingReferenceLine>string</BillingReferenceLine>
              </BillingReferenceLine>
            </BillingReference>
            <DespatchDocumentReference>
              <ID>string</ID>
              <IssueDate>string</IssueDate>
              <DocumentTypeCode>string</DocumentTypeCode>
              <DocumentType>string</DocumentType>
              <DocumentDescription type="array">
                <DocumentDescription>string</DocumentDescription>
              </DocumentDescription>
              <Attachment>string</Attachment>
              <ValidityPeriod>string</ValidityPeriod>
              <IssuerParty>string</IssuerParty>
            </DespatchDocumentReference>
            <ReceiptDocumentReference>
              <ID>string</ID>
              <IssueDate>string</IssueDate>
              <DocumentTypeCode>string</DocumentTypeCode>
              <DocumentType>string</DocumentType>
              <DocumentDescription type="array">
                <DocumentDescription>string</DocumentDescription>
              </DocumentDescription>
              <Attachment>string</Attachment>
              <ValidityPeriod>string</ValidityPeriod>
              <IssuerParty>string</IssuerParty>
            </ReceiptDocumentReference>
            <OriginatorDocumentReference>
              <ID>string</ID>
              <IssueDate>string</IssueDate>
              <DocumentTypeCode>string</DocumentTypeCode>
              <DocumentType>string</DocumentType>
              <DocumentDescription type="array">
                <DocumentDescription>string</DocumentDescription>
              </DocumentDescription>
              <Attachment>string</Attachment>
              <ValidityPeriod>string</ValidityPeriod>
              <IssuerParty>string</IssuerParty>
            </OriginatorDocumentReference>
            <ContractDocumentReference>
              <ID>string</ID>
              <IssueDate>string</IssueDate>
              <DocumentTypeCode>string</DocumentTypeCode>
              <DocumentType>string</DocumentType>
              <DocumentDescription type="array">
                <DocumentDescription>string</DocumentDescription>
              </DocumentDescription>
              <Attachment>string</Attachment>
              <ValidityPeriod>string</ValidityPeriod>
              <IssuerParty>string</IssuerParty>
            </ContractDocumentReference>
            <AdditionalDocumentReference>
              <ID>string</ID>
              <IssueDate>string</IssueDate>
              <DocumentTypeCode>string</DocumentTypeCode>
              <DocumentType>string</DocumentType>
              <DocumentDescription type="array">
                <DocumentDescription>string</DocumentDescription>
              </DocumentDescription>
              <Attachment>string</Attachment>
              <ValidityPeriod>string</ValidityPeriod>
              <IssuerParty>string</IssuerParty>
            </AdditionalDocumentReference>
            <Signature>
              <ID>string</ID>
              <SignatoryParty>string</SignatoryParty>
              <DigitalSignatureAttachment>string</DigitalSignatureAttachment>
            </Signature>
            <AccountingSupplierParty>
              <Party>string</Party>
              <DespatchContact>string</DespatchContact>
            </AccountingSupplierParty>
            <AccountingCustomerParty>
              <Party>string</Party>
              <DeliveryContact>string</DeliveryContact>
            </AccountingCustomerParty>
            <BuyerCustomerParty>
              <Party>string</Party>
              <DeliveryContact>string</DeliveryContact>
            </BuyerCustomerParty>
            <SellerSupplierParty>
              <Party>string</Party>
              <DespatchContact>string</DespatchContact>
            </SellerSupplierParty>
            <TaxRepresentativeParty>
              <WebsiteURI>string</WebsiteURI>
              <EndpointID>string</EndpointID>
              <IndustryClassificationCode>string</IndustryClassificationCode>
              <PartyIdentification type="array">
                <PartyIdentification>string</PartyIdentification>
              </PartyIdentification>
              <PartyName>string</PartyName>
              <PostalAddress>string</PostalAddress>
              <PhysicalLocation>string</PhysicalLocation>
              <PartyTaxScheme>string</PartyTaxScheme>
              <PartyLegalEntity type="array">
                <PartyLegalEntity>string</PartyLegalEntity>
              </PartyLegalEntity>
              <Contact>string</Contact>
              <Person>string</Person>
              <AgentParty>string</AgentParty>
            </TaxRepresentativeParty>
            <Delivery>
              <ID>string</ID>
              <Quantity>string</Quantity>
              <ActualDeliveryDate>string</ActualDeliveryDate>
              <ActualDeliveryTime>string</ActualDeliveryTime>
              <LatestDeliveryDate>string</LatestDeliveryDate>
              <LatestDeliveryTime>string</LatestDeliveryTime>
              <TrackingID>string</TrackingID>
              <DeliveryAddress>string</DeliveryAddress>
              <AlternativeDeliveryLocation>string</AlternativeDeliveryLocation>
              <EstimatedDeliveryPeriod>string</EstimatedDeliveryPeriod>
              <CarrierParty>string</CarrierParty>
              <DeliveryParty>string</DeliveryParty>
              <Despatch>string</Despatch>
              <DeliveryTerms type="array">
                <DeliveryTerm>string</DeliveryTerm>
              </DeliveryTerms>
              <Shipment>string</Shipment>
            </Delivery>
            <PaymentMeans>
              <PaymentMeansCode>string</PaymentMeansCode>
              <PaymentDueDate>string</PaymentDueDate>
              <PaymentChannelCode>string</PaymentChannelCode>
              <InstructionNote>string</InstructionNote>
              <PayerFinancialAccount>string</PayerFinancialAccount>
              <PayeeFinancialAccount>string</PayeeFinancialAccount>
            </PaymentMeans>
            <PaymentTerms>
              <Note>string</Note>
              <PenaltySurchargePercent>string</PenaltySurchargePercent>
              <Amount>string</Amount>
              <PenaltyAmount>string</PenaltyAmount>
              <PaymentDueDate>string</PaymentDueDate>
              <SettlementPeriod>string</SettlementPeriod>
            </PaymentTerms>
            <AllowanceCharge>
              <ChargeIndicator>string</ChargeIndicator>
              <AllowanceChargeReason>string</AllowanceChargeReason>
              <MultiplierFactorNumeric>string</MultiplierFactorNumeric>
              <SequenceNumeric>string</SequenceNumeric>
              <Amount>string</Amount>
              <BaseAmount>string</BaseAmount>
              <PerUnitAmount>string</PerUnitAmount>
            </AllowanceCharge>
            <TaxExchangeRate>
              <SourceCurrencyCode>string</SourceCurrencyCode>
              <TargetCurrencyCode>string</TargetCurrencyCode>
              <CalculationRate>string</CalculationRate>
              <Date>string</Date>
            </TaxExchangeRate>
            <PricingExchangeRate>
              <SourceCurrencyCode>string</SourceCurrencyCode>
              <TargetCurrencyCode>string</TargetCurrencyCode>
              <CalculationRate>string</CalculationRate>
              <Date>string</Date>
            </PricingExchangeRate>
            <PaymentExchangeRate>
              <SourceCurrencyCode>string</SourceCurrencyCode>
              <TargetCurrencyCode>string</TargetCurrencyCode>
              <CalculationRate>string</CalculationRate>
              <Date>string</Date>
            </PaymentExchangeRate>
            <PaymentAlternativeExchangeRate>
              <SourceCurrencyCode>string</SourceCurrencyCode>
              <TargetCurrencyCode>string</TargetCurrencyCode>
              <CalculationRate>string</CalculationRate>
              <Date>string</Date>
            </PaymentAlternativeExchangeRate>
            <TaxTotal>
              <TaxAmount>string</TaxAmount>
              <TaxSubtotal type="array">
                <TaxSubtotal>string</TaxSubtotal>
              </TaxSubtotal>
            </TaxTotal>
            <WithholdingTaxTotal>
              <TaxAmount>string</TaxAmount>
              <TaxSubtotal type="array">
                <TaxSubtotal>string</TaxSubtotal>
              </TaxSubtotal>
            </WithholdingTaxTotal>
            <LegalMonetaryTotal>
              <LineExtensionAmount>string</LineExtensionAmount>
              <TaxExclusiveAmount>string</TaxExclusiveAmount>
              <TaxInclusiveAmount>string</TaxInclusiveAmount>
              <AllowanceTotalAmount>string</AllowanceTotalAmount>
              <ChargeTotalAmount>string</ChargeTotalAmount>
              <PayableRoundingAmount>string</PayableRoundingAmount>
              <PayableAmount>string</PayableAmount>
            </LegalMonetaryTotal>
            <InvoiceLine>
              <ID>string</ID>
              <Note type="array">
                <Note>string</Note>
              </Note>
              <InvoicedQuantity>string</InvoicedQuantity>
              <LineExtensionAmount>string</LineExtensionAmount>
              <OrderLineReference type="array">
                <OrderLineReference>string</OrderLineReference>
              </OrderLineReference>
              <DespatchLineReference type="array">
                <DespatchLineReference>string</DespatchLineReference>
              </DespatchLineReference>
              <ReceiptLineReference type="array">
                <ReceiptLineReference>string</ReceiptLineReference>
              </ReceiptLineReference>
              <Delivery type="array">
                <Delivery>string</Delivery>
              </Delivery>
              <AllowanceCharge type="array">
                <AllowanceCharge>string</AllowanceCharge>
              </AllowanceCharge>
              <TaxTotal>string</TaxTotal>
              <WithholdingTaxTotal type="array">
                <WithholdingTaxTotal>string</WithholdingTaxTotal>
              </WithholdingTaxTotal>
              <Item>string</Item>
              <Price>string</Price>
              <SubInvoiceLine type="array">
                <SubInvoiceLine>string</SubInvoiceLine>
              </SubInvoiceLine>
            </InvoiceLine>
          </Tveri>
        </gelenEfaturaOnaylaResult>
      </gelenEfaturaOnaylaResponse>
    </Body>
  </Envelope>
</root>
Response examples (400)
<?xml version="1.0" encoding="UTF-8"?>
<root>
  <faultstring>string</faultstring>
</root>
Response examples (401)
<?xml version="1.0" encoding="UTF-8"?>
<root>
  <faultstring>string</faultstring>
</root>
Response examples (403)
<?xml version="1.0" encoding="UTF-8"?>
<root>
  <faultstring>string</faultstring>
</root>
Response examples (404)
<?xml version="1.0" encoding="UTF-8"?>
<root>
  <faultstring>string</faultstring>
</root>