brotherton-erpnext/erpnext/docs/current/models/accounts/purchase_invoice_item.md

16 KiB

Version 6.x.x
<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/accounts/doctype/purchase_invoice_item"
	target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>

Child Table

<p><b>Table Name:</b> <code>tabPurchase Invoice Item</code></p>

Fields

    <tr >
        <td>1</td>
        <td ><code>item_code</code></td>
        <td >
            Link</td>
        <td >
            Item
            
        </td>
        <td>

Item

        </td>
    </tr>
    
    <tr >
        <td>2</td>
        <td ><code>col_break1</code></td>
        <td class="info">
            Column Break</td>
        <td >
            
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>3</td>
        <td class="danger" title="Mandatory"><code>item_name</code></td>
        <td >
            Data</td>
        <td >
            Item Name
            
        </td>
        <td></td>
    </tr>
    
    <tr class="info">
        <td>4</td>
        <td ><code>description_section</code></td>
        <td >
            Section Break</td>
        <td >
            Description
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>5</td>
        <td ><code>description</code></td>
        <td >
            Text Editor</td>
        <td >
            Description
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>6</td>
        <td ><code>image</code></td>
        <td >
            Attach</td>
        <td class="text-muted" title="Hidden">
            Image
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>7</td>
        <td ><code>image_view</code></td>
        <td >
            Image</td>
        <td >
            Image View
            
        </td>
        <td>
            <pre>image</pre>
        </td>
    </tr>
    
    <tr class="info">
        <td>8</td>
        <td ><code>quantity_and_rate</code></td>
        <td >
            Section Break</td>
        <td >
            Quantity and Rate
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>9</td>
        <td class="danger" title="Mandatory"><code>qty</code></td>
        <td >
            Float</td>
        <td >
            Qty
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>10</td>
        <td ><code>col_break2</code></td>
        <td class="info">
            Column Break</td>
        <td >
            
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>11</td>
        <td ><code>uom</code></td>
        <td >
            Link</td>
        <td >
            UOM
            
        </td>
        <td>

UOM

        </td>
    </tr>
    
    <tr >
        <td>12</td>
        <td ><code>conversion_factor</code></td>
        <td >
            Float</td>
        <td >
            Conversion Factor
            
        </td>
        <td></td>
    </tr>
    
    <tr class="info">
        <td>13</td>
        <td ><code>sec_break1</code></td>
        <td >
            Section Break</td>
        <td >
            
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>14</td>
        <td ><code>price_list_rate</code></td>
        <td >
            Currency</td>
        <td >
            Price List Rate
            
        </td>
        <td>
            <pre>currency</pre>
        </td>
    </tr>
    
    <tr >
        <td>15</td>
        <td ><code>discount_percentage</code></td>
        <td >
            Percent</td>
        <td >
            Discount on Price List Rate (%)
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>16</td>
        <td ><code>col_break3</code></td>
        <td class="info">
            Column Break</td>
        <td >
            
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>17</td>
        <td ><code>base_price_list_rate</code></td>
        <td >
            Currency</td>
        <td >
            Price List Rate (Company Currency)
            
        </td>
        <td>
            <pre>Company:company:default_currency</pre>
        </td>
    </tr>
    
    <tr class="info">
        <td>18</td>
        <td ><code>sec_break2</code></td>
        <td >
            Section Break</td>
        <td >
            
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>19</td>
        <td class="danger" title="Mandatory"><code>rate</code></td>
        <td >
            Currency</td>
        <td >
            Rate 
            
        </td>
        <td>
            <pre>currency</pre>
        </td>
    </tr>
    
    <tr >
        <td>20</td>
        <td class="danger" title="Mandatory"><code>amount</code></td>
        <td >
            Currency</td>
        <td >
            Amount
            
        </td>
        <td>
            <pre>currency</pre>
        </td>
    </tr>
    
    <tr >
        <td>21</td>
        <td ><code>col_break4</code></td>
        <td class="info">
            Column Break</td>
        <td >
            
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>22</td>
        <td class="danger" title="Mandatory"><code>base_rate</code></td>
        <td >
            Currency</td>
        <td >
            Rate (Company Currency)
            
        </td>
        <td>
            <pre>Company:company:default_currency</pre>
        </td>
    </tr>
    
    <tr >
        <td>23</td>
        <td class="danger" title="Mandatory"><code>base_amount</code></td>
        <td >
            Currency</td>
        <td >
            Amount (Company Currency)
            
        </td>
        <td>
            <pre>Company:company:default_currency</pre>
        </td>
    </tr>
    
    <tr >
        <td>24</td>
        <td ><code>pricing_rule</code></td>
        <td >
            Link</td>
        <td >
            Pricing Rule
            
        </td>
        <td>

Pricing Rule

        </td>
    </tr>
    
    <tr class="info">
        <td>25</td>
        <td ><code>section_break_22</code></td>
        <td >
            Section Break</td>
        <td >
            
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>26</td>
        <td ><code>net_rate</code></td>
        <td >
            Currency</td>
        <td >
            Net Rate
            
        </td>
        <td>
            <pre>currency</pre>
        </td>
    </tr>
    
    <tr >
        <td>27</td>
        <td ><code>net_amount</code></td>
        <td >
            Currency</td>
        <td >
            Net Amount
            
        </td>
        <td>
            <pre>currency</pre>
        </td>
    </tr>
    
    <tr >
        <td>28</td>
        <td ><code>column_break_25</code></td>
        <td class="info">
            Column Break</td>
        <td >
            
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>29</td>
        <td ><code>base_net_rate</code></td>
        <td >
            Currency</td>
        <td >
            Net Rate (Company Currency)
            
        </td>
        <td>
            <pre>Company:company:default_currency</pre>
        </td>
    </tr>
    
    <tr >
        <td>30</td>
        <td ><code>base_net_amount</code></td>
        <td >
            Currency</td>
        <td >
            Net Amount (Company Currency)
            
        </td>
        <td>
            <pre>Company:company:default_currency</pre>
        </td>
    </tr>
    
    <tr class="info">
        <td>31</td>
        <td ><code>accounting</code></td>
        <td >
            Section Break</td>
        <td >
            Accounting
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>32</td>
        <td ><code>expense_account</code></td>
        <td >
            Link</td>
        <td >
            Expense Head
            
        </td>
        <td>

Account

        </td>
    </tr>
    
    <tr >
        <td>33</td>
        <td ><code>col_break5</code></td>
        <td class="info">
            Column Break</td>
        <td >
            
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>34</td>
        <td ><code>project_name</code></td>
        <td >
            Link</td>
        <td >
            Project Name
            
        </td>
        <td>

Project

        </td>
    </tr>
    
    <tr >
        <td>35</td>
        <td ><code>cost_center</code></td>
        <td >
            Link</td>
        <td >
            Cost Center
            
        </td>
        <td>

Cost Center

        </td>
    </tr>
    
    <tr class="info">
        <td>36</td>
        <td ><code>reference</code></td>
        <td >
            Section Break</td>
        <td >
            Reference
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>37</td>
        <td ><code>brand</code></td>
        <td >
            Data</td>
        <td class="text-muted" title="Hidden">
            Brand
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>38</td>
        <td ><code>item_group</code></td>
        <td >
            Link</td>
        <td class="text-muted" title="Hidden">
            Item Group
            
        </td>
        <td>

Item Group

        </td>
    </tr>
    
    <tr >
        <td>39</td>
        <td ><code>item_tax_rate</code></td>
        <td >
            Small Text</td>
        <td class="text-muted" title="Hidden">
            Item Tax Rate
            <p class="text-muted small">
                Tax detail table fetched from item master as a string and stored in this field.

Used for Taxes and Charges

    <tr >
        <td>40</td>
        <td ><code>item_tax_amount</code></td>
        <td >
            Currency</td>
        <td class="text-muted" title="Hidden">
            Item Tax Amount
            
        </td>
        <td>
            <pre>Company:company:default_currency</pre>
        </td>
    </tr>
    
    <tr >
        <td>41</td>
        <td ><code>purchase_order</code></td>
        <td >
            Link</td>
        <td >
            Purchase Order
            
        </td>
        <td>

Purchase Order

        </td>
    </tr>
    
    <tr >
        <td>42</td>
        <td ><code>col_break6</code></td>
        <td class="info">
            Column Break</td>
        <td >
            
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>43</td>
        <td ><code>po_detail</code></td>
        <td >
            Data</td>
        <td class="text-muted" title="Hidden">
            Purchase Order Item
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>44</td>
        <td ><code>purchase_receipt</code></td>
        <td >
            Link</td>
        <td >
            Purchase Receipt
            
        </td>
        <td>

Purchase Receipt

        </td>
    </tr>
    
    <tr >
        <td>45</td>
        <td ><code>page_break</code></td>
        <td >
            Check</td>
        <td >
            Page Break
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>46</td>
        <td ><code>pr_detail</code></td>
        <td >
            Data</td>
        <td class="text-muted" title="Hidden">
            PR Detail
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>47</td>
        <td ><code>valuation_rate</code></td>
        <td >
            Currency</td>
        <td class="text-muted" title="Hidden">
            Valuation Rate
            
        </td>
        <td>
            <pre>Company:company:default_currency</pre>
        </td>
    </tr>
    
    <tr >
        <td>48</td>
        <td ><code>rm_supp_cost</code></td>
        <td >
            Currency</td>
        <td class="text-muted" title="Hidden">
            Raw Materials Supplied Cost
            
        </td>
        <td>
            <pre>Company:company:default_currency</pre>
        </td>
    </tr>
    
</tbody>
Sr Fieldname Type Label Options
<h4>Child Table Of</h4>
<ul>

    <li>

Purchase Invoice

</ul>