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

44 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"
	target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
<p><b>Table Name:</b> <code>tabPurchase Invoice</code></p>

Fields

    <tr >
        <td>1</td>
        <td ><code>title</code></td>
        <td >
            Data</td>
        <td class="text-muted" title="Hidden">
            Title
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>2</td>
        <td class="danger" title="Mandatory"><code>naming_series</code></td>
        <td >
            Select</td>
        <td >
            Series
            
        </td>
        <td>
            <pre>PINV-

PINV-RET-

    <tr >
        <td>3</td>
        <td ><code>supplier</code></td>
        <td >
            Link</td>
        <td >
            Supplier
            
        </td>
        <td>

Supplier

        </td>
    </tr>
    
    <tr >
        <td>4</td>
        <td ><code>supplier_name</code></td>
        <td >
            Data</td>
        <td >
            Supplier Name
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>5</td>
        <td ><code>address_display</code></td>
        <td >
            Small Text</td>
        <td class="text-muted" title="Hidden">
            Address
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>6</td>
        <td ><code>contact_display</code></td>
        <td >
            Small Text</td>
        <td class="text-muted" title="Hidden">
            Contact
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>7</td>
        <td ><code>contact_mobile</code></td>
        <td >
            Small Text</td>
        <td class="text-muted" title="Hidden">
            Mobile No
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>8</td>
        <td ><code>contact_email</code></td>
        <td >
            Small Text</td>
        <td class="text-muted" title="Hidden">
            Contact Email
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>9</td>
        <td ><code>column_break1</code></td>
        <td class="info">
            Column Break</td>
        <td >
            
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>10</td>
        <td class="danger" title="Mandatory"><code>posting_date</code></td>
        <td >
            Date</td>
        <td >
            Date
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>11</td>
        <td ><code>bill_no</code></td>
        <td >
            Data</td>
        <td >
            Supplier Invoice No
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>12</td>
        <td ><code>bill_date</code></td>
        <td >
            Date</td>
        <td >
            Supplier Invoice Date
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>13</td>
        <td ><code>amended_from</code></td>
        <td >
            Link</td>
        <td >
            Amended From
            
        </td>
        <td>

Purchase Invoice

        </td>
    </tr>
    
    <tr >
        <td>14</td>
        <td ><code>company</code></td>
        <td >
            Link</td>
        <td >
            Company
            
        </td>
        <td>

Company

        </td>
    </tr>
    
    <tr >
        <td>15</td>
        <td ><code>is_return</code></td>
        <td >
            Check</td>
        <td >
            Is Return
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>16</td>
        <td ><code>return_against</code></td>
        <td >
            Link</td>
        <td >
            Return Against Purchase Invoice
            
        </td>
        <td>

Purchase Invoice

        </td>
    </tr>
    
    <tr class="info">
        <td>17</td>
        <td ><code>currency_and_price_list</code></td>
        <td >
            Section Break</td>
        <td >
            Currency and Price List
            
        </td>
        <td>
            <pre>icon-tag</pre>
        </td>
    </tr>
    
    <tr >
        <td>18</td>
        <td ><code>currency</code></td>
        <td >
            Link</td>
        <td >
            Currency
            
        </td>
        <td>

Currency

        </td>
    </tr>
    
    <tr >
        <td>19</td>
        <td ><code>conversion_rate</code></td>
        <td >
            Float</td>
        <td >
            Exchange Rate
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>20</td>
        <td ><code>column_break2</code></td>
        <td class="info">
            Column Break</td>
        <td >
            
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>21</td>
        <td ><code>buying_price_list</code></td>
        <td >
            Link</td>
        <td >
            Price List
            
        </td>
        <td>

Price List

        </td>
    </tr>
    
    <tr >
        <td>22</td>
        <td ><code>price_list_currency</code></td>
        <td >
            Link</td>
        <td >
            Price List Currency
            
        </td>
        <td>

Currency

        </td>
    </tr>
    
    <tr >
        <td>23</td>
        <td ><code>plc_conversion_rate</code></td>
        <td >
            Float</td>
        <td >
            Price List Exchange Rate
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>24</td>
        <td ><code>ignore_pricing_rule</code></td>
        <td >
            Check</td>
        <td >
            Ignore Pricing Rule
            
        </td>
        <td></td>
    </tr>
    
    <tr class="info">
        <td>25</td>
        <td ><code>items_section</code></td>
        <td >
            Section Break</td>
        <td >
            
            
        </td>
        <td>
            <pre>icon-shopping-cart</pre>
        </td>
    </tr>
    
    <tr >
        <td>26</td>
        <td ><code>items</code></td>
        <td >
            Table</td>
        <td >
            Items
            
        </td>
        <td>

Purchase Invoice Item

        </td>
    </tr>
    
    <tr >
        <td>27</td>
        <td ><code>get_items_from_product_bundle</code></td>
        <td >
            Button</td>
        <td >
            Get Items from Product Bundle
            
        </td>
        <td></td>
    </tr>
    
    <tr class="info">
        <td>28</td>
        <td ><code>section_break_26</code></td>
        <td >
            Section Break</td>
        <td >
            
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>29</td>
        <td ><code>base_total</code></td>
        <td >
            Currency</td>
        <td >
            Total (Company Currency)
            
        </td>
        <td>
            <pre>Company:company:default_currency</pre>
        </td>
    </tr>
    
    <tr >
        <td>30</td>
        <td ><code>base_net_total</code></td>
        <td >
            Currency</td>
        <td >
            Net Total (Company Currency)
            
        </td>
        <td>
            <pre>Company:company:default_currency</pre>
        </td>
    </tr>
    
    <tr >
        <td>31</td>
        <td ><code>column_break_28</code></td>
        <td class="info">
            Column Break</td>
        <td >
            
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>32</td>
        <td ><code>total</code></td>
        <td >
            Currency</td>
        <td >
            Total
            
        </td>
        <td>
            <pre>currency</pre>
        </td>
    </tr>
    
    <tr >
        <td>33</td>
        <td ><code>net_total</code></td>
        <td >
            Currency</td>
        <td >
            Net Total
            
        </td>
        <td>
            <pre>currency</pre>
        </td>
    </tr>
    
    <tr class="info">
        <td>34</td>
        <td ><code>taxes_section</code></td>
        <td >
            Section Break</td>
        <td >
            
            
        </td>
        <td>
            <pre>icon-money</pre>
        </td>
    </tr>
    
    <tr >
        <td>35</td>
        <td ><code>taxes_and_charges</code></td>
        <td >
            Link</td>
        <td >
            Taxes and Charges
            
        </td>
        <td>

Purchase Taxes and Charges Template

        </td>
    </tr>
    
    <tr >
        <td>36</td>
        <td ><code>taxes</code></td>
        <td >
            Table</td>
        <td >
            Purchase Taxes and Charges
            
        </td>
        <td>

Purchase Taxes and Charges

        </td>
    </tr>
    
    <tr >
        <td>37</td>
        <td ><code>other_charges_calculation</code></td>
        <td >
            HTML</td>
        <td >
            Taxes and Charges Calculation
            
        </td>
        <td></td>
    </tr>
    
    <tr class="info">
        <td>38</td>
        <td ><code>totals</code></td>
        <td >
            Section Break</td>
        <td >
            
            
        </td>
        <td>
            <pre>icon-money</pre>
        </td>
    </tr>
    
    <tr >
        <td>39</td>
        <td ><code>base_taxes_and_charges_added</code></td>
        <td >
            Currency</td>
        <td >
            Taxes and Charges Added (Company Currency)
            
        </td>
        <td>
            <pre>Company:company:default_currency</pre>
        </td>
    </tr>
    
    <tr >
        <td>40</td>
        <td ><code>base_taxes_and_charges_deducted</code></td>
        <td >
            Currency</td>
        <td >
            Taxes and Charges Deducted (Company Currency)
            
        </td>
        <td>
            <pre>Company:company:default_currency</pre>
        </td>
    </tr>
    
    <tr >
        <td>41</td>
        <td ><code>base_total_taxes_and_charges</code></td>
        <td >
            Currency</td>
        <td >
            Total Taxes and Charges (Company Currency)
            
        </td>
        <td>
            <pre>Company:company:default_currency</pre>
        </td>
    </tr>
    
    <tr >
        <td>42</td>
        <td ><code>column_break_40</code></td>
        <td class="info">
            Column Break</td>
        <td >
            
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>43</td>
        <td ><code>taxes_and_charges_added</code></td>
        <td >
            Currency</td>
        <td >
            Taxes and Charges Added
            
        </td>
        <td>
            <pre>currency</pre>
        </td>
    </tr>
    
    <tr >
        <td>44</td>
        <td ><code>taxes_and_charges_deducted</code></td>
        <td >
            Currency</td>
        <td >
            Taxes and Charges Deducted
            
        </td>
        <td>
            <pre>currency</pre>
        </td>
    </tr>
    
    <tr >
        <td>45</td>
        <td ><code>total_taxes_and_charges</code></td>
        <td >
            Currency</td>
        <td >
            Total Taxes and Charges
            
        </td>
        <td>
            <pre>currency</pre>
        </td>
    </tr>
    
    <tr class="info">
        <td>46</td>
        <td ><code>section_break_44</code></td>
        <td >
            Section Break</td>
        <td >
            Additional Discount
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>47</td>
        <td ><code>apply_discount_on</code></td>
        <td >
            Select</td>
        <td >
            Apply Additional Discount On
            
        </td>
        <td>
            <pre>

Grand Total Net Total

    <tr >
        <td>48</td>
        <td ><code>column_break_46</code></td>
        <td class="info">
            Column Break</td>
        <td >
            
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>49</td>
        <td ><code>discount_amount</code></td>
        <td >
            Currency</td>
        <td >
            Additional Discount Amount
            
        </td>
        <td>
            <pre>currency</pre>
        </td>
    </tr>
    
    <tr >
        <td>50</td>
        <td ><code>base_discount_amount</code></td>
        <td >
            Currency</td>
        <td >
            Additional Discount Amount (Company Currency)
            
        </td>
        <td>
            <pre>Company:company:default_currency</pre>
        </td>
    </tr>
    
    <tr class="info">
        <td>51</td>
        <td ><code>section_break_49</code></td>
        <td >
            Section Break</td>
        <td >
            
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>52</td>
        <td ><code>base_grand_total</code></td>
        <td >
            Currency</td>
        <td >
            Grand Total (Company Currency)
            
        </td>
        <td>
            <pre>Company:company:default_currency</pre>
        </td>
    </tr>
    
    <tr >
        <td>53</td>
        <td ><code>base_in_words</code></td>
        <td >
            Data</td>
        <td >
            In Words (Company Currency)
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>54</td>
        <td ><code>column_break8</code></td>
        <td class="info">
            Column Break</td>
        <td >
            
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>55</td>
        <td ><code>grand_total</code></td>
        <td >
            Currency</td>
        <td >
            Grand Total
            
        </td>
        <td>
            <pre>currency</pre>
        </td>
    </tr>
    
    <tr >
        <td>56</td>
        <td ><code>in_words</code></td>
        <td >
            Data</td>
        <td >
            In Words
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>57</td>
        <td ><code>total_advance</code></td>
        <td >
            Currency</td>
        <td >
            Total Advance
            
        </td>
        <td>
            <pre>party_account_currency</pre>
        </td>
    </tr>
    
    <tr >
        <td>58</td>
        <td ><code>outstanding_amount</code></td>
        <td >
            Currency</td>
        <td >
            Outstanding Amount
            
        </td>
        <td>
            <pre>party_account_currency</pre>
        </td>
    </tr>
    
    <tr class="info">
        <td>59</td>
        <td ><code>write_off</code></td>
        <td >
            Section Break</td>
        <td >
            Write Off
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>60</td>
        <td ><code>write_off_amount</code></td>
        <td >
            Currency</td>
        <td >
            Write Off Amount
            
        </td>
        <td>
            <pre>currency</pre>
        </td>
    </tr>
    
    <tr >
        <td>61</td>
        <td ><code>base_write_off_amount</code></td>
        <td >
            Currency</td>
        <td >
            Write Off Amount (Company Currency)
            
        </td>
        <td>
            <pre>Company:company:default_currency</pre>
        </td>
    </tr>
    
    <tr >
        <td>62</td>
        <td ><code>column_break_61</code></td>
        <td class="info">
            Column Break</td>
        <td >
            
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>63</td>
        <td ><code>write_off_account</code></td>
        <td >
            Link</td>
        <td >
            Write Off Account
            
        </td>
        <td>

Account

        </td>
    </tr>
    
    <tr >
        <td>64</td>
        <td ><code>write_off_cost_center</code></td>
        <td >
            Link</td>
        <td >
            Write Off Cost Center
            
        </td>
        <td>

Cost Center

        </td>
    </tr>
    
    <tr class="info">
        <td>65</td>
        <td ><code>advances_section</code></td>
        <td >
            Section Break</td>
        <td >
            Advance Payments
            
        </td>
        <td>
            <pre>icon-money</pre>
        </td>
    </tr>
    
    <tr >
        <td>66</td>
        <td ><code>get_advances_paid</code></td>
        <td >
            Button</td>
        <td >
            Get Advances Paid
            
        </td>
        <td>
            <pre>get_advances</pre>
        </td>
    </tr>
    
    <tr >
        <td>67</td>
        <td ><code>advances</code></td>
        <td >
            Table</td>
        <td >
            Advances
            
        </td>
        <td>

Purchase Invoice Advance

        </td>
    </tr>
    
    <tr class="info">
        <td>68</td>
        <td ><code>terms_section_break</code></td>
        <td >
            Section Break</td>
        <td >
            Terms and Conditions
            
        </td>
        <td>
            <pre>icon-legal</pre>
        </td>
    </tr>
    
    <tr >
        <td>69</td>
        <td ><code>tc_name</code></td>
        <td >
            Link</td>
        <td >
            Terms
            
        </td>
        <td>

Terms and Conditions

        </td>
    </tr>
    
    <tr >
        <td>70</td>
        <td ><code>terms</code></td>
        <td >
            Text Editor</td>
        <td >
            Terms and Conditions1
            
        </td>
        <td></td>
    </tr>
    
    <tr class="info">
        <td>71</td>
        <td ><code>contact_section</code></td>
        <td >
            Section Break</td>
        <td >
            Contact Details
            
        </td>
        <td>
            <pre>icon-bullhorn</pre>
        </td>
    </tr>
    
    <tr >
        <td>72</td>
        <td ><code>supplier_address</code></td>
        <td >
            Link</td>
        <td >
            Supplier Address
            
        </td>
        <td>

Address

        </td>
    </tr>
    
    <tr >
        <td>73</td>
        <td ><code>col_break23</code></td>
        <td class="info">
            Column Break</td>
        <td >
            
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>74</td>
        <td ><code>contact_person</code></td>
        <td >
            Link</td>
        <td >
            Contact Person
            
        </td>
        <td>

Contact

        </td>
    </tr>
    
    <tr class="info">
        <td>75</td>
        <td ><code>printing_settings</code></td>
        <td >
            Section Break</td>
        <td >
            Printing Settings
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>76</td>
        <td ><code>letter_head</code></td>
        <td >
            Link</td>
        <td >
            Letter Head
            
        </td>
        <td>

Letter Head

        </td>
    </tr>
    
    <tr >
        <td>77</td>
        <td ><code>select_print_heading</code></td>
        <td >
            Link</td>
        <td >
            Print Heading
            
        </td>
        <td>

Print Heading

        </td>
    </tr>
    
    <tr class="info">
        <td>78</td>
        <td ><code>more_info</code></td>
        <td >
            Section Break</td>
        <td >
            More Information
            
        </td>
        <td>
            <pre>icon-file-text</pre>
        </td>
    </tr>
    
    <tr >
        <td>79</td>
        <td class="danger" title="Mandatory"><code>credit_to</code></td>
        <td >
            Link</td>
        <td >
            Credit To
            
        </td>
        <td>

Account

        </td>
    </tr>
    
    <tr >
        <td>80</td>
        <td ><code>party_account_currency</code></td>
        <td >
            Link</td>
        <td class="text-muted" title="Hidden">
            Party Account Currency
            
        </td>
        <td>

Currency

        </td>
    </tr>
    
    <tr >
        <td>81</td>
        <td ><code>is_opening</code></td>
        <td >
            Select</td>
        <td >
            Is Opening
            
        </td>
        <td>
            <pre>No

Yes

    <tr >
        <td>82</td>
        <td ><code>due_date</code></td>
        <td >
            Date</td>
        <td >
            Due Date
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>83</td>
        <td ><code>against_expense_account</code></td>
        <td >
            Small Text</td>
        <td class="text-muted" title="Hidden">
            Against Expense Account
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>84</td>
        <td ><code>column_break_63</code></td>
        <td class="info">
            Column Break</td>
        <td >
            
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>85</td>
        <td ><code>mode_of_payment</code></td>
        <td >
            Link</td>
        <td >
            Mode of Payment
            
        </td>
        <td>

Mode of Payment

        </td>
    </tr>
    
    <tr >
        <td>86</td>
        <td ><code>fiscal_year</code></td>
        <td >
            Link</td>
        <td >
            Fiscal Year
            
        </td>
        <td>

Fiscal Year

        </td>
    </tr>
    
    <tr >
        <td>87</td>
        <td ><code>remarks</code></td>
        <td >
            Small Text</td>
        <td >
            Remarks
            
        </td>
        <td></td>
    </tr>
    
    <tr class="info">
        <td>88</td>
        <td ><code>recurring_invoice</code></td>
        <td >
            Section Break</td>
        <td >
            Recurring Invoice
            
        </td>
        <td>
            <pre>icon-time</pre>
        </td>
    </tr>
    
    <tr >
        <td>89</td>
        <td ><code>is_recurring</code></td>
        <td >
            Check</td>
        <td >
            Is Recurring
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>90</td>
        <td ><code>recurring_type</code></td>
        <td >
            Select</td>
        <td >
            Recurring Type
            <p class="text-muted small">
                Select the period when the invoice will be generated automatically</p>
        </td>
        <td>
            <pre>Monthly

Quarterly Half-yearly Yearly

    <tr >
        <td>91</td>
        <td ><code>from_date</code></td>
        <td >
            Date</td>
        <td >
            From Date
            <p class="text-muted small">
                Start date of current invoice's period</p>
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>92</td>
        <td ><code>to_date</code></td>
        <td >
            Date</td>
        <td >
            To Date
            <p class="text-muted small">
                End date of current invoice's period</p>
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>93</td>
        <td ><code>repeat_on_day_of_month</code></td>
        <td >
            Int</td>
        <td >
            Repeat on Day of Month
            <p class="text-muted small">
                The day of the month on which auto invoice will be generated e.g. 05, 28 etc</p>
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>94</td>
        <td ><code>end_date</code></td>
        <td >
            Date</td>
        <td >
            End Date
            <p class="text-muted small">
                The date on which recurring invoice will be stop</p>
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>95</td>
        <td ><code>column_break_82</code></td>
        <td class="info">
            Column Break</td>
        <td >
            
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>96</td>
        <td ><code>next_date</code></td>
        <td >
            Date</td>
        <td >
            Next Date
            <p class="text-muted small">
                The date on which next invoice will be generated. It is generated on submit.</p>
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>97</td>
        <td ><code>recurring_id</code></td>
        <td >
            Data</td>
        <td >
            Recurring Id
            <p class="text-muted small">
                The unique id for tracking all recurring invoices. It is generated on submit.</p>
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>98</td>
        <td ><code>notification_email_address</code></td>
        <td >
            Small Text</td>
        <td >
            Notification Email Address
            <p class="text-muted small">
                Enter email id separated by commas, invoice will be mailed automatically on particular date</p>
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>99</td>
        <td ><code>recurring_print_format</code></td>
        <td >
            Link</td>
        <td >
            Recurring Print Format
            
        </td>
        <td>

Print Format

        </td>
    </tr>
    
</tbody>
Sr Fieldname Type Label Options
<hr>
<h3>Controller</h3>
<h4>erpnext.accounts.doctype.purchase_invoice.purchase_invoice</h4>






    
<h3 style="font-weight: normal;">Class <b>PurchaseInvoice</b></h3>

<p style="padding-left: 30px;"><i>Inherits from erpnext.controllers.buying_controller.BuyingController</i></h4>

<div class="docs-attr-desc"><p></p>
<p class="docs-attr-name">
    <a name="__init__" href="#__init__" class="text-muted small">
        <i class="icon-link small" style="color: #ccc;"></i></a>
	<b>__init__</b>
    <i class="text-muted">(self, arg1, arg2=None)</i>
</p>
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>

<p class="docs-attr-name">
    <a name="check_active_purchase_items" href="#check_active_purchase_items" class="text-muted small">
        <i class="icon-link small" style="color: #ccc;"></i></a>
	<b>check_active_purchase_items</b>
    <i class="text-muted">(self)</i>
</p>
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>

<p class="docs-attr-name">
    <a name="check_conversion_rate" href="#check_conversion_rate" class="text-muted small">
        <i class="icon-link small" style="color: #ccc;"></i></a>
	<b>check_conversion_rate</b>
    <i class="text-muted">(self)</i>
</p>
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>

<p class="docs-attr-name">
    <a name="check_for_stopped_or_closed_status" href="#check_for_stopped_or_closed_status" class="text-muted small">
        <i class="icon-link small" style="color: #ccc;"></i></a>
	<b>check_for_stopped_or_closed_status</b>
    <i class="text-muted">(self)</i>
</p>
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>

<p class="docs-attr-name">
    <a name="check_prev_docstatus" href="#check_prev_docstatus" class="text-muted small">
        <i class="icon-link small" style="color: #ccc;"></i></a>
	<b>check_prev_docstatus</b>
    <i class="text-muted">(self)</i>
</p>
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>

<p class="docs-attr-name">
    <a name="create_remarks" href="#create_remarks" class="text-muted small">
        <i class="icon-link small" style="color: #ccc;"></i></a>
	<b>create_remarks</b>
    <i class="text-muted">(self)</i>
</p>
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>

<p class="docs-attr-name">
    <a name="get_advances" href="#get_advances" class="text-muted small">
        <i class="icon-link small" style="color: #ccc;"></i></a>
	<b>get_advances</b>
    <i class="text-muted">(self)</i>
</p>
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>

<p class="docs-attr-name">
    <a name="make_gl_entries" href="#make_gl_entries" class="text-muted small">
        <i class="icon-link small" style="color: #ccc;"></i></a>
	<b>make_gl_entries</b>
    <i class="text-muted">(self)</i>
</p>
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>

<p class="docs-attr-name">
    <a name="on_cancel" href="#on_cancel" class="text-muted small">
        <i class="icon-link small" style="color: #ccc;"></i></a>
	<b>on_cancel</b>
    <i class="text-muted">(self)</i>
</p>
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>

<p class="docs-attr-name">
    <a name="on_submit" href="#on_submit" class="text-muted small">
        <i class="icon-link small" style="color: #ccc;"></i></a>
	<b>on_submit</b>
    <i class="text-muted">(self)</i>
</p>
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>

<p class="docs-attr-name">
    <a name="po_required" href="#po_required" class="text-muted small">
        <i class="icon-link small" style="color: #ccc;"></i></a>
	<b>po_required</b>
    <i class="text-muted">(self)</i>
</p>
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>

<p class="docs-attr-name">
    <a name="pr_required" href="#pr_required" class="text-muted small">
        <i class="icon-link small" style="color: #ccc;"></i></a>
	<b>pr_required</b>
    <i class="text-muted">(self)</i>
</p>
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>

<p class="docs-attr-name">
    <a name="set_against_expense_account" href="#set_against_expense_account" class="text-muted small">
        <i class="icon-link small" style="color: #ccc;"></i></a>
	<b>set_against_expense_account</b>
    <i class="text-muted">(self)</i>
</p>
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>

<p class="docs-attr-name">
    <a name="set_missing_values" href="#set_missing_values" class="text-muted small">
        <i class="icon-link small" style="color: #ccc;"></i></a>
	<b>set_missing_values</b>
    <i class="text-muted">(self, for_validate=False)</i>
</p>
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>

<p class="docs-attr-name">
    <a name="update_against_document_in_jv" href="#update_against_document_in_jv" class="text-muted small">
        <i class="icon-link small" style="color: #ccc;"></i></a>
	<b>update_against_document_in_jv</b>
    <i class="text-muted">(self)</i>
</p>
<div class="docs-attr-desc"><p>Links invoice and advance voucher:
1. cancel advance voucher
2. split into multiple rows if partially adjusted, assign against voucher
3. submit advance voucher</p>

<p class="docs-attr-name">
    <a name="update_project" href="#update_project" class="text-muted small">
        <i class="icon-link small" style="color: #ccc;"></i></a>
	<b>update_project</b>
    <i class="text-muted">(self)</i>
</p>
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>

<p class="docs-attr-name">
    <a name="validate" href="#validate" class="text-muted small">
        <i class="icon-link small" style="color: #ccc;"></i></a>
	<b>validate</b>
    <i class="text-muted">(self)</i>
</p>
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>

<p class="docs-attr-name">
    <a name="validate_credit_to_acc" href="#validate_credit_to_acc" class="text-muted small">
        <i class="icon-link small" style="color: #ccc;"></i></a>
	<b>validate_credit_to_acc</b>
    <i class="text-muted">(self)</i>
</p>
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>

<p class="docs-attr-name">
    <a name="validate_supplier_invoice" href="#validate_supplier_invoice" class="text-muted small">
        <i class="icon-link small" style="color: #ccc;"></i></a>
	<b>validate_supplier_invoice</b>
    <i class="text-muted">(self)</i>
</p>
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>

<p class="docs-attr-name">
    <a name="validate_with_previous_doc" href="#validate_with_previous_doc" class="text-muted small">
        <i class="icon-link small" style="color: #ccc;"></i></a>
	<b>validate_with_previous_doc</b>
    <i class="text-muted">(self)</i>
</p>
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>

<p class="docs-attr-name">
    <a name="validate_write_off_account" href="#validate_write_off_account" class="text-muted small">
        <i class="icon-link small" style="color: #ccc;"></i></a>
	<b>validate_write_off_account</b>
    <i class="text-muted">(self)</i>
</p>
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>

</div>
<hr>




    

<p><span class="label label-info">Public API</span>
    <br><code>/api/method/erpnext.accounts.doctype.purchase_invoice.purchase_invoice.get_expense_account</code>
</p>
<p class="docs-attr-name">
    <a name="erpnext.accounts.doctype.purchase_invoice.purchase_invoice.get_expense_account" href="#erpnext.accounts.doctype.purchase_invoice.purchase_invoice.get_expense_account" class="text-muted small">
        <i class="icon-link small" style="color: #ccc;"></i></a>
	erpnext.accounts.doctype.purchase_invoice.purchase_invoice.<b>get_expense_account</b>
    <i class="text-muted">(doctype, txt, searchfield, start, page_len, filters)</i>
</p>
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>

<p><span class="label label-info">Public API</span>
    <br><code>/api/method/erpnext.accounts.doctype.purchase_invoice.purchase_invoice.make_debit_note</code>
</p>
<p class="docs-attr-name">
    <a name="erpnext.accounts.doctype.purchase_invoice.purchase_invoice.make_debit_note" href="#erpnext.accounts.doctype.purchase_invoice.purchase_invoice.make_debit_note" class="text-muted small">
        <i class="icon-link small" style="color: #ccc;"></i></a>
	erpnext.accounts.doctype.purchase_invoice.purchase_invoice.<b>make_debit_note</b>
    <i class="text-muted">(source_name, target_doc=None)</i>
</p>
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>

    <h4>Linked In:</h4>
    <ul>
    
		
        <li>

Purchase Invoice

    </ul>