BillGoldService


Click here for a complete list of operations.

CreateTexInvoice

הפקת חשבונית מס קבלה. סוג חשבונית 1: חשבונית מס , 2 חשבונית זיכוי , 3 קבלה מלקר, 4 קבלה זיכוי מלקר

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 /Interface/BillGoldService.asmx HTTP/1.1
Host: secure.cardcom.co.il
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "BillGoldService/CreateTexInvoice"

<?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>
    <CreateTexInvoice xmlns="BillGoldService">
      <TerminalNumber>int</TerminalNumber>
      <UserName>string</UserName>
      <InvoiceType>int</InvoiceType>
      <InvoiceHead>
        <CustName>string</CustName>
        <CustAddresLine1>string</CustAddresLine1>
        <CustAddresLine2>string</CustAddresLine2>
        <CustCity>string</CustCity>
        <CustLinePH>string</CustLinePH>
        <CustMobilePH>string</CustMobilePH>
        <CompID>string</CompID>
        <Language>string</Language>
        <Languge>string</Languge>
        <Comments>string</Comments>
        <CoinID>int</CoinID>
        <CoinIsoName>string</CoinIsoName>
        <Email>string</Email>
        <SendByEmail>boolean</SendByEmail>
        <ExtIsVatFree>boolean</ExtIsVatFree>
        <ManualInvoiceNumber>integer</ManualInvoiceNumber>
        <DepartmentId>integer</DepartmentId>
        <IsLoadInfoFromAccountID>string</IsLoadInfoFromAccountID>
        <IsAutoCreateUpdateAccount>string</IsAutoCreateUpdateAccount>
        <AccountForeignKey>string</AccountForeignKey>
        <SiteUniqueId>string</SiteUniqueId>
        <DeliveryName>string</DeliveryName>
        <InvDate>string</InvDate>
        <ValueDate>string</ValueDate>
        <AccountID>string</AccountID>
      </InvoiceHead>
      <InvoiceLines>
        <InvExtHeadLines>
          <Description>string</Description>
          <Quantity>decimal</Quantity>
          <IsPriceIncludeVAT>boolean</IsPriceIncludeVAT>
          <IsVatFree>string</IsVatFree>
          <Price>decimal</Price>
          <ProductID>string</ProductID>
          <TotalLineCost>string</TotalLineCost>
        </InvExtHeadLines>
        <InvExtHeadLines>
          <Description>string</Description>
          <Quantity>decimal</Quantity>
          <IsPriceIncludeVAT>boolean</IsPriceIncludeVAT>
          <IsVatFree>string</IsVatFree>
          <Price>decimal</Price>
          <ProductID>string</ProductID>
          <TotalLineCost>string</TotalLineCost>
        </InvExtHeadLines>
      </InvoiceLines>
      <Cash>decimal</Cash>
      <CustomeLine>
        <RciExtCustome>
          <TransactionID>int</TransactionID>
          <TranDate>dateTime</TranDate>
          <Description>string</Description>
          <asmacta>string</asmacta>
          <Sum>decimal</Sum>
        </RciExtCustome>
        <RciExtCustome>
          <TransactionID>int</TransactionID>
          <TranDate>dateTime</TranDate>
          <Description>string</Description>
          <asmacta>string</asmacta>
          <Sum>decimal</Sum>
        </RciExtCustome>
      </CustomeLine>
      <Chacks>
        <RciExtCheque>
          <ChequeNumber>string</ChequeNumber>
          <BankNumber>int</BankNumber>
          <SnifNumber>int</SnifNumber>
          <AccountNumber>string</AccountNumber>
          <DateCheque>dateTime</DateCheque>
          <Sum>decimal</Sum>
        </RciExtCheque>
        <RciExtCheque>
          <ChequeNumber>string</ChequeNumber>
          <BankNumber>int</BankNumber>
          <SnifNumber>int</SnifNumber>
          <AccountNumber>string</AccountNumber>
          <DateCheque>dateTime</DateCheque>
          <Sum>decimal</Sum>
        </RciExtCheque>
      </Chacks>
      <DealNumber>
        <RciExtDealNum>
          <DealNumber>long</DealNumber>
        </RciExtDealNum>
        <RciExtDealNum>
          <DealNumber>long</DealNumber>
        </RciExtDealNum>
      </DealNumber>
    </CreateTexInvoice>
  </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>
    <CreateTexInvoiceResponse xmlns="BillGoldService">
      <CreateTexInvoiceResult>
        <ResponseCode>unsignedInt</ResponseCode>
        <Description>string</Description>
        <InvoiceNumber>int</InvoiceNumber>
        <InvoiceType>int</InvoiceType>
        <AccountID>int</AccountID>
        <CardSaved>boolean</CardSaved>
      </CreateTexInvoiceResult>
    </CreateTexInvoiceResponse>
  </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 /Interface/BillGoldService.asmx HTTP/1.1
Host: secure.cardcom.co.il
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>
    <CreateTexInvoice xmlns="BillGoldService">
      <TerminalNumber>int</TerminalNumber>
      <UserName>string</UserName>
      <InvoiceType>int</InvoiceType>
      <InvoiceHead>
        <CustName>string</CustName>
        <CustAddresLine1>string</CustAddresLine1>
        <CustAddresLine2>string</CustAddresLine2>
        <CustCity>string</CustCity>
        <CustLinePH>string</CustLinePH>
        <CustMobilePH>string</CustMobilePH>
        <CompID>string</CompID>
        <Language>string</Language>
        <Languge>string</Languge>
        <Comments>string</Comments>
        <CoinID>int</CoinID>
        <CoinIsoName>string</CoinIsoName>
        <Email>string</Email>
        <SendByEmail>boolean</SendByEmail>
        <ExtIsVatFree>boolean</ExtIsVatFree>
        <ManualInvoiceNumber>integer</ManualInvoiceNumber>
        <DepartmentId>integer</DepartmentId>
        <IsLoadInfoFromAccountID>string</IsLoadInfoFromAccountID>
        <IsAutoCreateUpdateAccount>string</IsAutoCreateUpdateAccount>
        <AccountForeignKey>string</AccountForeignKey>
        <SiteUniqueId>string</SiteUniqueId>
        <DeliveryName>string</DeliveryName>
        <InvDate>string</InvDate>
        <ValueDate>string</ValueDate>
        <AccountID>string</AccountID>
      </InvoiceHead>
      <InvoiceLines>
        <InvExtHeadLines>
          <Description>string</Description>
          <Quantity>decimal</Quantity>
          <IsPriceIncludeVAT>boolean</IsPriceIncludeVAT>
          <IsVatFree>string</IsVatFree>
          <Price>decimal</Price>
          <ProductID>string</ProductID>
          <TotalLineCost>string</TotalLineCost>
        </InvExtHeadLines>
        <InvExtHeadLines>
          <Description>string</Description>
          <Quantity>decimal</Quantity>
          <IsPriceIncludeVAT>boolean</IsPriceIncludeVAT>
          <IsVatFree>string</IsVatFree>
          <Price>decimal</Price>
          <ProductID>string</ProductID>
          <TotalLineCost>string</TotalLineCost>
        </InvExtHeadLines>
      </InvoiceLines>
      <Cash>decimal</Cash>
      <CustomeLine>
        <RciExtCustome>
          <TransactionID>int</TransactionID>
          <TranDate>dateTime</TranDate>
          <Description>string</Description>
          <asmacta>string</asmacta>
          <Sum>decimal</Sum>
        </RciExtCustome>
        <RciExtCustome>
          <TransactionID>int</TransactionID>
          <TranDate>dateTime</TranDate>
          <Description>string</Description>
          <asmacta>string</asmacta>
          <Sum>decimal</Sum>
        </RciExtCustome>
      </CustomeLine>
      <Chacks>
        <RciExtCheque>
          <ChequeNumber>string</ChequeNumber>
          <BankNumber>int</BankNumber>
          <SnifNumber>int</SnifNumber>
          <AccountNumber>string</AccountNumber>
          <DateCheque>dateTime</DateCheque>
          <Sum>decimal</Sum>
        </RciExtCheque>
        <RciExtCheque>
          <ChequeNumber>string</ChequeNumber>
          <BankNumber>int</BankNumber>
          <SnifNumber>int</SnifNumber>
          <AccountNumber>string</AccountNumber>
          <DateCheque>dateTime</DateCheque>
          <Sum>decimal</Sum>
        </RciExtCheque>
      </Chacks>
      <DealNumber>
        <RciExtDealNum>
          <DealNumber>long</DealNumber>
        </RciExtDealNum>
        <RciExtDealNum>
          <DealNumber>long</DealNumber>
        </RciExtDealNum>
      </DealNumber>
    </CreateTexInvoice>
  </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>
    <CreateTexInvoiceResponse xmlns="BillGoldService">
      <CreateTexInvoiceResult>
        <ResponseCode>unsignedInt</ResponseCode>
        <Description>string</Description>
        <InvoiceNumber>int</InvoiceNumber>
        <InvoiceType>int</InvoiceType>
        <AccountID>int</AccountID>
        <CardSaved>boolean</CardSaved>
      </CreateTexInvoiceResult>
    </CreateTexInvoiceResponse>
  </soap12:Body>
</soap12:Envelope>