<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: bapi for miro  document creation in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-miro-document-creation/m-p/1448255#M212481</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can see the documentation, See below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please give me point if you find it is useful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Ramesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FU BAPI_INCOMINGINVOICE_CREATE&lt;/P&gt;&lt;P&gt;____________________________________________________&lt;/P&gt;&lt;P&gt;Short text&lt;/P&gt;&lt;P&gt;Invoice Verification: Post Invoice&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Functionality&lt;/P&gt;&lt;P&gt;You can use this method to create and post invoices.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When passing on the header data, you use the field INVOIC_IND to determine whether the system posts a credit memo or an invoice. If the field is blank, the system posts a credit memo. If you enter an X, the system posts an invoice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to enter an incoming invoice for a returns order, you should leave the INVOICE_IND field blank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As in the online transaction, the system updates the purchase order history and stock valuation data in Materials Management. The system creates accounting documents in Accounting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using this method, you can:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enter and post invoices with multiple account assignment&lt;/P&gt;&lt;P&gt;Change the account assignment of invoices, add account assignments, and post the invoices&lt;/P&gt;&lt;P&gt;Enter invoices for blanket purchase orders&lt;/P&gt;&lt;P&gt;Enter and post invoices for purchase orders containing planned delivery costs&lt;/P&gt;&lt;P&gt;Enter and post invoices containing unplanned delivery costs&lt;/P&gt;&lt;P&gt;Enter and post subsequent debits/credits&lt;/P&gt;&lt;P&gt;Use document types with external number assignment&lt;/P&gt;&lt;P&gt;Enter and post invoices with withholding tax&lt;/P&gt;&lt;P&gt;Enter and post invoice with more than one vendor line and different payment methods and terms of payment&lt;/P&gt;&lt;P&gt;Enter and post invoices for returns orders&lt;/P&gt;&lt;P&gt;Enter and post invoices for transportation service providers&lt;/P&gt;&lt;P&gt;Enter and post invoices for external service purchase orders&lt;/P&gt;&lt;P&gt;Post to G/L accounts&lt;/P&gt;&lt;P&gt;Post to material accounts&lt;/P&gt;&lt;P&gt;Enter and post invoices for a one-time vendor&lt;/P&gt;&lt;P&gt;Enter and post invoices with a different payee&lt;/P&gt;&lt;P&gt;Restrictions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following fields in Financial Accounting are not passed on:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;POR subscriber number&lt;/P&gt;&lt;P&gt;Bank details&lt;/P&gt;&lt;P&gt;Payment reference&lt;/P&gt;&lt;P&gt;House bank ID&lt;/P&gt;&lt;P&gt;Nota Fiscal&lt;/P&gt;&lt;P&gt;Notes&lt;/P&gt;&lt;P&gt;The following authorization object is checked using activity 01:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;M_RECH_WRK Authorization to create invoices in certain plants&lt;/P&gt;&lt;P&gt;Transfer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You use the structure HeaderData to transfer the invoice header data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You use the structure AddressData to transfer the address data of a one-time vendor or a different payee of the incoming invoice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tables ItemData and AccountingData contain the invoice item data. The table TaxData contains the tax information for theinvoice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tables ItemData and AccountingData contain the item data and the incoming invoice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table TaxData contains the tax information on the incoming invoice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table GlAccountData contains data on posting to a G/L account and the table MaterialData contains data on posting to a materialaccount.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using table WithTaxData you can transfer withholding tax information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using table VendorItemSplitData you can distribute the gross amount to several vendor line items with different methods of payment and terms of payment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Return&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The invoice document number and the fiscal year are returned as key fields for the invoice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Return messages&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Messages are returned in the parameter return. The parameter documentation shows the return codes and their meanings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Further Information&lt;/P&gt;&lt;P&gt;The method can only carry out your function if no error messages were generated in the "Return" table. This is the case if the header data and all the items were processed successfully.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Transaction control is not implemented. The calling program therefore has to execute the 'Commit Work' itself after this method has been successfully invoked (i.e. if no errors were reported in the Return parameter).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: Incoming Invoice&lt;/P&gt;&lt;P&gt;This example shows the header data that you need to enter in table Headerdata and the item data that you need to enter in table Itemdata to post an invoice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Purchase order: 10 pieces of material A at 10 USD/piece&lt;/P&gt;&lt;P&gt;Goods receipt: 10 pieces of material A&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You receive an invoice against this purchase order, with reference to purchase order number 4500007491, order item 10, for a quantity of 10 pieces of material A and an amount of 116 USD including 16% sales tax. Enter the following data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table HeaderData&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_IND (Post invoice/credit memo): X&lt;/P&gt;&lt;P&gt;DOC_DATE (Document date): 05.20.2000&lt;/P&gt;&lt;P&gt;PSTNG_DATE (Posting date): 05.23.2000&lt;/P&gt;&lt;P&gt;COMP_CODE (Company code): 1000&lt;/P&gt;&lt;P&gt;GROSS_AMOUNT (Gross amount): 116.00&lt;/P&gt;&lt;P&gt;CURRENCY (Currency key): USD&lt;/P&gt;&lt;P&gt;CALC_TAX_IND (Calculate tax): X&lt;/P&gt;&lt;P&gt;Table ItemData&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_DOC_ITEM (Invoice document item): 00001&lt;/P&gt;&lt;P&gt;PO_NUMBER (Purchase order number): 4500007491&lt;/P&gt;&lt;P&gt;PO_ITEM (Purchase order item): 00010&lt;/P&gt;&lt;P&gt;TAX_CODE (Tax code): VN&lt;/P&gt;&lt;P&gt;ITEM_AMOUNT (Item amount): 100&lt;/P&gt;&lt;P&gt;QUANTITY (Quantity): 10&lt;/P&gt;&lt;P&gt;PO_UNIT (Unit of measure): PC&lt;/P&gt;&lt;P&gt;For more information, see the parameter documentation for tables HeaderData and Itemdata.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: Incoming Invoice in Foreign Currency, Goods-Receipt-Based&lt;/P&gt;&lt;P&gt;Invoice Verification and Tax Information&lt;/P&gt;&lt;P&gt;This example specifies the header data that you need to enter in table Headerdata, the item data that you need to enter in table Itemdata and the tax information that you need to enter in table TaxData to post an invoice in a foreign currency.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Purchase order: 10 pieces of material A at 10 USD/piece&lt;/P&gt;&lt;P&gt;First goods receipt: 4 pieces of material A&lt;/P&gt;&lt;P&gt;Second goods receipt: 6 pieces of material A&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You receive an invoice against this purchase order, with reference to purchase order number 4500007505, order item 10, goods receipt document 50010095, 2000, item 1. The invoice is for a quantity of 4 pieces of material A, a gross amount of 46.60 USD and 16% sales tax (6.60 USD). Enter the following data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table HeaderData&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_IND (Post invoice/credit memo): X&lt;/P&gt;&lt;P&gt;DOC_DATE (Document date): 05.20.2000&lt;/P&gt;&lt;P&gt;PSTNG_DATE (Posting date): 05.23.2000&lt;/P&gt;&lt;P&gt;COMP_CODE (Company code): 1000&lt;/P&gt;&lt;P&gt;CURRENCY (Currency key): USD&lt;/P&gt;&lt;P&gt;GROSS_AMOUNT (Gross amount): 46.60&lt;/P&gt;&lt;P&gt;Table ItemData&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_DOC_ITEM (Invoice document item): 00001&lt;/P&gt;&lt;P&gt;PO_NUMBER (Purchase order number): 4500007505&lt;/P&gt;&lt;P&gt;PO_ITEM (Purchase order item): 00010&lt;/P&gt;&lt;P&gt;REF_DOC (Goods receipt document): 50010095&lt;/P&gt;&lt;P&gt;REF_DOC_YEAR (Fiscal year of current period): 2000&lt;/P&gt;&lt;P&gt;REF_DOC_ITEM (Goods receipt document item): 1&lt;/P&gt;&lt;P&gt;TAX_CODE (Tax code): VN&lt;/P&gt;&lt;P&gt;ITEM_AMOUNT (Item amount): 40.00&lt;/P&gt;&lt;P&gt;QUANTITY (Quantity): 4&lt;/P&gt;&lt;P&gt;PO_UNIT (Unit of measure): PC&lt;/P&gt;&lt;P&gt;Table TaxData&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TAX_CODE (Sales tax code): VN&lt;/P&gt;&lt;P&gt;TAX_AMOUNT (Tax amount in document currency): USD 6.60&lt;/P&gt;&lt;P&gt;For more information, see the parameter documentation for tables HeaderData, ItemData, and TaxData.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: Incoming invoice for blanket purchase order&lt;/P&gt;&lt;P&gt;This invoice shows which header data you need to enter in table HeaderData, which item data you need to enter in table ItemData, and which account assignment data you need to enter in table AccountingData in order to post an incoming invoice for a blanket purchase order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You receive an invoice for the blanket PO 4500015172, PO item 10 for an amount 110 USD incl. sales tax at 10%. You want to distribute the invoice amount to the cost centers 1200 and 1500. Enter, for example, the following data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table HeaderData&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_IND (Post invoice/credit memo): X&lt;/P&gt;&lt;P&gt;DOC_DATE (Document date): 02.19.2001&lt;/P&gt;&lt;P&gt;PSTING_DATE (Posting date): 02.21.2001&lt;/P&gt;&lt;P&gt;COMP_CODE (Company code): 1000&lt;/P&gt;&lt;P&gt;GROSS_AMOUNT (Gross amount): 110&lt;/P&gt;&lt;P&gt;CURRENCY (Currency): USD&lt;/P&gt;&lt;P&gt;CALC_TAX_IND (Calculate tax): X&lt;/P&gt;&lt;P&gt;Table ItemData&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_DOC_ITEM (Item in the invoice document): 00001&lt;/P&gt;&lt;P&gt;PO_NUMBER (PO number): 4500015172&lt;/P&gt;&lt;P&gt;PO_ITEM (PO item): 00010&lt;/P&gt;&lt;P&gt;TAX_CODE (Tax code): V1&lt;/P&gt;&lt;P&gt;ITEM_AMOUNT (Item amount): 100&lt;/P&gt;&lt;P&gt;Table AccountingData&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1st line: Change account assignment data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_DOC_ITEM (Document item in invoice document): 0001&lt;/P&gt;&lt;P&gt;SERIAL_NO (Serial number for the acc. assignment): 01&lt;/P&gt;&lt;P&gt;TAX_CODE (Tax code): V1&lt;/P&gt;&lt;P&gt;ITEM_AMOUNT (Amount in document currency): 30&lt;/P&gt;&lt;P&gt;GL_ACCOUNT (G/L account number): 890000&lt;/P&gt;&lt;P&gt;COSTCENTER (Cost center): 1200&lt;/P&gt;&lt;P&gt;2nd line: Add unplanned account assignment&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_DOC_ITEM (Document item in invoice document): 0001&lt;/P&gt;&lt;P&gt;XUNPL (Unplanned acct. assignment from IV): X&lt;/P&gt;&lt;P&gt;TAX_CODE (Tax code): V1&lt;/P&gt;&lt;P&gt;ITEM_AMOUNT (Amount in document currency): 70&lt;/P&gt;&lt;P&gt;GL_ACCOUNT (G/L account number): 890000&lt;/P&gt;&lt;P&gt;COSTCENTER (Cost center): 1500&lt;/P&gt;&lt;P&gt;In the case of a blanket purchase order, the following fields for quantities and units of measurement must not be filled in the tables ItemData and AccountingData:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Quantity (QUANTITY)&lt;/P&gt;&lt;P&gt;PO_UNIT (PO unit of measure)&lt;/P&gt;&lt;P&gt;PO_UNIT_ISO (PO unit of measure in ISO code)&lt;/P&gt;&lt;P&gt;PO_PR_QNT (Quantity in PO price unit of measure)&lt;/P&gt;&lt;P&gt;PO_PR_UOM (PO price unit of measure)&lt;/P&gt;&lt;P&gt;PO_PR_UOM_ISO (PO price unit of measure in ISO code)&lt;/P&gt;&lt;P&gt;For more information, see the parameter documentation for tables HeaderData, ItemData, and AccountingData, or in the SAP Library under Logistics Invoice Verification.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: Change account assignments and add unplanned assignments&lt;/P&gt;&lt;P&gt;This example shows the header data that you need to enter in table Headerdata, the item data that you need to enter in table Itemdata, and the account assignment information that you need to enter in table AccountingData to change, add, and post account assignments for an invoice. If you want to change or add account assignments, there must be a non-valuated goods receipt or no goods receipt in the system. Goods-receipt-based invoice verification is specified.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Purchase order: 300 pieces of material A at 1 USD/piece&lt;/P&gt;&lt;P&gt;Goods receipt: 300 pieces of material A&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This purchase order is subject to account assignment. You receive an invoice for it, refering to purchase order number 4500006846, order item 10, goods receipt document 50008849, 2000, item 1. The invoice is for a quantity of 100 pieces of material A, with a gross invoice amount of USD 116.00, including 16% sales tax. You want to change the planned account assignment for the second account assignment item and add an unplanned account assignment. Enter the following data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table HeaderData&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_IND (Post invoice/credit memo): X&lt;/P&gt;&lt;P&gt;DOC_DATE (Document date): 08.05.2000&lt;/P&gt;&lt;P&gt;PSTNG_DATE (Posting date): 08.08.2000&lt;/P&gt;&lt;P&gt;COMP_CODE (Company code): 1000&lt;/P&gt;&lt;P&gt;CURRENCY (Currency key): USD&lt;/P&gt;&lt;P&gt;GROSS_AMOUNT (Gross amount): 17.40&lt;/P&gt;&lt;P&gt;CALC_TAX_IND (Calculate tax automatically): X&lt;/P&gt;&lt;P&gt;PMNTTRMS (Terms of payment key): 0001&lt;/P&gt;&lt;P&gt;Table ItemData&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_DOC_ITEM (Invoice document item): 00001&lt;/P&gt;&lt;P&gt;PO_NUMBER (Purchase order number): 4500006846&lt;/P&gt;&lt;P&gt;PO_ITEM (Purchase order item): 00010&lt;/P&gt;&lt;P&gt;REF_DOC (Goods receipt document): 500008849&lt;/P&gt;&lt;P&gt;REF_DOC_YEAR (Fiscal year of current period): 2000&lt;/P&gt;&lt;P&gt;REF_DOC_ITEM (Goods receipt document item): 1&lt;/P&gt;&lt;P&gt;TAX_CODE (Tax code): VN&lt;/P&gt;&lt;P&gt;ITEM_AMOUNT (Item amount): 100&lt;/P&gt;&lt;P&gt;QUANTITY (Quantity): 100&lt;/P&gt;&lt;P&gt;PO_UNIT (Unit of measure): PC&lt;/P&gt;&lt;P&gt;Table AccountingData&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Row 1: Change second account assignment item&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_DOC_ITEM (Invoice document item): 0001&lt;/P&gt;&lt;P&gt;SERIAL_NO (Account assignment serial number): 02&lt;/P&gt;&lt;P&gt;TAX_CODE (Tax code): VN&lt;/P&gt;&lt;P&gt;ITEM_AMOUNT (Amount in document currency): 10.00&lt;/P&gt;&lt;P&gt;QUANTITY (Quantity): 10&lt;/P&gt;&lt;P&gt;PO_UNIT (Order unit): PC&lt;/P&gt;&lt;P&gt;GL_ACCOUNT (G/L account number): 890000&lt;/P&gt;&lt;P&gt;COSTCENTER (Cost center): 1200&lt;/P&gt;&lt;P&gt;Row 2: Add unplanned account assignment&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_DOC_ITEM (Invoice document item): 0001&lt;/P&gt;&lt;P&gt;XUNPL (Unplanned account assignment in Invoice Verification): X&lt;/P&gt;&lt;P&gt;TAX_CODE (Tax code): VN&lt;/P&gt;&lt;P&gt;ITEM_AMOUNT (Amount in document currency): 5.00&lt;/P&gt;&lt;P&gt;QUANTITY (Quantity): 5&lt;/P&gt;&lt;P&gt;PO_UNIT (Order unit): PC&lt;/P&gt;&lt;P&gt;GL_ACCOUNT (G/L account number): 890000&lt;/P&gt;&lt;P&gt;COSTCENTER (Cost center): 1200&lt;/P&gt;&lt;P&gt;For more information, see the parameter documentation for tables HeaderData, ItemData, and TaxData, or Logistics Invoice Verification in the SAP Library.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: Invoice with Planned Delivery Costs&lt;/P&gt;&lt;P&gt;This examples shows the header data that you need to enter in table HeaderData, the item data that you need to enter in table ItemData, and the tax information that you need to enter in table TaxData to post an invoice containing planned delivery costs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Purchase order: 100 pieces of material A at 1 USD/piece&lt;/P&gt;&lt;P&gt;Goods receipt: 100 pieces of material A&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You receive an invoice for this purchase order refering to purchase order number 4500006986, order item 10, for a quantity of 100 pieces of material A and 136 USD, including 16% sales tax and 20 USD planned delivery costs. Enter the following data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table HeaderData&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_IND (Post invoice/credit memo): X&lt;/P&gt;&lt;P&gt;DOC_DATE (Document date): 08.10.2000&lt;/P&gt;&lt;P&gt;PSTNG_DATE (Posting date): 08.12.2000&lt;/P&gt;&lt;P&gt;COMP_CODE (Company code): 1000&lt;/P&gt;&lt;P&gt;CURRENCY (Currency key): USD&lt;/P&gt;&lt;P&gt;GROSS_AMOUNT (Gross amount): 136,00&lt;/P&gt;&lt;P&gt;Table ItemData&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Row 1: Posting the purchase order item&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_DOC_ITEM (Invoice document item): 00001&lt;/P&gt;&lt;P&gt;PO_NUMBER (Purchase order number): 4500006986&lt;/P&gt;&lt;P&gt;PO_ITEM (Order item): 00010&lt;/P&gt;&lt;P&gt;TAX_CODE (Sales tax code): VN&lt;/P&gt;&lt;P&gt;ITEM_AMOUNT (Item amount): 100.00&lt;/P&gt;&lt;P&gt;QUANTITY (Quantity): 100&lt;/P&gt;&lt;P&gt;PO_UNIT (Unit of measure): PC&lt;/P&gt;&lt;P&gt;Row 2: Posting the planned delivery costs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_DOC_ITEM (Invoice document item): 00002&lt;/P&gt;&lt;P&gt;PO_NUMBER (Order number): 4500006986&lt;/P&gt;&lt;P&gt;PO_ITEM (Order item): 00010&lt;/P&gt;&lt;P&gt;ITEM_AMOUNT (Item amount): 20.00&lt;/P&gt;&lt;P&gt;QUANTITY (Quantity): 100&lt;/P&gt;&lt;P&gt;PO_UNIT (Unit of measure): PC&lt;/P&gt;&lt;P&gt;COND_TYPE (Condition type): FRB1&lt;/P&gt;&lt;P&gt;Table TaxData&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TAX_CODE (Sales tax code): VN&lt;/P&gt;&lt;P&gt;TAX_AMOUNT (Tax amount in document currency): 16.00&lt;/P&gt;&lt;P&gt;For more information, see the parameter documentation for tables HeaderData, ItemData, and TaxData.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: Incoming invoice with withholding tax.&lt;/P&gt;&lt;P&gt;This example shows you what header data you can enter in table HeaderData, and what item data and withholding tax information you can enter in table TaxData in order to park an incoming invoice with withholding tax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Purchase order: 10 pieces of material A at $10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Goods receipt: 10 pieces of material A&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You receive an invoice for this delivery with reference to purchase order number 4500007505, PO item 10, GR document 50010095 2000, Item 1. The invoice is for a quantity of 10 pieces and a gross amount of 100 USD. You have to pay 10% withholding tax for the gross amount. Enter the following data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table HeaderData&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_IND (Invoice/Credit memo): X&lt;/P&gt;&lt;P&gt;DOC_DATE (Document date): 05.20.2000&lt;/P&gt;&lt;P&gt;PSTNG_DATE (Posting date): 05.23.2000&lt;/P&gt;&lt;P&gt;COMP_CODE (Company code): WT01&lt;/P&gt;&lt;P&gt;CURRENCY (Currency key): USD&lt;/P&gt;&lt;P&gt;GROSS_AMOUNT (Gross amount): 100 USD&lt;/P&gt;&lt;P&gt;Table ItemData&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_DOC_ITEM (Item from invoice document): 00001&lt;/P&gt;&lt;P&gt;PO_NUMBER (PO number): 4500007505&lt;/P&gt;&lt;P&gt;PO_ITEM (PO item): 00010&lt;/P&gt;&lt;P&gt;REF_DOC (GR document): 50010095&lt;/P&gt;&lt;P&gt;REF_DOC_YEAR (Fiscal year of the current period): 2000&lt;/P&gt;&lt;P&gt;REF_DOC_ITEM (Item in a GR document): 1&lt;/P&gt;&lt;P&gt;TAX_CODE (Tax code): V0&lt;/P&gt;&lt;P&gt;ITEM_AMOUNT (Item amount): $100&lt;/P&gt;&lt;P&gt;QUANTITY (Quantity): 10&lt;/P&gt;&lt;P&gt;PO_UNIT (Unit of measure): PC&lt;/P&gt;&lt;P&gt;Table WithTaxData&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SPLIT_KEY (Grouping key for withholding tax split): 0001&lt;/P&gt;&lt;P&gt;WI_TAX_TYPE (Code for withholding tax type): R1&lt;/P&gt;&lt;P&gt;WI_TAX_CODE (Withholding tax code): 01&lt;/P&gt;&lt;P&gt;WI_TAX_BASE (Withholding tax base amount): 100&lt;/P&gt;&lt;P&gt;WI_TAX_AMT (Withholding tax amount in doc. currency): 10.00&lt;/P&gt;&lt;P&gt;For more information, see the parameter documentation for tables HeaderData, ItemData, and WithTaxData.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: Incoming invoice with amount split.&lt;/P&gt;&lt;P&gt;This example shows you what header data you need to enter in table HeaderData, what item data you enter in table ItemData, and what information you can enter in table VendorSplitData in order to create an invoice with an amount split.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Purchase order: 10 pieces of material A at 10 USD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Goods receipt: 10 pieces of material A&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You receive an invoice for this purchase order with reference to PO number 4500007505, PO item 10, GR document 50010095, item 1. The invoice is for a quantity of 10 pieces and a gross amount of 100 USD. You want to distribute the gross amount to two vendor lines. 40% of the gross amount should be paid immediately by check, and 60% of the gross amount should be paid within 14 days, taking into account a 3% cash discount. Enter the following data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table HeaderData&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_IND (Invoice/Credit memo): X&lt;/P&gt;&lt;P&gt;DOC_DATE (Document date): 05.20.2000&lt;/P&gt;&lt;P&gt;PSTNG_DATE (Posting date): 05.23.2000&lt;/P&gt;&lt;P&gt;COMP_CODE (Company code): 0001&lt;/P&gt;&lt;P&gt;CURRENCY (Currency key): USD&lt;/P&gt;&lt;P&gt;GROSS_AMOUNT (Gross amount): 100.00&lt;/P&gt;&lt;P&gt;Table ItemData&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_DOC_ITEM (Item from the invoice document): 00001&lt;/P&gt;&lt;P&gt;PO_NUMBER (PO number): 4500007505&lt;/P&gt;&lt;P&gt;PO_ITEM (PO item): 00010&lt;/P&gt;&lt;P&gt;REF_DOC (GR document): 50010095&lt;/P&gt;&lt;P&gt;REF_DOC_YEAR (Fiscal year for the current period): 2000&lt;/P&gt;&lt;P&gt;REF_DOC_ITEM (Item from a GR document): 1&lt;/P&gt;&lt;P&gt;TAX_CODE (Tax code): V0&lt;/P&gt;&lt;P&gt;ITEM_AMOUNT (Item amount): 100&lt;/P&gt;&lt;P&gt;QUANTITY (Quantity): 10.00&lt;/P&gt;&lt;P&gt;PO_UNIT (Unit of measure): PC&lt;/P&gt;&lt;P&gt;Table VendorItemSplitData&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1st vendor line&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SPLIT_KEY (Grouping key for split in the vendor line): 0001&lt;/P&gt;&lt;P&gt;SPLIT_AMOUNT (Gross invoice partial amount in doc. currency): 40.00&lt;/P&gt;&lt;P&gt;PYMT_METH (Payment method): S&lt;/P&gt;&lt;P&gt;TAX_CODE (Tax code): V0&lt;/P&gt;&lt;P&gt;PMNTTRMS (Payment terms key): 0001&lt;/P&gt;&lt;P&gt;2nd vendor line&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SPLIT_KEY (Grouping key for split in the vendor line): 0002&lt;/P&gt;&lt;P&gt;SPLIT_AMOUNT (Gross invoice partial amount in doc. currency): 60.00&lt;/P&gt;&lt;P&gt;PYMT_METH (Payment method): U&lt;/P&gt;&lt;P&gt;TAX_CODE (Tax code): V0&lt;/P&gt;&lt;P&gt;PMNTTRMS (Payment terms key): 0003&lt;/P&gt;&lt;P&gt;For more information, see the parameter documentation for tables HeaderData, ItemData, and VendorItemSplitData.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You recieve an invoice with reference to the order number 4500006846, order item 10. The invoice is for a 100 pieces of material A, with a gross amount of 150.80 USD, including 16% value-added tax. The invoice includes a G/L account posting of 10 USD to account 400000 in company code 1 and a material account posting of material MAT01 for 20 USD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enter the following data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table HeaderData&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_IND (post invoice/credit memo): X&lt;/P&gt;&lt;P&gt;DOC_DATE (Document date): 05.08.2000&lt;/P&gt;&lt;P&gt;PSTNG_DATE (Posting date): 08.08.2000&lt;/P&gt;&lt;P&gt;COMP_CODE (Company code): 1000&lt;/P&gt;&lt;P&gt;CURRENCY (Currency): USD&lt;/P&gt;&lt;P&gt;GROSS_AMOUNT (Gross amount): 150,80&lt;/P&gt;&lt;P&gt;CALC_TAX_IND (Calculate tax): X&lt;/P&gt;&lt;P&gt;PMNTTRMS (Terms of payment): 0001&lt;/P&gt;&lt;P&gt;Table ItemData&lt;/P&gt;&lt;P&gt;INVOICE_DOC_ITEM (Invoice document item): 00001&lt;/P&gt;&lt;P&gt;PO_NUMBER (Purchase order number): 4500006846&lt;/P&gt;&lt;P&gt;PO_ITEM (PO item): 00010&lt;/P&gt;&lt;P&gt;TAX_CODE (tax code): VN&lt;/P&gt;&lt;P&gt;ITEM_AMOUNT (Amount in document currency): 100&lt;/P&gt;&lt;P&gt;QUANTITY: 100&lt;/P&gt;&lt;P&gt;PO_UNIT (Unit of measure): ST&lt;/P&gt;&lt;P&gt;Table GlAccountData&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_DOC_ITEM (Document item in invoice document): 00001&lt;/P&gt;&lt;P&gt;GL_ACCOUNT (G/L account): 400000&lt;/P&gt;&lt;P&gt;ITEM_AMOUNT (Amount in document currency): 10,00&lt;/P&gt;&lt;P&gt;DB_CR_IND (Debit/credit indicator): S&lt;/P&gt;&lt;P&gt;COMP_CODE (Company code): 0001&lt;/P&gt;&lt;P&gt;TAX_CODE (Tax code): VN&lt;/P&gt;&lt;P&gt;COSTCENTER (Cost center): 1&lt;/P&gt;&lt;P&gt;Table MaterialData&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_DOC_ITEM (Document item in invoice document): 0001&lt;/P&gt;&lt;P&gt;MATERIAL (MATERIAL): MAT01&lt;/P&gt;&lt;P&gt;PLANT (Valuation area): 0001&lt;/P&gt;&lt;P&gt;DB_CR_INP (Debit/credit indicator): S&lt;/P&gt;&lt;P&gt;ITEM_AMOUNT (Amount in document currency): 10,00&lt;/P&gt;&lt;P&gt;QUANTITY (Quantity): 1&lt;/P&gt;&lt;P&gt;PO_UNIT (PO unit of measure): ST&lt;/P&gt;&lt;P&gt;You can find further information in the parameter documentation for tables HeaderData, ItemData, GlAccountData and MaterialData or in the SAP Library under Logistics - Invoice Verification&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: Invoice for a purchase order for external services and service-based invoice verification.&lt;/P&gt;&lt;P&gt;This example shows you which header data to enter in table HeaderData, which item data to enter in table ItemData, and which account assignment data to enter in table AccountingData in order to enter and post an incoming invoice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You receive an invoice with reference to the PO number 4500000191, PO item 10. Two services A and B are invoiced, each with a quantity of six service units. Service A has a gross amount of 580 USD incl. 16% tax. Service B has 812 USD incl. 16% tax. Service A has an account assignment of 50% to both cost centers 1000 and 2000. Service B also has an account assignment to cost centers 1000 and 3000. The service acceptance was made for both services jointly with the service entry sheet number 1000000022.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enter the following data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table HeaderData&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_IND (Post invoice/credit memo): X&lt;/P&gt;&lt;P&gt;DOC_TYPE (Document type): RE&lt;/P&gt;&lt;P&gt;DOC_DATE (Document date): 01.10.2002&lt;/P&gt;&lt;P&gt;PSTNG_DATE (Posting date): 01.10.2002&lt;/P&gt;&lt;P&gt;COMP_CODE (Company code): 0001&lt;/P&gt;&lt;P&gt;CURRENCY (Currency key): USD&lt;/P&gt;&lt;P&gt;GROSS_AMOUNT (Gross amount): 1392.00&lt;/P&gt;&lt;P&gt;CALC_TAX_IND (Calculate tax automatically): X&lt;/P&gt;&lt;P&gt;PMNTTRMS (Payment terms key): 0002&lt;/P&gt;&lt;P&gt;Table ItemData&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First Entry for Service A:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_DOC_ITEM (Item in invoice document): 000001&lt;/P&gt;&lt;P&gt;PO_NUMBER (PO number): 4500000191&lt;/P&gt;&lt;P&gt;PO_ITEM (PO item): 00010&lt;/P&gt;&lt;P&gt;TAX_CODE (Tax code): V1&lt;/P&gt;&lt;P&gt;ITEM_AMOUNT (Item amount): 250.00&lt;/P&gt;&lt;P&gt;QUANTITY (Quantity): 1&lt;/P&gt;&lt;P&gt;PO_UNIT (Unit of measure): LE&lt;/P&gt;&lt;P&gt;SHEET_NO (Service entry sheet number): 1000000022&lt;/P&gt;&lt;P&gt;SHEET_ITEM (Line number) : 10&lt;/P&gt;&lt;P&gt;Second Entry for Service A:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_DOC_ITEM (Item in invoice document): 000002&lt;/P&gt;&lt;P&gt;PO_NUMBER (PO number): 4500000191&lt;/P&gt;&lt;P&gt;PO_ITEM (PO item): 00010&lt;/P&gt;&lt;P&gt;TAX_CODE (Tax code): V1&lt;/P&gt;&lt;P&gt;ITEM_AMOUNT (Item amount): 250,00&lt;/P&gt;&lt;P&gt;QUANTITY (Quantity): 3&lt;/P&gt;&lt;P&gt;PO_UNIT (Unit of measure): LE&lt;/P&gt;&lt;P&gt;SHEET_NO (Service entry sheet number): 1000000022&lt;/P&gt;&lt;P&gt;SHEET_ITEM (Line number) : 10&lt;/P&gt;&lt;P&gt;First Entry for Service B:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_DOC_ITEM (Item in invoice document): 000002&lt;/P&gt;&lt;P&gt;PO_NUMBER (PO number): 4500000191&lt;/P&gt;&lt;P&gt;PO_ITEM (PO item): 00010&lt;/P&gt;&lt;P&gt;TAX_CODE (Tax code): V1&lt;/P&gt;&lt;P&gt;ITEM_AMOUNT (Item amount): 350.00&lt;/P&gt;&lt;P&gt;QUANTITY (Quantity): 1&lt;/P&gt;&lt;P&gt;PO_UNIT (Unit of measure): LE&lt;/P&gt;&lt;P&gt;SHEET_NO (Service entry sheet number): 1000000022&lt;/P&gt;&lt;P&gt;SHEET_ITEM (Line number) : 20&lt;/P&gt;&lt;P&gt;Second Entry for Service B:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_DOC_ITEM (Item in invoice document): 000004&lt;/P&gt;&lt;P&gt;PO_NUMBER (PO number): 4500000191&lt;/P&gt;&lt;P&gt;PO_ITEM (PO item): 00010&lt;/P&gt;&lt;P&gt;TAX_CODE (Tax code): V1&lt;/P&gt;&lt;P&gt;ITEM_AMOUNT (Item amount): 350,00&lt;/P&gt;&lt;P&gt;QUANTITY (Quantity): 3&lt;/P&gt;&lt;P&gt;PO_UNIT (Unit of measure): LE&lt;/P&gt;&lt;P&gt;SHEET_NO (Service entry sheet number): 1000000022&lt;/P&gt;&lt;P&gt;SHEET_ITEM (Line number) : 20&lt;/P&gt;&lt;P&gt;Table AccountingData&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First account assignment for service A:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_DOC_ITEM (Document item in invoice document): 000001&lt;/P&gt;&lt;P&gt;SERIAL_NO (Sequential number of the account assignment): 01&lt;/P&gt;&lt;P&gt;TAX_CODE (Tax code): V1&lt;/P&gt;&lt;P&gt;ITEM_AMOUNT (Amount in document currency): 250.00&lt;/P&gt;&lt;P&gt;QUANTITY (Quantity): 3&lt;/P&gt;&lt;P&gt;PO_UNIT (PO unit of measure): LE&lt;/P&gt;&lt;P&gt;GL_ACCOUNT (G/L account number): 400000&lt;/P&gt;&lt;P&gt;COSTCENTER (Cost center): 1000&lt;/P&gt;&lt;P&gt;Second account assignment for service A:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_DOC_ITEM (Document item in invoice document): 000002&lt;/P&gt;&lt;P&gt;SERIAL_NO (Sequential number of the account assignment): 02&lt;/P&gt;&lt;P&gt;TAX_CODE (Tax code): V1&lt;/P&gt;&lt;P&gt;ITEM_AMOUNT (Amount in document currency): 250.00&lt;/P&gt;&lt;P&gt;QUANTITY (Quantity): 3&lt;/P&gt;&lt;P&gt;PO_UNIT (PO unit of measure): LE&lt;/P&gt;&lt;P&gt;GL_ACCOUNT (G/L account number): 400000&lt;/P&gt;&lt;P&gt;COSTCENTER (Cost center): 2000&lt;/P&gt;&lt;P&gt;First account assignment for service B:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_DOC_ITEM (Document item in invoice document): 000003&lt;/P&gt;&lt;P&gt;SERIAL_NO (Sequential number of the account assignment): 01&lt;/P&gt;&lt;P&gt;TAX_CODE (Tax code): V1&lt;/P&gt;&lt;P&gt;ITEM_AMOUNT (Amount in document currency): 350.00&lt;/P&gt;&lt;P&gt;QUANTITY (Quantity): 3&lt;/P&gt;&lt;P&gt;PO_UNIT (PO unit of measure): LE&lt;/P&gt;&lt;P&gt;GL_ACCOUNT (G/L account number): 400000&lt;/P&gt;&lt;P&gt;COSTCENTER (Cost center): 1000&lt;/P&gt;&lt;P&gt;Second account assignment for service B:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_DOC_ITEM (Document item in invoice document): 000004&lt;/P&gt;&lt;P&gt;SERIAL_NO (Sequential number of the account assignment): 03&lt;/P&gt;&lt;P&gt;TAX_CODE (Tax code): V1&lt;/P&gt;&lt;P&gt;ITEM_AMOUNT (Amount in document currency): 350.00&lt;/P&gt;&lt;P&gt;QUANTITY (Quantity): 3&lt;/P&gt;&lt;P&gt;PO_UNIT (PO unit of measure): LE&lt;/P&gt;&lt;P&gt;GL_ACCOUNT (G/L account number): 400000&lt;/P&gt;&lt;P&gt;COSTCENTER (Cost center): 3000&lt;/P&gt;&lt;P&gt;For more information, see the parameter documentation for the tables HeaderData, ItemData, and AccountingData, or see the SAP Library under Logistics Invoice Verification.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: Incoming invoice for a one-time vendor&lt;/P&gt;&lt;P&gt;This example demonstrates the procedure for entering and posting an incoming invoice for a one-time vendor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You do not need to provide table AddressData with data to do this. If you do not enter any data in the table AddressData, the address data for the one-time vendor is transfered exactly from the purchase order to the invoice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you use table AddressData to transfer the data, the system copies the address data for the one-time vendor from the purchase order to the invoice and then overwrites or adds to the data with the fields from table AddressData.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The name 'SAP AG', postal code '60000', and street and house number 'Neurottstraße 16' are stored in the purchase order for the one-time vendor. You receive an invoice with the one-time vendor address 'SAP AG', postal code '69190' and city 'Wallorf'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You enter the following data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table AddressData&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ACC_1_TIME (Indicator: One-time vendor): X&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NAME (Name): SAP AG&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;POSTL_CODE (Postal code): 69190&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CITY (city): Walldorf&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The invoice is posted with the following one-time vendor address data: Name 'SAP AG', street and house number 'Neurottstraße 16', postal code '69190', city 'Walldorf'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more information, see the parameter documentation for table AddressData&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: Incoming invoice for a different payee&lt;/P&gt;&lt;P&gt;This example demonstrates which data you must enter in table AddressData in order to enter and post an invoice for a different payee.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You receive an invoice for a different payee with name 'SAP AG', postal code '69190', city 'Walldorf', bank number '38070724' and account number '4711'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enter the following data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table AddressData&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ACC_1_TIME (Indicator: One-time vendor): ' '&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NAME (Name): SAP AG&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;POSTL_CODE (Postal code): 69190&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CITY (City): Walldorf&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BANK_NO (Bank number): 38070724&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BANK_ACCT (Bank account number): 4711&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For additional information, see the parameter documentation for table AddressData&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameter&lt;/P&gt;&lt;P&gt;HEADERDATA&lt;/P&gt;&lt;P&gt;ADDRESSDATA&lt;/P&gt;&lt;P&gt;INVOICEDOCNUMBER&lt;/P&gt;&lt;P&gt;FISCALYEAR&lt;/P&gt;&lt;P&gt;ITEMDATA&lt;/P&gt;&lt;P&gt;ACCOUNTINGDATA&lt;/P&gt;&lt;P&gt;GLACCOUNTDATA&lt;/P&gt;&lt;P&gt;MATERIALDATA&lt;/P&gt;&lt;P&gt;TAXDATA&lt;/P&gt;&lt;P&gt;WITHTAXDATA&lt;/P&gt;&lt;P&gt;VENDORITEMSPLITDATA&lt;/P&gt;&lt;P&gt;RETURN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exceptions&lt;/P&gt;&lt;P&gt;Function group&lt;/P&gt;&lt;P&gt;MRM_BAPI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Jul 2006 08:57:22 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-07-07T08:57:22Z</dc:date>
    <item>
      <title>bapi for miro  document creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-miro-document-creation/m-p/1448253#M212479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can any one help me on how to use bapi " BAPI_INCOMINGINVOICE_CREATE" FOR UPLOADING TRANSACTION OF MIRO . IF POSSIBLE SAMPLE CODE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THANKS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2006 08:49:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-miro-document-creation/m-p/1448253#M212479</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-07T08:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: bapi for miro  document creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-miro-document-creation/m-p/1448254#M212480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Bobby,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The BAPI BAPI_INCOMINGINVOICE_CREATE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is used by the FM MRM_XMLBAPI_INCINV_CREATE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SO U can try the same in ur report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check for where used list.I fis used in any Z Program u can do the same in ur report&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If useful reward the points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2006 08:55:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-miro-document-creation/m-p/1448254#M212480</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-07T08:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: bapi for miro  document creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-miro-document-creation/m-p/1448255#M212481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can see the documentation, See below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please give me point if you find it is useful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Ramesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FU BAPI_INCOMINGINVOICE_CREATE&lt;/P&gt;&lt;P&gt;____________________________________________________&lt;/P&gt;&lt;P&gt;Short text&lt;/P&gt;&lt;P&gt;Invoice Verification: Post Invoice&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Functionality&lt;/P&gt;&lt;P&gt;You can use this method to create and post invoices.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When passing on the header data, you use the field INVOIC_IND to determine whether the system posts a credit memo or an invoice. If the field is blank, the system posts a credit memo. If you enter an X, the system posts an invoice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to enter an incoming invoice for a returns order, you should leave the INVOICE_IND field blank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As in the online transaction, the system updates the purchase order history and stock valuation data in Materials Management. The system creates accounting documents in Accounting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using this method, you can:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enter and post invoices with multiple account assignment&lt;/P&gt;&lt;P&gt;Change the account assignment of invoices, add account assignments, and post the invoices&lt;/P&gt;&lt;P&gt;Enter invoices for blanket purchase orders&lt;/P&gt;&lt;P&gt;Enter and post invoices for purchase orders containing planned delivery costs&lt;/P&gt;&lt;P&gt;Enter and post invoices containing unplanned delivery costs&lt;/P&gt;&lt;P&gt;Enter and post subsequent debits/credits&lt;/P&gt;&lt;P&gt;Use document types with external number assignment&lt;/P&gt;&lt;P&gt;Enter and post invoices with withholding tax&lt;/P&gt;&lt;P&gt;Enter and post invoice with more than one vendor line and different payment methods and terms of payment&lt;/P&gt;&lt;P&gt;Enter and post invoices for returns orders&lt;/P&gt;&lt;P&gt;Enter and post invoices for transportation service providers&lt;/P&gt;&lt;P&gt;Enter and post invoices for external service purchase orders&lt;/P&gt;&lt;P&gt;Post to G/L accounts&lt;/P&gt;&lt;P&gt;Post to material accounts&lt;/P&gt;&lt;P&gt;Enter and post invoices for a one-time vendor&lt;/P&gt;&lt;P&gt;Enter and post invoices with a different payee&lt;/P&gt;&lt;P&gt;Restrictions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following fields in Financial Accounting are not passed on:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;POR subscriber number&lt;/P&gt;&lt;P&gt;Bank details&lt;/P&gt;&lt;P&gt;Payment reference&lt;/P&gt;&lt;P&gt;House bank ID&lt;/P&gt;&lt;P&gt;Nota Fiscal&lt;/P&gt;&lt;P&gt;Notes&lt;/P&gt;&lt;P&gt;The following authorization object is checked using activity 01:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;M_RECH_WRK Authorization to create invoices in certain plants&lt;/P&gt;&lt;P&gt;Transfer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You use the structure HeaderData to transfer the invoice header data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You use the structure AddressData to transfer the address data of a one-time vendor or a different payee of the incoming invoice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tables ItemData and AccountingData contain the invoice item data. The table TaxData contains the tax information for theinvoice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tables ItemData and AccountingData contain the item data and the incoming invoice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table TaxData contains the tax information on the incoming invoice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table GlAccountData contains data on posting to a G/L account and the table MaterialData contains data on posting to a materialaccount.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using table WithTaxData you can transfer withholding tax information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using table VendorItemSplitData you can distribute the gross amount to several vendor line items with different methods of payment and terms of payment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Return&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The invoice document number and the fiscal year are returned as key fields for the invoice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Return messages&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Messages are returned in the parameter return. The parameter documentation shows the return codes and their meanings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Further Information&lt;/P&gt;&lt;P&gt;The method can only carry out your function if no error messages were generated in the "Return" table. This is the case if the header data and all the items were processed successfully.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Transaction control is not implemented. The calling program therefore has to execute the 'Commit Work' itself after this method has been successfully invoked (i.e. if no errors were reported in the Return parameter).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: Incoming Invoice&lt;/P&gt;&lt;P&gt;This example shows the header data that you need to enter in table Headerdata and the item data that you need to enter in table Itemdata to post an invoice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Purchase order: 10 pieces of material A at 10 USD/piece&lt;/P&gt;&lt;P&gt;Goods receipt: 10 pieces of material A&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You receive an invoice against this purchase order, with reference to purchase order number 4500007491, order item 10, for a quantity of 10 pieces of material A and an amount of 116 USD including 16% sales tax. Enter the following data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table HeaderData&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_IND (Post invoice/credit memo): X&lt;/P&gt;&lt;P&gt;DOC_DATE (Document date): 05.20.2000&lt;/P&gt;&lt;P&gt;PSTNG_DATE (Posting date): 05.23.2000&lt;/P&gt;&lt;P&gt;COMP_CODE (Company code): 1000&lt;/P&gt;&lt;P&gt;GROSS_AMOUNT (Gross amount): 116.00&lt;/P&gt;&lt;P&gt;CURRENCY (Currency key): USD&lt;/P&gt;&lt;P&gt;CALC_TAX_IND (Calculate tax): X&lt;/P&gt;&lt;P&gt;Table ItemData&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_DOC_ITEM (Invoice document item): 00001&lt;/P&gt;&lt;P&gt;PO_NUMBER (Purchase order number): 4500007491&lt;/P&gt;&lt;P&gt;PO_ITEM (Purchase order item): 00010&lt;/P&gt;&lt;P&gt;TAX_CODE (Tax code): VN&lt;/P&gt;&lt;P&gt;ITEM_AMOUNT (Item amount): 100&lt;/P&gt;&lt;P&gt;QUANTITY (Quantity): 10&lt;/P&gt;&lt;P&gt;PO_UNIT (Unit of measure): PC&lt;/P&gt;&lt;P&gt;For more information, see the parameter documentation for tables HeaderData and Itemdata.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: Incoming Invoice in Foreign Currency, Goods-Receipt-Based&lt;/P&gt;&lt;P&gt;Invoice Verification and Tax Information&lt;/P&gt;&lt;P&gt;This example specifies the header data that you need to enter in table Headerdata, the item data that you need to enter in table Itemdata and the tax information that you need to enter in table TaxData to post an invoice in a foreign currency.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Purchase order: 10 pieces of material A at 10 USD/piece&lt;/P&gt;&lt;P&gt;First goods receipt: 4 pieces of material A&lt;/P&gt;&lt;P&gt;Second goods receipt: 6 pieces of material A&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You receive an invoice against this purchase order, with reference to purchase order number 4500007505, order item 10, goods receipt document 50010095, 2000, item 1. The invoice is for a quantity of 4 pieces of material A, a gross amount of 46.60 USD and 16% sales tax (6.60 USD). Enter the following data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table HeaderData&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_IND (Post invoice/credit memo): X&lt;/P&gt;&lt;P&gt;DOC_DATE (Document date): 05.20.2000&lt;/P&gt;&lt;P&gt;PSTNG_DATE (Posting date): 05.23.2000&lt;/P&gt;&lt;P&gt;COMP_CODE (Company code): 1000&lt;/P&gt;&lt;P&gt;CURRENCY (Currency key): USD&lt;/P&gt;&lt;P&gt;GROSS_AMOUNT (Gross amount): 46.60&lt;/P&gt;&lt;P&gt;Table ItemData&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_DOC_ITEM (Invoice document item): 00001&lt;/P&gt;&lt;P&gt;PO_NUMBER (Purchase order number): 4500007505&lt;/P&gt;&lt;P&gt;PO_ITEM (Purchase order item): 00010&lt;/P&gt;&lt;P&gt;REF_DOC (Goods receipt document): 50010095&lt;/P&gt;&lt;P&gt;REF_DOC_YEAR (Fiscal year of current period): 2000&lt;/P&gt;&lt;P&gt;REF_DOC_ITEM (Goods receipt document item): 1&lt;/P&gt;&lt;P&gt;TAX_CODE (Tax code): VN&lt;/P&gt;&lt;P&gt;ITEM_AMOUNT (Item amount): 40.00&lt;/P&gt;&lt;P&gt;QUANTITY (Quantity): 4&lt;/P&gt;&lt;P&gt;PO_UNIT (Unit of measure): PC&lt;/P&gt;&lt;P&gt;Table TaxData&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TAX_CODE (Sales tax code): VN&lt;/P&gt;&lt;P&gt;TAX_AMOUNT (Tax amount in document currency): USD 6.60&lt;/P&gt;&lt;P&gt;For more information, see the parameter documentation for tables HeaderData, ItemData, and TaxData.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: Incoming invoice for blanket purchase order&lt;/P&gt;&lt;P&gt;This invoice shows which header data you need to enter in table HeaderData, which item data you need to enter in table ItemData, and which account assignment data you need to enter in table AccountingData in order to post an incoming invoice for a blanket purchase order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You receive an invoice for the blanket PO 4500015172, PO item 10 for an amount 110 USD incl. sales tax at 10%. You want to distribute the invoice amount to the cost centers 1200 and 1500. Enter, for example, the following data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table HeaderData&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_IND (Post invoice/credit memo): X&lt;/P&gt;&lt;P&gt;DOC_DATE (Document date): 02.19.2001&lt;/P&gt;&lt;P&gt;PSTING_DATE (Posting date): 02.21.2001&lt;/P&gt;&lt;P&gt;COMP_CODE (Company code): 1000&lt;/P&gt;&lt;P&gt;GROSS_AMOUNT (Gross amount): 110&lt;/P&gt;&lt;P&gt;CURRENCY (Currency): USD&lt;/P&gt;&lt;P&gt;CALC_TAX_IND (Calculate tax): X&lt;/P&gt;&lt;P&gt;Table ItemData&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_DOC_ITEM (Item in the invoice document): 00001&lt;/P&gt;&lt;P&gt;PO_NUMBER (PO number): 4500015172&lt;/P&gt;&lt;P&gt;PO_ITEM (PO item): 00010&lt;/P&gt;&lt;P&gt;TAX_CODE (Tax code): V1&lt;/P&gt;&lt;P&gt;ITEM_AMOUNT (Item amount): 100&lt;/P&gt;&lt;P&gt;Table AccountingData&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1st line: Change account assignment data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_DOC_ITEM (Document item in invoice document): 0001&lt;/P&gt;&lt;P&gt;SERIAL_NO (Serial number for the acc. assignment): 01&lt;/P&gt;&lt;P&gt;TAX_CODE (Tax code): V1&lt;/P&gt;&lt;P&gt;ITEM_AMOUNT (Amount in document currency): 30&lt;/P&gt;&lt;P&gt;GL_ACCOUNT (G/L account number): 890000&lt;/P&gt;&lt;P&gt;COSTCENTER (Cost center): 1200&lt;/P&gt;&lt;P&gt;2nd line: Add unplanned account assignment&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_DOC_ITEM (Document item in invoice document): 0001&lt;/P&gt;&lt;P&gt;XUNPL (Unplanned acct. assignment from IV): X&lt;/P&gt;&lt;P&gt;TAX_CODE (Tax code): V1&lt;/P&gt;&lt;P&gt;ITEM_AMOUNT (Amount in document currency): 70&lt;/P&gt;&lt;P&gt;GL_ACCOUNT (G/L account number): 890000&lt;/P&gt;&lt;P&gt;COSTCENTER (Cost center): 1500&lt;/P&gt;&lt;P&gt;In the case of a blanket purchase order, the following fields for quantities and units of measurement must not be filled in the tables ItemData and AccountingData:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Quantity (QUANTITY)&lt;/P&gt;&lt;P&gt;PO_UNIT (PO unit of measure)&lt;/P&gt;&lt;P&gt;PO_UNIT_ISO (PO unit of measure in ISO code)&lt;/P&gt;&lt;P&gt;PO_PR_QNT (Quantity in PO price unit of measure)&lt;/P&gt;&lt;P&gt;PO_PR_UOM (PO price unit of measure)&lt;/P&gt;&lt;P&gt;PO_PR_UOM_ISO (PO price unit of measure in ISO code)&lt;/P&gt;&lt;P&gt;For more information, see the parameter documentation for tables HeaderData, ItemData, and AccountingData, or in the SAP Library under Logistics Invoice Verification.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: Change account assignments and add unplanned assignments&lt;/P&gt;&lt;P&gt;This example shows the header data that you need to enter in table Headerdata, the item data that you need to enter in table Itemdata, and the account assignment information that you need to enter in table AccountingData to change, add, and post account assignments for an invoice. If you want to change or add account assignments, there must be a non-valuated goods receipt or no goods receipt in the system. Goods-receipt-based invoice verification is specified.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Purchase order: 300 pieces of material A at 1 USD/piece&lt;/P&gt;&lt;P&gt;Goods receipt: 300 pieces of material A&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This purchase order is subject to account assignment. You receive an invoice for it, refering to purchase order number 4500006846, order item 10, goods receipt document 50008849, 2000, item 1. The invoice is for a quantity of 100 pieces of material A, with a gross invoice amount of USD 116.00, including 16% sales tax. You want to change the planned account assignment for the second account assignment item and add an unplanned account assignment. Enter the following data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table HeaderData&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_IND (Post invoice/credit memo): X&lt;/P&gt;&lt;P&gt;DOC_DATE (Document date): 08.05.2000&lt;/P&gt;&lt;P&gt;PSTNG_DATE (Posting date): 08.08.2000&lt;/P&gt;&lt;P&gt;COMP_CODE (Company code): 1000&lt;/P&gt;&lt;P&gt;CURRENCY (Currency key): USD&lt;/P&gt;&lt;P&gt;GROSS_AMOUNT (Gross amount): 17.40&lt;/P&gt;&lt;P&gt;CALC_TAX_IND (Calculate tax automatically): X&lt;/P&gt;&lt;P&gt;PMNTTRMS (Terms of payment key): 0001&lt;/P&gt;&lt;P&gt;Table ItemData&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_DOC_ITEM (Invoice document item): 00001&lt;/P&gt;&lt;P&gt;PO_NUMBER (Purchase order number): 4500006846&lt;/P&gt;&lt;P&gt;PO_ITEM (Purchase order item): 00010&lt;/P&gt;&lt;P&gt;REF_DOC (Goods receipt document): 500008849&lt;/P&gt;&lt;P&gt;REF_DOC_YEAR (Fiscal year of current period): 2000&lt;/P&gt;&lt;P&gt;REF_DOC_ITEM (Goods receipt document item): 1&lt;/P&gt;&lt;P&gt;TAX_CODE (Tax code): VN&lt;/P&gt;&lt;P&gt;ITEM_AMOUNT (Item amount): 100&lt;/P&gt;&lt;P&gt;QUANTITY (Quantity): 100&lt;/P&gt;&lt;P&gt;PO_UNIT (Unit of measure): PC&lt;/P&gt;&lt;P&gt;Table AccountingData&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Row 1: Change second account assignment item&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_DOC_ITEM (Invoice document item): 0001&lt;/P&gt;&lt;P&gt;SERIAL_NO (Account assignment serial number): 02&lt;/P&gt;&lt;P&gt;TAX_CODE (Tax code): VN&lt;/P&gt;&lt;P&gt;ITEM_AMOUNT (Amount in document currency): 10.00&lt;/P&gt;&lt;P&gt;QUANTITY (Quantity): 10&lt;/P&gt;&lt;P&gt;PO_UNIT (Order unit): PC&lt;/P&gt;&lt;P&gt;GL_ACCOUNT (G/L account number): 890000&lt;/P&gt;&lt;P&gt;COSTCENTER (Cost center): 1200&lt;/P&gt;&lt;P&gt;Row 2: Add unplanned account assignment&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_DOC_ITEM (Invoice document item): 0001&lt;/P&gt;&lt;P&gt;XUNPL (Unplanned account assignment in Invoice Verification): X&lt;/P&gt;&lt;P&gt;TAX_CODE (Tax code): VN&lt;/P&gt;&lt;P&gt;ITEM_AMOUNT (Amount in document currency): 5.00&lt;/P&gt;&lt;P&gt;QUANTITY (Quantity): 5&lt;/P&gt;&lt;P&gt;PO_UNIT (Order unit): PC&lt;/P&gt;&lt;P&gt;GL_ACCOUNT (G/L account number): 890000&lt;/P&gt;&lt;P&gt;COSTCENTER (Cost center): 1200&lt;/P&gt;&lt;P&gt;For more information, see the parameter documentation for tables HeaderData, ItemData, and TaxData, or Logistics Invoice Verification in the SAP Library.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: Invoice with Planned Delivery Costs&lt;/P&gt;&lt;P&gt;This examples shows the header data that you need to enter in table HeaderData, the item data that you need to enter in table ItemData, and the tax information that you need to enter in table TaxData to post an invoice containing planned delivery costs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Purchase order: 100 pieces of material A at 1 USD/piece&lt;/P&gt;&lt;P&gt;Goods receipt: 100 pieces of material A&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You receive an invoice for this purchase order refering to purchase order number 4500006986, order item 10, for a quantity of 100 pieces of material A and 136 USD, including 16% sales tax and 20 USD planned delivery costs. Enter the following data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table HeaderData&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_IND (Post invoice/credit memo): X&lt;/P&gt;&lt;P&gt;DOC_DATE (Document date): 08.10.2000&lt;/P&gt;&lt;P&gt;PSTNG_DATE (Posting date): 08.12.2000&lt;/P&gt;&lt;P&gt;COMP_CODE (Company code): 1000&lt;/P&gt;&lt;P&gt;CURRENCY (Currency key): USD&lt;/P&gt;&lt;P&gt;GROSS_AMOUNT (Gross amount): 136,00&lt;/P&gt;&lt;P&gt;Table ItemData&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Row 1: Posting the purchase order item&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_DOC_ITEM (Invoice document item): 00001&lt;/P&gt;&lt;P&gt;PO_NUMBER (Purchase order number): 4500006986&lt;/P&gt;&lt;P&gt;PO_ITEM (Order item): 00010&lt;/P&gt;&lt;P&gt;TAX_CODE (Sales tax code): VN&lt;/P&gt;&lt;P&gt;ITEM_AMOUNT (Item amount): 100.00&lt;/P&gt;&lt;P&gt;QUANTITY (Quantity): 100&lt;/P&gt;&lt;P&gt;PO_UNIT (Unit of measure): PC&lt;/P&gt;&lt;P&gt;Row 2: Posting the planned delivery costs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_DOC_ITEM (Invoice document item): 00002&lt;/P&gt;&lt;P&gt;PO_NUMBER (Order number): 4500006986&lt;/P&gt;&lt;P&gt;PO_ITEM (Order item): 00010&lt;/P&gt;&lt;P&gt;ITEM_AMOUNT (Item amount): 20.00&lt;/P&gt;&lt;P&gt;QUANTITY (Quantity): 100&lt;/P&gt;&lt;P&gt;PO_UNIT (Unit of measure): PC&lt;/P&gt;&lt;P&gt;COND_TYPE (Condition type): FRB1&lt;/P&gt;&lt;P&gt;Table TaxData&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TAX_CODE (Sales tax code): VN&lt;/P&gt;&lt;P&gt;TAX_AMOUNT (Tax amount in document currency): 16.00&lt;/P&gt;&lt;P&gt;For more information, see the parameter documentation for tables HeaderData, ItemData, and TaxData.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: Incoming invoice with withholding tax.&lt;/P&gt;&lt;P&gt;This example shows you what header data you can enter in table HeaderData, and what item data and withholding tax information you can enter in table TaxData in order to park an incoming invoice with withholding tax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Purchase order: 10 pieces of material A at $10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Goods receipt: 10 pieces of material A&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You receive an invoice for this delivery with reference to purchase order number 4500007505, PO item 10, GR document 50010095 2000, Item 1. The invoice is for a quantity of 10 pieces and a gross amount of 100 USD. You have to pay 10% withholding tax for the gross amount. Enter the following data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table HeaderData&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_IND (Invoice/Credit memo): X&lt;/P&gt;&lt;P&gt;DOC_DATE (Document date): 05.20.2000&lt;/P&gt;&lt;P&gt;PSTNG_DATE (Posting date): 05.23.2000&lt;/P&gt;&lt;P&gt;COMP_CODE (Company code): WT01&lt;/P&gt;&lt;P&gt;CURRENCY (Currency key): USD&lt;/P&gt;&lt;P&gt;GROSS_AMOUNT (Gross amount): 100 USD&lt;/P&gt;&lt;P&gt;Table ItemData&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_DOC_ITEM (Item from invoice document): 00001&lt;/P&gt;&lt;P&gt;PO_NUMBER (PO number): 4500007505&lt;/P&gt;&lt;P&gt;PO_ITEM (PO item): 00010&lt;/P&gt;&lt;P&gt;REF_DOC (GR document): 50010095&lt;/P&gt;&lt;P&gt;REF_DOC_YEAR (Fiscal year of the current period): 2000&lt;/P&gt;&lt;P&gt;REF_DOC_ITEM (Item in a GR document): 1&lt;/P&gt;&lt;P&gt;TAX_CODE (Tax code): V0&lt;/P&gt;&lt;P&gt;ITEM_AMOUNT (Item amount): $100&lt;/P&gt;&lt;P&gt;QUANTITY (Quantity): 10&lt;/P&gt;&lt;P&gt;PO_UNIT (Unit of measure): PC&lt;/P&gt;&lt;P&gt;Table WithTaxData&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SPLIT_KEY (Grouping key for withholding tax split): 0001&lt;/P&gt;&lt;P&gt;WI_TAX_TYPE (Code for withholding tax type): R1&lt;/P&gt;&lt;P&gt;WI_TAX_CODE (Withholding tax code): 01&lt;/P&gt;&lt;P&gt;WI_TAX_BASE (Withholding tax base amount): 100&lt;/P&gt;&lt;P&gt;WI_TAX_AMT (Withholding tax amount in doc. currency): 10.00&lt;/P&gt;&lt;P&gt;For more information, see the parameter documentation for tables HeaderData, ItemData, and WithTaxData.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: Incoming invoice with amount split.&lt;/P&gt;&lt;P&gt;This example shows you what header data you need to enter in table HeaderData, what item data you enter in table ItemData, and what information you can enter in table VendorSplitData in order to create an invoice with an amount split.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Purchase order: 10 pieces of material A at 10 USD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Goods receipt: 10 pieces of material A&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You receive an invoice for this purchase order with reference to PO number 4500007505, PO item 10, GR document 50010095, item 1. The invoice is for a quantity of 10 pieces and a gross amount of 100 USD. You want to distribute the gross amount to two vendor lines. 40% of the gross amount should be paid immediately by check, and 60% of the gross amount should be paid within 14 days, taking into account a 3% cash discount. Enter the following data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table HeaderData&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_IND (Invoice/Credit memo): X&lt;/P&gt;&lt;P&gt;DOC_DATE (Document date): 05.20.2000&lt;/P&gt;&lt;P&gt;PSTNG_DATE (Posting date): 05.23.2000&lt;/P&gt;&lt;P&gt;COMP_CODE (Company code): 0001&lt;/P&gt;&lt;P&gt;CURRENCY (Currency key): USD&lt;/P&gt;&lt;P&gt;GROSS_AMOUNT (Gross amount): 100.00&lt;/P&gt;&lt;P&gt;Table ItemData&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_DOC_ITEM (Item from the invoice document): 00001&lt;/P&gt;&lt;P&gt;PO_NUMBER (PO number): 4500007505&lt;/P&gt;&lt;P&gt;PO_ITEM (PO item): 00010&lt;/P&gt;&lt;P&gt;REF_DOC (GR document): 50010095&lt;/P&gt;&lt;P&gt;REF_DOC_YEAR (Fiscal year for the current period): 2000&lt;/P&gt;&lt;P&gt;REF_DOC_ITEM (Item from a GR document): 1&lt;/P&gt;&lt;P&gt;TAX_CODE (Tax code): V0&lt;/P&gt;&lt;P&gt;ITEM_AMOUNT (Item amount): 100&lt;/P&gt;&lt;P&gt;QUANTITY (Quantity): 10.00&lt;/P&gt;&lt;P&gt;PO_UNIT (Unit of measure): PC&lt;/P&gt;&lt;P&gt;Table VendorItemSplitData&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1st vendor line&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SPLIT_KEY (Grouping key for split in the vendor line): 0001&lt;/P&gt;&lt;P&gt;SPLIT_AMOUNT (Gross invoice partial amount in doc. currency): 40.00&lt;/P&gt;&lt;P&gt;PYMT_METH (Payment method): S&lt;/P&gt;&lt;P&gt;TAX_CODE (Tax code): V0&lt;/P&gt;&lt;P&gt;PMNTTRMS (Payment terms key): 0001&lt;/P&gt;&lt;P&gt;2nd vendor line&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SPLIT_KEY (Grouping key for split in the vendor line): 0002&lt;/P&gt;&lt;P&gt;SPLIT_AMOUNT (Gross invoice partial amount in doc. currency): 60.00&lt;/P&gt;&lt;P&gt;PYMT_METH (Payment method): U&lt;/P&gt;&lt;P&gt;TAX_CODE (Tax code): V0&lt;/P&gt;&lt;P&gt;PMNTTRMS (Payment terms key): 0003&lt;/P&gt;&lt;P&gt;For more information, see the parameter documentation for tables HeaderData, ItemData, and VendorItemSplitData.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You recieve an invoice with reference to the order number 4500006846, order item 10. The invoice is for a 100 pieces of material A, with a gross amount of 150.80 USD, including 16% value-added tax. The invoice includes a G/L account posting of 10 USD to account 400000 in company code 1 and a material account posting of material MAT01 for 20 USD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enter the following data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table HeaderData&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_IND (post invoice/credit memo): X&lt;/P&gt;&lt;P&gt;DOC_DATE (Document date): 05.08.2000&lt;/P&gt;&lt;P&gt;PSTNG_DATE (Posting date): 08.08.2000&lt;/P&gt;&lt;P&gt;COMP_CODE (Company code): 1000&lt;/P&gt;&lt;P&gt;CURRENCY (Currency): USD&lt;/P&gt;&lt;P&gt;GROSS_AMOUNT (Gross amount): 150,80&lt;/P&gt;&lt;P&gt;CALC_TAX_IND (Calculate tax): X&lt;/P&gt;&lt;P&gt;PMNTTRMS (Terms of payment): 0001&lt;/P&gt;&lt;P&gt;Table ItemData&lt;/P&gt;&lt;P&gt;INVOICE_DOC_ITEM (Invoice document item): 00001&lt;/P&gt;&lt;P&gt;PO_NUMBER (Purchase order number): 4500006846&lt;/P&gt;&lt;P&gt;PO_ITEM (PO item): 00010&lt;/P&gt;&lt;P&gt;TAX_CODE (tax code): VN&lt;/P&gt;&lt;P&gt;ITEM_AMOUNT (Amount in document currency): 100&lt;/P&gt;&lt;P&gt;QUANTITY: 100&lt;/P&gt;&lt;P&gt;PO_UNIT (Unit of measure): ST&lt;/P&gt;&lt;P&gt;Table GlAccountData&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_DOC_ITEM (Document item in invoice document): 00001&lt;/P&gt;&lt;P&gt;GL_ACCOUNT (G/L account): 400000&lt;/P&gt;&lt;P&gt;ITEM_AMOUNT (Amount in document currency): 10,00&lt;/P&gt;&lt;P&gt;DB_CR_IND (Debit/credit indicator): S&lt;/P&gt;&lt;P&gt;COMP_CODE (Company code): 0001&lt;/P&gt;&lt;P&gt;TAX_CODE (Tax code): VN&lt;/P&gt;&lt;P&gt;COSTCENTER (Cost center): 1&lt;/P&gt;&lt;P&gt;Table MaterialData&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_DOC_ITEM (Document item in invoice document): 0001&lt;/P&gt;&lt;P&gt;MATERIAL (MATERIAL): MAT01&lt;/P&gt;&lt;P&gt;PLANT (Valuation area): 0001&lt;/P&gt;&lt;P&gt;DB_CR_INP (Debit/credit indicator): S&lt;/P&gt;&lt;P&gt;ITEM_AMOUNT (Amount in document currency): 10,00&lt;/P&gt;&lt;P&gt;QUANTITY (Quantity): 1&lt;/P&gt;&lt;P&gt;PO_UNIT (PO unit of measure): ST&lt;/P&gt;&lt;P&gt;You can find further information in the parameter documentation for tables HeaderData, ItemData, GlAccountData and MaterialData or in the SAP Library under Logistics - Invoice Verification&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: Invoice for a purchase order for external services and service-based invoice verification.&lt;/P&gt;&lt;P&gt;This example shows you which header data to enter in table HeaderData, which item data to enter in table ItemData, and which account assignment data to enter in table AccountingData in order to enter and post an incoming invoice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You receive an invoice with reference to the PO number 4500000191, PO item 10. Two services A and B are invoiced, each with a quantity of six service units. Service A has a gross amount of 580 USD incl. 16% tax. Service B has 812 USD incl. 16% tax. Service A has an account assignment of 50% to both cost centers 1000 and 2000. Service B also has an account assignment to cost centers 1000 and 3000. The service acceptance was made for both services jointly with the service entry sheet number 1000000022.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enter the following data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table HeaderData&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_IND (Post invoice/credit memo): X&lt;/P&gt;&lt;P&gt;DOC_TYPE (Document type): RE&lt;/P&gt;&lt;P&gt;DOC_DATE (Document date): 01.10.2002&lt;/P&gt;&lt;P&gt;PSTNG_DATE (Posting date): 01.10.2002&lt;/P&gt;&lt;P&gt;COMP_CODE (Company code): 0001&lt;/P&gt;&lt;P&gt;CURRENCY (Currency key): USD&lt;/P&gt;&lt;P&gt;GROSS_AMOUNT (Gross amount): 1392.00&lt;/P&gt;&lt;P&gt;CALC_TAX_IND (Calculate tax automatically): X&lt;/P&gt;&lt;P&gt;PMNTTRMS (Payment terms key): 0002&lt;/P&gt;&lt;P&gt;Table ItemData&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First Entry for Service A:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_DOC_ITEM (Item in invoice document): 000001&lt;/P&gt;&lt;P&gt;PO_NUMBER (PO number): 4500000191&lt;/P&gt;&lt;P&gt;PO_ITEM (PO item): 00010&lt;/P&gt;&lt;P&gt;TAX_CODE (Tax code): V1&lt;/P&gt;&lt;P&gt;ITEM_AMOUNT (Item amount): 250.00&lt;/P&gt;&lt;P&gt;QUANTITY (Quantity): 1&lt;/P&gt;&lt;P&gt;PO_UNIT (Unit of measure): LE&lt;/P&gt;&lt;P&gt;SHEET_NO (Service entry sheet number): 1000000022&lt;/P&gt;&lt;P&gt;SHEET_ITEM (Line number) : 10&lt;/P&gt;&lt;P&gt;Second Entry for Service A:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_DOC_ITEM (Item in invoice document): 000002&lt;/P&gt;&lt;P&gt;PO_NUMBER (PO number): 4500000191&lt;/P&gt;&lt;P&gt;PO_ITEM (PO item): 00010&lt;/P&gt;&lt;P&gt;TAX_CODE (Tax code): V1&lt;/P&gt;&lt;P&gt;ITEM_AMOUNT (Item amount): 250,00&lt;/P&gt;&lt;P&gt;QUANTITY (Quantity): 3&lt;/P&gt;&lt;P&gt;PO_UNIT (Unit of measure): LE&lt;/P&gt;&lt;P&gt;SHEET_NO (Service entry sheet number): 1000000022&lt;/P&gt;&lt;P&gt;SHEET_ITEM (Line number) : 10&lt;/P&gt;&lt;P&gt;First Entry for Service B:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_DOC_ITEM (Item in invoice document): 000002&lt;/P&gt;&lt;P&gt;PO_NUMBER (PO number): 4500000191&lt;/P&gt;&lt;P&gt;PO_ITEM (PO item): 00010&lt;/P&gt;&lt;P&gt;TAX_CODE (Tax code): V1&lt;/P&gt;&lt;P&gt;ITEM_AMOUNT (Item amount): 350.00&lt;/P&gt;&lt;P&gt;QUANTITY (Quantity): 1&lt;/P&gt;&lt;P&gt;PO_UNIT (Unit of measure): LE&lt;/P&gt;&lt;P&gt;SHEET_NO (Service entry sheet number): 1000000022&lt;/P&gt;&lt;P&gt;SHEET_ITEM (Line number) : 20&lt;/P&gt;&lt;P&gt;Second Entry for Service B:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_DOC_ITEM (Item in invoice document): 000004&lt;/P&gt;&lt;P&gt;PO_NUMBER (PO number): 4500000191&lt;/P&gt;&lt;P&gt;PO_ITEM (PO item): 00010&lt;/P&gt;&lt;P&gt;TAX_CODE (Tax code): V1&lt;/P&gt;&lt;P&gt;ITEM_AMOUNT (Item amount): 350,00&lt;/P&gt;&lt;P&gt;QUANTITY (Quantity): 3&lt;/P&gt;&lt;P&gt;PO_UNIT (Unit of measure): LE&lt;/P&gt;&lt;P&gt;SHEET_NO (Service entry sheet number): 1000000022&lt;/P&gt;&lt;P&gt;SHEET_ITEM (Line number) : 20&lt;/P&gt;&lt;P&gt;Table AccountingData&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First account assignment for service A:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_DOC_ITEM (Document item in invoice document): 000001&lt;/P&gt;&lt;P&gt;SERIAL_NO (Sequential number of the account assignment): 01&lt;/P&gt;&lt;P&gt;TAX_CODE (Tax code): V1&lt;/P&gt;&lt;P&gt;ITEM_AMOUNT (Amount in document currency): 250.00&lt;/P&gt;&lt;P&gt;QUANTITY (Quantity): 3&lt;/P&gt;&lt;P&gt;PO_UNIT (PO unit of measure): LE&lt;/P&gt;&lt;P&gt;GL_ACCOUNT (G/L account number): 400000&lt;/P&gt;&lt;P&gt;COSTCENTER (Cost center): 1000&lt;/P&gt;&lt;P&gt;Second account assignment for service A:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_DOC_ITEM (Document item in invoice document): 000002&lt;/P&gt;&lt;P&gt;SERIAL_NO (Sequential number of the account assignment): 02&lt;/P&gt;&lt;P&gt;TAX_CODE (Tax code): V1&lt;/P&gt;&lt;P&gt;ITEM_AMOUNT (Amount in document currency): 250.00&lt;/P&gt;&lt;P&gt;QUANTITY (Quantity): 3&lt;/P&gt;&lt;P&gt;PO_UNIT (PO unit of measure): LE&lt;/P&gt;&lt;P&gt;GL_ACCOUNT (G/L account number): 400000&lt;/P&gt;&lt;P&gt;COSTCENTER (Cost center): 2000&lt;/P&gt;&lt;P&gt;First account assignment for service B:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_DOC_ITEM (Document item in invoice document): 000003&lt;/P&gt;&lt;P&gt;SERIAL_NO (Sequential number of the account assignment): 01&lt;/P&gt;&lt;P&gt;TAX_CODE (Tax code): V1&lt;/P&gt;&lt;P&gt;ITEM_AMOUNT (Amount in document currency): 350.00&lt;/P&gt;&lt;P&gt;QUANTITY (Quantity): 3&lt;/P&gt;&lt;P&gt;PO_UNIT (PO unit of measure): LE&lt;/P&gt;&lt;P&gt;GL_ACCOUNT (G/L account number): 400000&lt;/P&gt;&lt;P&gt;COSTCENTER (Cost center): 1000&lt;/P&gt;&lt;P&gt;Second account assignment for service B:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_DOC_ITEM (Document item in invoice document): 000004&lt;/P&gt;&lt;P&gt;SERIAL_NO (Sequential number of the account assignment): 03&lt;/P&gt;&lt;P&gt;TAX_CODE (Tax code): V1&lt;/P&gt;&lt;P&gt;ITEM_AMOUNT (Amount in document currency): 350.00&lt;/P&gt;&lt;P&gt;QUANTITY (Quantity): 3&lt;/P&gt;&lt;P&gt;PO_UNIT (PO unit of measure): LE&lt;/P&gt;&lt;P&gt;GL_ACCOUNT (G/L account number): 400000&lt;/P&gt;&lt;P&gt;COSTCENTER (Cost center): 3000&lt;/P&gt;&lt;P&gt;For more information, see the parameter documentation for the tables HeaderData, ItemData, and AccountingData, or see the SAP Library under Logistics Invoice Verification.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: Incoming invoice for a one-time vendor&lt;/P&gt;&lt;P&gt;This example demonstrates the procedure for entering and posting an incoming invoice for a one-time vendor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You do not need to provide table AddressData with data to do this. If you do not enter any data in the table AddressData, the address data for the one-time vendor is transfered exactly from the purchase order to the invoice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you use table AddressData to transfer the data, the system copies the address data for the one-time vendor from the purchase order to the invoice and then overwrites or adds to the data with the fields from table AddressData.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The name 'SAP AG', postal code '60000', and street and house number 'Neurottstraße 16' are stored in the purchase order for the one-time vendor. You receive an invoice with the one-time vendor address 'SAP AG', postal code '69190' and city 'Wallorf'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You enter the following data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table AddressData&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ACC_1_TIME (Indicator: One-time vendor): X&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NAME (Name): SAP AG&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;POSTL_CODE (Postal code): 69190&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CITY (city): Walldorf&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The invoice is posted with the following one-time vendor address data: Name 'SAP AG', street and house number 'Neurottstraße 16', postal code '69190', city 'Walldorf'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more information, see the parameter documentation for table AddressData&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: Incoming invoice for a different payee&lt;/P&gt;&lt;P&gt;This example demonstrates which data you must enter in table AddressData in order to enter and post an invoice for a different payee.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You receive an invoice for a different payee with name 'SAP AG', postal code '69190', city 'Walldorf', bank number '38070724' and account number '4711'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enter the following data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table AddressData&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ACC_1_TIME (Indicator: One-time vendor): ' '&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NAME (Name): SAP AG&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;POSTL_CODE (Postal code): 69190&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CITY (City): Walldorf&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BANK_NO (Bank number): 38070724&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BANK_ACCT (Bank account number): 4711&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For additional information, see the parameter documentation for table AddressData&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameter&lt;/P&gt;&lt;P&gt;HEADERDATA&lt;/P&gt;&lt;P&gt;ADDRESSDATA&lt;/P&gt;&lt;P&gt;INVOICEDOCNUMBER&lt;/P&gt;&lt;P&gt;FISCALYEAR&lt;/P&gt;&lt;P&gt;ITEMDATA&lt;/P&gt;&lt;P&gt;ACCOUNTINGDATA&lt;/P&gt;&lt;P&gt;GLACCOUNTDATA&lt;/P&gt;&lt;P&gt;MATERIALDATA&lt;/P&gt;&lt;P&gt;TAXDATA&lt;/P&gt;&lt;P&gt;WITHTAXDATA&lt;/P&gt;&lt;P&gt;VENDORITEMSPLITDATA&lt;/P&gt;&lt;P&gt;RETURN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exceptions&lt;/P&gt;&lt;P&gt;Function group&lt;/P&gt;&lt;P&gt;MRM_BAPI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2006 08:57:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-miro-document-creation/m-p/1448255#M212481</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-07T08:57:22Z</dc:date>
    </item>
    <item>
      <title>Re: bapi for miro  document creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-miro-document-creation/m-p/1448256#M212482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am with a problem too. In my program, I need creat the document of MIRO, but I need creat too, a Nota Fiscal(NF), and I am not needing creat this one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working with SAS 4.7(620).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Sep 2006 12:55:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-miro-document-creation/m-p/1448256#M212482</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-08T12:55:54Z</dc:date>
    </item>
    <item>
      <title>Re: bapi for miro  document creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-miro-document-creation/m-p/1448257#M212483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry... I wrong my e-mail.... see above:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am with a problem too. In my program, I know creat the document of MIRO, but I need creat too, a Nota Fiscal(NF), and this, I don't know how creat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working with SAP 4.7(620).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Sep 2006 15:39:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-miro-document-creation/m-p/1448257#M212483</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-08T15:39:04Z</dc:date>
    </item>
  </channel>
</rss>

