GET api/InvoiceInfoSAP?Invoicenumber={Invoicenumber}&Invoicedate={Invoicedate}&SupplierAccnumber={SupplierAccnumber}

GET api/InvoiceInfoSAP?Invoicenumber={Invoicenumber}&Invoicedate={Invoicedate}&SupplierAccnumber={SupplierAccnumber}

returns Invoice Info for given InvoiceNumber, InvoiceDate and Supplier Accounting Number.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Invoicenumber

the Number of the Invoice

string

Required

Invoicedate

Date of Invoice in Format yyyy.MM.dd

string

Required

SupplierAccnumber

Supplier Accounting Number

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of InvoiceInfoSAP
NameDescriptionTypeAdditional information
HKONT

Sachkonto

string

None.

SHKZG

Buchungsschlüssel --> Rechnung: Soll, Gutschrift: Haben

string

None.

WRBTR

Betrag, Netto (ohne Steuer)

decimal number

None.

MWSKZ

Steuerkennzeichen

string

None.

SGTXT

Buchungstext

string

None.

KOSTL

Kostenstelle

string

None.

AUFNR

Auftrag

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "HKONT": "sample string 1",
    "SHKZG": "sample string 2",
    "WRBTR": 3.0,
    "MWSKZ": "sample string 4",
    "SGTXT": "sample string 5",
    "KOSTL": "sample string 6",
    "AUFNR": "sample string 7"
  },
  {
    "HKONT": "sample string 1",
    "SHKZG": "sample string 2",
    "WRBTR": 3.0,
    "MWSKZ": "sample string 4",
    "SGTXT": "sample string 5",
    "KOSTL": "sample string 6",
    "AUFNR": "sample string 7"
  }
]

application/xml, text/xml

Sample:
<ArrayOfInvoiceInfoSAP xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KOSTIFC">
  <InvoiceInfoSAP>
    <AUFNR>sample string 7</AUFNR>
    <HKONT>sample string 1</HKONT>
    <KOSTL>sample string 6</KOSTL>
    <MWSKZ>sample string 4</MWSKZ>
    <SGTXT>sample string 5</SGTXT>
    <SHKZG>sample string 2</SHKZG>
    <WRBTR>3</WRBTR>
  </InvoiceInfoSAP>
  <InvoiceInfoSAP>
    <AUFNR>sample string 7</AUFNR>
    <HKONT>sample string 1</HKONT>
    <KOSTL>sample string 6</KOSTL>
    <MWSKZ>sample string 4</MWSKZ>
    <SGTXT>sample string 5</SGTXT>
    <SHKZG>sample string 2</SHKZG>
    <WRBTR>3</WRBTR>
  </InvoiceInfoSAP>
</ArrayOfInvoiceInfoSAP>