POST api/V3/PreReceipt/AddPreReceipt
Request Information
URI Parameters
None.
Body Parameters
PreReceiptV3Name | Description | Type | Additional information |
---|---|---|---|
PreReceiptYear | string |
None. |
|
PreReceiptBook | string |
None. |
|
PreReceiptNumber | string |
None. |
|
WarehouseID | string |
None. |
|
SupplierID | string |
None. |
|
CostCenterID | string |
None. |
|
CostUnitID | string |
None. |
|
ClerkID | string |
None. |
|
WorkOrderID | string |
None. |
|
AnalyticID | string |
None. |
|
PreReceiptDate | date |
None. |
|
Document | string |
None. |
|
CurrencyID | string |
None. |
|
ExchangeRate | decimal number |
None. |
|
InvoiceAmount | decimal number |
None. |
|
RebatePercentage | decimal number |
None. |
|
DeductibleVATProportionID | string |
None. |
|
EntryFactorDC | boolean |
None. |
|
ForeignDCFactor | decimal number |
None. |
|
HomeDCFactor | decimal number |
None. |
|
Note | string |
None. |
|
NoteHeader | string |
None. |
|
NoteFooter | string |
None. |
|
Intrastat | boolean |
None. |
|
DispatchCountry | string |
None. |
|
BusinessTypeCode | string |
None. |
|
DeliveryTermsCode | string |
None. |
|
LocationCode | string |
None. |
|
TransportTypeCode | string |
None. |
|
FlatRateTax | boolean |
None. |
|
PaymentDate | date |
None. |
|
IDFolder | string |
None. |
|
ContractYear | integer |
None. |
|
ContractNumber | string |
None. |
|
InsertedBy | string |
None. |
|
InsertedTime | date |
None. |
|
ModifiedBy | string |
None. |
|
ModifiedTime | date |
None. |
|
Status | string |
None. |
|
ReferenceModule | string |
None. |
|
ReferenceYear | integer |
None. |
|
ReferenceBook | string |
None. |
|
ReferenceNumber | integer |
None. |
|
StatusDate | date |
None. |
|
StatusDK | boolean |
None. |
|
StatusDDV | boolean |
None. |
|
StatusPP | boolean |
None. |
|
Analytic_AN1_ID | string |
None. |
|
Analytic_AN2_ID | string |
None. |
|
Analytic_AN3_ID | string |
None. |
|
PreReceiptLines | PreReceiptLinesV3_ |
None. |
|
DependentCostsLines | DependentCostsLinesV3_ |
None. |
Request Formats
application/xml, text/xml
Sample:
<PreReceipt xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <PreReceiptYear>sample string 1</PreReceiptYear> <PreReceiptBook>sample string 2</PreReceiptBook> <PreReceiptNumber>sample string 3</PreReceiptNumber> <WarehouseID>sample string 4</WarehouseID> <SupplierID>sample string 5</SupplierID> <CostCenterID>sample string 6</CostCenterID> <CostUnitID>sample string 7</CostUnitID> <ClerkID>sample string 8</ClerkID> <WorkOrderID>sample string 9</WorkOrderID> <AnalyticID>sample string 10</AnalyticID> <PreReceiptDate>2024-11-21T15:23:43.5691198+01:00</PreReceiptDate> <Document>sample string 11</Document> <CurrencyID>sample string 12</CurrencyID> <ExchangeRate>1</ExchangeRate> <InvoiceAmount>1</InvoiceAmount> <RebatePercentage>1</RebatePercentage> <DeductibleVATProportionID>sample string 13</DeductibleVATProportionID> <EntryFactorDC>true</EntryFactorDC> <ForeignDCFactor>1</ForeignDCFactor> <HomeDCFactor>1</HomeDCFactor> <Note>sample string 14</Note> <NoteHeader>sample string 15</NoteHeader> <NoteFooter>sample string 16</NoteFooter> <Intrastat>true</Intrastat> <DispatchCountry>sample string 17</DispatchCountry> <BusinessTypeCode>sample string 18</BusinessTypeCode> <DeliveryTermsCode>sample string 19</DeliveryTermsCode> <LocationCode>sample string 20</LocationCode> <TransportTypeCode>sample string 21</TransportTypeCode> <FlatRateTax>true</FlatRateTax> <PaymentDate>2024-11-21T15:23:43.5691198+01:00</PaymentDate> <IDFolder>sample string 22</IDFolder> <ContractYear>1</ContractYear> <ContractNumber>sample string 23</ContractNumber> <InsertedBy>sample string 24</InsertedBy> <InsertedTime>2024-11-21T15:23:43.5701176+01:00</InsertedTime> <ModifiedBy>sample string 25</ModifiedBy> <ModifiedTime>2024-11-21T15:23:43.5701176+01:00</ModifiedTime> <Status>sample string 26</Status> <ReferenceModule>sample string 27</ReferenceModule> <ReferenceYear>1</ReferenceYear> <ReferenceBook>sample string 28</ReferenceBook> <ReferenceNumber>1</ReferenceNumber> <StatusDate>2024-11-21T15:23:43.5701176+01:00</StatusDate> <StatusDK>true</StatusDK> <StatusDDV>true</StatusDDV> <StatusPP>true</StatusPP> <Analytic_AN1_ID>sample string 29</Analytic_AN1_ID> <Analytic_AN2_ID>sample string 30</Analytic_AN2_ID> <Analytic_AN3_ID>sample string 31</Analytic_AN3_ID> <PreReceiptLines> <PreReceiptLine> <LineNumber>1</LineNumber> <ItemID>sample string 2</ItemID> <ItemIDType>sample string 3</ItemIDType> <Quantity>1</Quantity> <InvoicedPrice>1</InvoicedPrice> <DiscountPercentage>1</DiscountPercentage> <DiscountPercentage2>1</DiscountPercentage2> <DiscountPercentage3>1</DiscountPercentage3> <DiscountPercentage4>1</DiscountPercentage4> <DiscountPercentage5>1</DiscountPercentage5> <InvoicedValue>1</InvoicedValue> <WithoutSharedDC>true</WithoutSharedDC> <DCPercentage>sample string 4</DCPercentage> <DCAmount>1</DCAmount> <PurchasePrice>1</PurchasePrice> <SellingPrice>1</SellingPrice> <PriceWithVAT>1</PriceWithVAT> <WarehouseID>sample string 5</WarehouseID> <Series>sample string 6</Series> <NumberOfPackage>1</NumberOfPackage> <ItemWeightPerUnit>1</ItemWeightPerUnit> <ItemVolumePerUnit>1</ItemVolumePerUnit> <CodeCountryOrigin>sample string 7</CodeCountryOrigin> <AdditionalUMQuantity>1</AdditionalUMQuantity> <StatisticalValue>1</StatisticalValue> <Note>sample string 8</Note> <ItemDescription>sample string 9</ItemDescription> <InsertedBy>sample string 10</InsertedBy> <InsertedTime>2024-11-21T15:23:43.5701176+01:00</InsertedTime> <ModifiedBy>sample string 11</ModifiedBy> <ModifiedTime>2024-11-21T15:23:43.5701176+01:00</ModifiedTime> <CostCenterID>sample string 12</CostCenterID> <CostUnitID>sample string 13</CostUnitID> <ClerkID>sample string 14</ClerkID> <WorkOrderID>sample string 15</WorkOrderID> <AnalyticID>sample string 16</AnalyticID> <Analytic_AN1_ID>sample string 17</Analytic_AN1_ID> <Analytic_AN2_ID>sample string 18</Analytic_AN2_ID> <Analytic_AN3_ID>sample string 19</Analytic_AN3_ID> <CountedQuantity>1</CountedQuantity> </PreReceiptLine> <PreReceiptLine> <LineNumber>1</LineNumber> <ItemID>sample string 2</ItemID> <ItemIDType>sample string 3</ItemIDType> <Quantity>1</Quantity> <InvoicedPrice>1</InvoicedPrice> <DiscountPercentage>1</DiscountPercentage> <DiscountPercentage2>1</DiscountPercentage2> <DiscountPercentage3>1</DiscountPercentage3> <DiscountPercentage4>1</DiscountPercentage4> <DiscountPercentage5>1</DiscountPercentage5> <InvoicedValue>1</InvoicedValue> <WithoutSharedDC>true</WithoutSharedDC> <DCPercentage>sample string 4</DCPercentage> <DCAmount>1</DCAmount> <PurchasePrice>1</PurchasePrice> <SellingPrice>1</SellingPrice> <PriceWithVAT>1</PriceWithVAT> <WarehouseID>sample string 5</WarehouseID> <Series>sample string 6</Series> <NumberOfPackage>1</NumberOfPackage> <ItemWeightPerUnit>1</ItemWeightPerUnit> <ItemVolumePerUnit>1</ItemVolumePerUnit> <CodeCountryOrigin>sample string 7</CodeCountryOrigin> <AdditionalUMQuantity>1</AdditionalUMQuantity> <StatisticalValue>1</StatisticalValue> <Note>sample string 8</Note> <ItemDescription>sample string 9</ItemDescription> <InsertedBy>sample string 10</InsertedBy> <InsertedTime>2024-11-21T15:23:43.5701176+01:00</InsertedTime> <ModifiedBy>sample string 11</ModifiedBy> <ModifiedTime>2024-11-21T15:23:43.5701176+01:00</ModifiedTime> <CostCenterID>sample string 12</CostCenterID> <CostUnitID>sample string 13</CostUnitID> <ClerkID>sample string 14</ClerkID> <WorkOrderID>sample string 15</WorkOrderID> <AnalyticID>sample string 16</AnalyticID> <Analytic_AN1_ID>sample string 17</Analytic_AN1_ID> <Analytic_AN2_ID>sample string 18</Analytic_AN2_ID> <Analytic_AN3_ID>sample string 19</Analytic_AN3_ID> <CountedQuantity>1</CountedQuantity> </PreReceiptLine> </PreReceiptLines> <DependentCostsLines> <DependentCostsLine> <DCLineNumber>1</DCLineNumber> <DCCode>sample string 2</DCCode> <Description>sample string 3</Description> <DCCustomerCode>sample string 4</DCCustomerCode> <AccountDC>sample string 5</AccountDC> <Amount>1</Amount> <CurrencyID>sample string 6</CurrencyID> <ExchangeRate>1</ExchangeRate> <ExchangeRateDate>2024-11-21T15:23:43.5711171+01:00</ExchangeRateDate> <VATRateID>sample string 7</VATRateID> <Note>sample string 8</Note> <InsertedBy>sample string 9</InsertedBy> <InsertedTime>2024-11-21T15:23:43.5711171+01:00</InsertedTime> <ModifiedBy>sample string 10</ModifiedBy> <ModifiedTime>2024-11-21T15:23:43.5711171+01:00</ModifiedTime> <CostForCustomBase>true</CostForCustomBase> </DependentCostsLine> <DependentCostsLine> <DCLineNumber>1</DCLineNumber> <DCCode>sample string 2</DCCode> <Description>sample string 3</Description> <DCCustomerCode>sample string 4</DCCustomerCode> <AccountDC>sample string 5</AccountDC> <Amount>1</Amount> <CurrencyID>sample string 6</CurrencyID> <ExchangeRate>1</ExchangeRate> <ExchangeRateDate>2024-11-21T15:23:43.5711171+01:00</ExchangeRateDate> <VATRateID>sample string 7</VATRateID> <Note>sample string 8</Note> <InsertedBy>sample string 9</InsertedBy> <InsertedTime>2024-11-21T15:23:43.5711171+01:00</InsertedTime> <ModifiedBy>sample string 10</ModifiedBy> <ModifiedTime>2024-11-21T15:23:43.5711171+01:00</ModifiedTime> <CostForCustomBase>true</CostForCustomBase> </DependentCostsLine> </DependentCostsLines> </PreReceipt>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CreateResultName | Description | Type | Additional information |
---|---|---|---|
Keys | Collection of EntityKeyField |
None. |
|
ResultCode | ExternalResultCode |
None. |
|
Errors | Collection of Error |
None. |
Response Formats
application/xml, text/xml
Sample:
<CreateResult xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <Keys> <Key> <Name>sample string 1</Name> <Value>sample string 2</Value> </Key> <Key> <Name>sample string 1</Name> <Value>sample string 2</Value> </Key> </Keys> <ResultCode>None</ResultCode> <Errors> <Error> <Level>Warning</Level> <Message>sample string 1</Message> </Error> <Error> <Level>Warning</Level> <Message>sample string 1</Message> </Error> </Errors> </CreateResult>