GET api/IncomingInvoice/GetIncomingInvoice/{year}/{bookID}/{invoiceID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
year

integer

Required

bookID

string

Required

invoiceID

integer

Required

Body Parameters

None.

Response Information

Resource Description

IncomingInvoice
NameDescriptionTypeAdditional information
IncomingInvoiceHeader

IncomingInvoiceHeader

None.

JournalEntry

IncomingInvoiceJournalEntry

None.

InstalmentLines

IncomingInvoiceInstalmentLines

None.

Response Formats

application/xml, text/xml

Sample:
<IncomingInvoice xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <IncomingInvoiceHeader>
    <BookID>sample string 1</BookID>
    <Year>2</Year>
    <InvoiceID>1</InvoiceID>
    <VendorInvoiceNumber>sample string 3</VendorInvoiceNumber>
    <SupplierID>sample string 4</SupplierID>
    <VATIdentificationNumber>sample string 5</VATIdentificationNumber>
    <BankAccountName>sample string 6</BankAccountName>
    <BankCustomerID>sample string 7</BankCustomerID>
    <DocumentReceivedDate>2024-11-21T14:29:02.1894346+01:00</DocumentReceivedDate>
    <InvoiceDate>2024-11-21T14:29:02.1894346+01:00</InvoiceDate>
    <DeliveryDate>2024-11-21T14:29:02.1894346+01:00</DeliveryDate>
    <DueDate>2024-11-21T14:29:02.1894346+01:00</DueDate>
    <InvoiceAmountOriginalCurrency>1</InvoiceAmountOriginalCurrency>
    <Currency>sample string 8</Currency>
    <InvoiceAmountDomesticCurrency>1</InvoiceAmountDomesticCurrency>
    <TypeOfPaymentReference>sample string 9</TypeOfPaymentReference>
    <ModelOfControl>sample string 10</ModelOfControl>
    <PaymentReference>sample string 11</PaymentReference>
    <PaymentCodeId>sample string 12</PaymentCodeId>
    <Analytics>
      <CostCenterID xmlns="iC_Common.xsd">sample string 1</CostCenterID>
      <CostDriverID xmlns="iC_Common.xsd">sample string 2</CostDriverID>
      <ClerkID xmlns="iC_Common.xsd">sample string 3</ClerkID>
      <WorkOrderID xmlns="iC_Common.xsd">sample string 4</WorkOrderID>
      <Analytic_AN1_ID xmlns="iC_Common.xsd">sample string 5</Analytic_AN1_ID>
      <Analytic_AN2_ID xmlns="iC_Common.xsd">sample string 6</Analytic_AN2_ID>
      <Analytic_AN3_ID xmlns="iC_Common.xsd">sample string 7</Analytic_AN3_ID>
    </Analytics>
    <InvoiceNote>sample string 13</InvoiceNote>
    <UJPEinvoiceID>sample string 14</UJPEinvoiceID>
    <InvoiceAttachment1ID>sample string 15</InvoiceAttachment1ID>
    <InvoiceAttachment2ID>sample string 16</InvoiceAttachment2ID>
    <FolderID>sample string 17</FolderID>
    <NetDueDate>2024-11-21T14:29:02.1894346+01:00</NetDueDate>
    <DiscountPercentage>1</DiscountPercentage>
    <Document>sample string 18</Document>
    <ExchangeRateDate>2024-11-21T14:29:02.1894346+01:00</ExchangeRateDate>
    <JoinedPostings>true</JoinedPostings>
    <ContractID>1</ContractID>
    <ContractType>sample string 19</ContractType>
    <VATAccountingUponPaidRealization>true</VATAccountingUponPaidRealization>
    <Source>sample string 20</Source>
  </IncomingInvoiceHeader>
  <JournalEntry>
    <JournalEntryDescription>sample string 1</JournalEntryDescription>
    <PostingGroupID>sample string 2</PostingGroupID>
    <JournalEntryLines>
      <JournalEntryLine>
        <JournalLineID>1</JournalLineID>
        <AccountID>sample string 1</AccountID>
        <SupplierID>sample string 2</SupplierID>
        <Analytics>
          <CostCenterID xmlns="iC_Common.xsd">sample string 1</CostCenterID>
          <CostDriverID xmlns="iC_Common.xsd">sample string 2</CostDriverID>
          <ClerkID xmlns="iC_Common.xsd">sample string 3</ClerkID>
          <WorkOrderID xmlns="iC_Common.xsd">sample string 4</WorkOrderID>
          <Analytic_AN1_ID xmlns="iC_Common.xsd">sample string 5</Analytic_AN1_ID>
          <Analytic_AN2_ID xmlns="iC_Common.xsd">sample string 6</Analytic_AN2_ID>
          <Analytic_AN3_ID xmlns="iC_Common.xsd">sample string 7</Analytic_AN3_ID>
        </Analytics>
        <DebitAmount>1</DebitAmount>
        <CreditAmount>1</CreditAmount>
        <JournalEntryLineDescription>sample string 3</JournalEntryLineDescription>
        <VATLineID>1</VATLineID>
        <VAT>
          <VATLineID>1</VATLineID>
          <VATBookID>sample string 1</VATBookID>
          <VATTypeID>sample string 2</VATTypeID>
          <VATRateID>sample string 3</VATRateID>
          <DeductibleVATProportionID>sample string 4</DeductibleVATProportionID>
          <VATBase>1</VATBase>
          <VATAmount>1</VATAmount>
          <NonDeductibleVAT>1</NonDeductibleVAT>
          <Prepayment>true</Prepayment>
        </VAT>
      </JournalEntryLine>
      <JournalEntryLine>
        <JournalLineID>1</JournalLineID>
        <AccountID>sample string 1</AccountID>
        <SupplierID>sample string 2</SupplierID>
        <Analytics>
          <CostCenterID xmlns="iC_Common.xsd">sample string 1</CostCenterID>
          <CostDriverID xmlns="iC_Common.xsd">sample string 2</CostDriverID>
          <ClerkID xmlns="iC_Common.xsd">sample string 3</ClerkID>
          <WorkOrderID xmlns="iC_Common.xsd">sample string 4</WorkOrderID>
          <Analytic_AN1_ID xmlns="iC_Common.xsd">sample string 5</Analytic_AN1_ID>
          <Analytic_AN2_ID xmlns="iC_Common.xsd">sample string 6</Analytic_AN2_ID>
          <Analytic_AN3_ID xmlns="iC_Common.xsd">sample string 7</Analytic_AN3_ID>
        </Analytics>
        <DebitAmount>1</DebitAmount>
        <CreditAmount>1</CreditAmount>
        <JournalEntryLineDescription>sample string 3</JournalEntryLineDescription>
        <VATLineID>1</VATLineID>
        <VAT>
          <VATLineID>1</VATLineID>
          <VATBookID>sample string 1</VATBookID>
          <VATTypeID>sample string 2</VATTypeID>
          <VATRateID>sample string 3</VATRateID>
          <DeductibleVATProportionID>sample string 4</DeductibleVATProportionID>
          <VATBase>1</VATBase>
          <VATAmount>1</VATAmount>
          <NonDeductibleVAT>1</NonDeductibleVAT>
          <Prepayment>true</Prepayment>
        </VAT>
      </JournalEntryLine>
    </JournalEntryLines>
  </JournalEntry>
  <InstalmentLines>
    <InstalmentLine>
      <InstalmentLineID>1</InstalmentLineID>
      <DueDate>2024-11-21T14:29:02.1904322+01:00</DueDate>
      <InstalmentAmount>3</InstalmentAmount>
      <Currency>sample string 4</Currency>
      <InstalmentAmountDomesticCurrency>5</InstalmentAmountDomesticCurrency>
      <ModelOfControl>sample string 6</ModelOfControl>
      <PaymentReference>sample string 7</PaymentReference>
      <InstalmentPercentage>8</InstalmentPercentage>
      <InstalmentDescription>sample string 9</InstalmentDescription>
    </InstalmentLine>
    <InstalmentLine>
      <InstalmentLineID>1</InstalmentLineID>
      <DueDate>2024-11-21T14:29:02.1904322+01:00</DueDate>
      <InstalmentAmount>3</InstalmentAmount>
      <Currency>sample string 4</Currency>
      <InstalmentAmountDomesticCurrency>5</InstalmentAmountDomesticCurrency>
      <ModelOfControl>sample string 6</ModelOfControl>
      <PaymentReference>sample string 7</PaymentReference>
      <InstalmentPercentage>8</InstalmentPercentage>
      <InstalmentDescription>sample string 9</InstalmentDescription>
    </InstalmentLine>
  </InstalmentLines>
</IncomingInvoice>