64 KiB
64 KiB
Version 6.x.x
<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/accounts/doctype/sales_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>tabSales Invoice</code></p>
Fields
<tr class="info">
<td>1</td>
<td ><code>customer_section</code></td>
<td >
Section Break</td>
<td >
</td>
<td>
<pre>icon-user</pre>
</td>
</tr>
<tr >
<td>2</td>
<td ><code>title</code></td>
<td >
Data</td>
<td class="text-muted" title="Hidden">
Title
</td>
<td></td>
</tr>
<tr >
<td>3</td>
<td class="danger" title="Mandatory"><code>naming_series</code></td>
<td >
Select</td>
<td >
Series
</td>
<td>
<pre>SINV-
SINV-RET-
<tr >
<td>4</td>
<td ><code>customer</code></td>
<td >
Link</td>
<td >
Customer
</td>
<td>
</td>
</tr>
<tr >
<td>5</td>
<td ><code>customer_name</code></td>
<td >
Data</td>
<td >
Customer Name
</td>
<td></td>
</tr>
<tr >
<td>6</td>
<td ><code>address_display</code></td>
<td >
Small Text</td>
<td class="text-muted" title="Hidden">
Address
</td>
<td></td>
</tr>
<tr >
<td>7</td>
<td ><code>contact_display</code></td>
<td >
Small Text</td>
<td class="text-muted" title="Hidden">
Contact
</td>
<td></td>
</tr>
<tr >
<td>8</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>9</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>10</td>
<td ><code>is_pos</code></td>
<td >
Check</td>
<td >
Is POS
</td>
<td></td>
</tr>
<tr >
<td>11</td>
<td ><code>is_return</code></td>
<td >
Check</td>
<td >
Is Return
</td>
<td></td>
</tr>
<tr >
<td>12</td>
<td ><code>column_break1</code></td>
<td class="info">
Column Break</td>
<td >
</td>
<td></td>
</tr>
<tr >
<td>13</td>
<td class="danger" title="Mandatory"><code>posting_date</code></td>
<td >
Date</td>
<td >
Date
</td>
<td></td>
</tr>
<tr >
<td>14</td>
<td ><code>due_date</code></td>
<td >
Date</td>
<td >
Payment Due Date
</td>
<td></td>
</tr>
<tr >
<td>15</td>
<td class="danger" title="Mandatory"><code>company</code></td>
<td >
Link</td>
<td >
Company
</td>
<td>
</td>
</tr>
<tr >
<td>16</td>
<td ><code>amended_from</code></td>
<td >
Link</td>
<td >
Amended From
</td>
<td>
</td>
</tr>
<tr >
<td>17</td>
<td ><code>return_against</code></td>
<td >
Link</td>
<td >
Return Against Sales Invoice
</td>
<td>
</td>
</tr>
<tr >
<td>18</td>
<td ><code>shipping_address_name</code></td>
<td >
Link</td>
<td class="text-muted" title="Hidden">
Shipping Address Name
</td>
<td>
</td>
</tr>
<tr >
<td>19</td>
<td ><code>shipping_address</code></td>
<td >
Small Text</td>
<td class="text-muted" title="Hidden">
Shipping Address
</td>
<td></td>
</tr>
<tr class="info">
<td>20</td>
<td ><code>currency_and_price_list</code></td>
<td >
Section Break</td>
<td >
Currency and Price List
</td>
<td></td>
</tr>
<tr >
<td>21</td>
<td class="danger" title="Mandatory"><code>currency</code></td>
<td >
Link</td>
<td >
Currency
</td>
<td>
</td>
</tr>
<tr >
<td>22</td>
<td class="danger" title="Mandatory"><code>conversion_rate</code></td>
<td >
Float</td>
<td >
Exchange Rate
<p class="text-muted small">
Rate at which Customer Currency is converted to customer's base currency</p>
</td>
<td></td>
</tr>
<tr >
<td>23</td>
<td ><code>column_break2</code></td>
<td class="info">
Column Break</td>
<td >
</td>
<td></td>
</tr>
<tr >
<td>24</td>
<td class="danger" title="Mandatory"><code>selling_price_list</code></td>
<td >
Link</td>
<td >
Price List
</td>
<td>
</td>
</tr>
<tr >
<td>25</td>
<td class="danger" title="Mandatory"><code>price_list_currency</code></td>
<td >
Link</td>
<td >
Price List Currency
</td>
<td>
</td>
</tr>
<tr >
<td>26</td>
<td class="danger" title="Mandatory"><code>plc_conversion_rate</code></td>
<td >
Float</td>
<td >
Price List Exchange Rate
<p class="text-muted small">
Rate at which Price list currency is converted to customer's base currency</p>
</td>
<td></td>
</tr>
<tr >
<td>27</td>
<td ><code>ignore_pricing_rule</code></td>
<td >
Check</td>
<td >
Ignore Pricing Rule
</td>
<td></td>
</tr>
<tr class="info">
<td>28</td>
<td ><code>items_section</code></td>
<td >
Section Break</td>
<td >
</td>
<td>
<pre>icon-shopping-cart</pre>
</td>
</tr>
<tr >
<td>29</td>
<td ><code>update_stock</code></td>
<td >
Check</td>
<td >
Update Stock
</td>
<td></td>
</tr>
<tr >
<td>30</td>
<td class="danger" title="Mandatory"><code>items</code></td>
<td >
Table</td>
<td >
Items
</td>
<td>
</td>
</tr>
<tr class="info">
<td>31</td>
<td ><code>packing_list</code></td>
<td >
Section Break</td>
<td >
Packing List
</td>
<td>
<pre>icon-suitcase</pre>
</td>
</tr>
<tr >
<td>32</td>
<td ><code>packed_items</code></td>
<td >
Table</td>
<td >
Packed Items
</td>
<td>
</td>
</tr>
<tr >
<td>33</td>
<td ><code>product_bundle_help</code></td>
<td >
HTML</td>
<td >
Product Bundle Help
</td>
<td></td>
</tr>
<tr class="info">
<td>34</td>
<td ><code>section_break_30</code></td>
<td >
Section Break</td>
<td >
</td>
<td></td>
</tr>
<tr >
<td>35</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>36</td>
<td class="danger" title="Mandatory"><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>37</td>
<td ><code>column_break_32</code></td>
<td class="info">
Column Break</td>
<td >
</td>
<td></td>
</tr>
<tr >
<td>38</td>
<td ><code>total</code></td>
<td >
Currency</td>
<td >
Total
</td>
<td>
<pre>currency</pre>
</td>
</tr>
<tr >
<td>39</td>
<td ><code>net_total</code></td>
<td >
Currency</td>
<td >
Net Total
</td>
<td>
<pre>currency</pre>
</td>
</tr>
<tr class="info">
<td>40</td>
<td ><code>taxes_section</code></td>
<td >
Section Break</td>
<td >
</td>
<td>
<pre>icon-money</pre>
</td>
</tr>
<tr >
<td>41</td>
<td ><code>taxes_and_charges</code></td>
<td >
Link</td>
<td >
Taxes and Charges
</td>
<td>
Sales Taxes and Charges Template
</td>
</tr>
<tr >
<td>42</td>
<td ><code>column_break_38</code></td>
<td class="info">
Column Break</td>
<td >
</td>
<td></td>
</tr>
<tr >
<td>43</td>
<td ><code>shipping_rule</code></td>
<td >
Link</td>
<td >
Shipping Rule
</td>
<td>
</td>
</tr>
<tr class="info">
<td>44</td>
<td ><code>section_break_40</code></td>
<td >
Section Break</td>
<td >
</td>
<td></td>
</tr>
<tr >
<td>45</td>
<td ><code>taxes</code></td>
<td >
Table</td>
<td >
Sales Taxes and Charges
</td>
<td>
</td>
</tr>
<tr >
<td>46</td>
<td ><code>other_charges_calculation</code></td>
<td >
HTML</td>
<td >
Taxes and Charges Calculation
</td>
<td></td>
</tr>
<tr class="info">
<td>47</td>
<td ><code>section_break_43</code></td>
<td >
Section Break</td>
<td >
</td>
<td></td>
</tr>
<tr >
<td>48</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>49</td>
<td ><code>column_break_47</code></td>
<td class="info">
Column Break</td>
<td >
</td>
<td></td>
</tr>
<tr >
<td>50</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>51</td>
<td ><code>section_break_49</code></td>
<td >
Section Break</td>
<td >
Additional Discount
</td>
<td></td>
</tr>
<tr >
<td>52</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>53</td>
<td ><code>column_break_51</code></td>
<td class="info">
Column Break</td>
<td >
</td>
<td></td>
</tr>
<tr >
<td>54</td>
<td ><code>discount_amount</code></td>
<td >
Currency</td>
<td >
Additional Discount Amount
</td>
<td>
<pre>currency</pre>
</td>
</tr>
<tr >
<td>55</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>56</td>
<td ><code>totals</code></td>
<td >
Section Break</td>
<td >
</td>
<td>
<pre>icon-money</pre>
</td>
</tr>
<tr >
<td>57</td>
<td class="danger" title="Mandatory"><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>58</td>
<td ><code>base_rounded_total</code></td>
<td >
Currency</td>
<td >
Rounded Total (Company Currency)
</td>
<td>
<pre>Company:company:default_currency</pre>
</td>
</tr>
<tr >
<td>59</td>
<td ><code>base_in_words</code></td>
<td >
Data</td>
<td >
In Words (Company Currency)
<p class="text-muted small">
In Words will be visible once you save the Sales Invoice.</p>
</td>
<td></td>
</tr>
<tr >
<td>60</td>
<td ><code>column_break5</code></td>
<td class="info">
Column Break</td>
<td >
</td>
<td></td>
</tr>
<tr >
<td>61</td>
<td class="danger" title="Mandatory"><code>grand_total</code></td>
<td >
Currency</td>
<td >
Grand Total
</td>
<td>
<pre>currency</pre>
</td>
</tr>
<tr >
<td>62</td>
<td ><code>rounded_total</code></td>
<td >
Currency</td>
<td >
Rounded Total
</td>
<td>
<pre>currency</pre>
</td>
</tr>
<tr >
<td>63</td>
<td ><code>in_words</code></td>
<td >
Data</td>
<td >
In Words
</td>
<td></td>
</tr>
<tr >
<td>64</td>
<td ><code>total_advance</code></td>
<td >
Currency</td>
<td >
Total Advance
</td>
<td>
<pre>party_account_currency</pre>
</td>
</tr>
<tr >
<td>65</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>66</td>
<td ><code>advances_section</code></td>
<td >
Section Break</td>
<td >
Advance Payments
</td>
<td>
<pre>icon-money</pre>
</td>
</tr>
<tr >
<td>67</td>
<td ><code>get_advances_received</code></td>
<td >
Button</td>
<td >
Get Advances Received
</td>
<td>
<pre>get_advances</pre>
</td>
</tr>
<tr >
<td>68</td>
<td ><code>advances</code></td>
<td >
Table</td>
<td >
Advances
</td>
<td>
</td>
</tr>
<tr class="info">
<td>69</td>
<td ><code>payments_section</code></td>
<td >
Section Break</td>
<td >
Payments
</td>
<td>
<pre>icon-money</pre>
</td>
</tr>
<tr >
<td>70</td>
<td ><code>mode_of_payment</code></td>
<td >
Link</td>
<td >
Mode of Payment
</td>
<td>
</td>
</tr>
<tr >
<td>71</td>
<td ><code>cash_bank_account</code></td>
<td >
Link</td>
<td >
Cash/Bank Account
</td>
<td>
</td>
</tr>
<tr >
<td>72</td>
<td ><code>column_break3</code></td>
<td class="info">
Column Break</td>
<td >
</td>
<td></td>
</tr>
<tr >
<td>73</td>
<td ><code>paid_amount</code></td>
<td >
Currency</td>
<td >
Paid Amount
</td>
<td>
<pre>currency</pre>
</td>
</tr>
<tr >
<td>74</td>
<td ><code>base_paid_amount</code></td>
<td >
Currency</td>
<td >
Paid Amount (Company Currency)
</td>
<td>
<pre>Company:company:default_currency</pre>
</td>
</tr>
<tr class="info">
<td>75</td>
<td ><code>column_break4</code></td>
<td >
Section Break</td>
<td >
Write Off
</td>
<td></td>
</tr>
<tr >
<td>76</td>
<td ><code>write_off_amount</code></td>
<td >
Currency</td>
<td >
Write Off Amount
</td>
<td>
<pre>currency</pre>
</td>
</tr>
<tr >
<td>77</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>78</td>
<td ><code>write_off_outstanding_amount_automatically</code></td>
<td >
Check</td>
<td >
Write Off Outstanding Amount
</td>
<td></td>
</tr>
<tr >
<td>79</td>
<td ><code>column_break_74</code></td>
<td class="info">
Column Break</td>
<td >
</td>
<td></td>
</tr>
<tr >
<td>80</td>
<td ><code>write_off_account</code></td>
<td >
Link</td>
<td >
Write Off Account
</td>
<td>
</td>
</tr>
<tr >
<td>81</td>
<td ><code>write_off_cost_center</code></td>
<td >
Link</td>
<td >
Write Off Cost Center
</td>
<td>
</td>
</tr>
<tr class="info">
<td>82</td>
<td ><code>terms_section_break</code></td>
<td >
Section Break</td>
<td >
Terms
</td>
<td></td>
</tr>
<tr >
<td>83</td>
<td ><code>tc_name</code></td>
<td >
Link</td>
<td >
Terms
</td>
<td>
</td>
</tr>
<tr >
<td>84</td>
<td ><code>terms</code></td>
<td >
Text Editor</td>
<td >
Terms and Conditions Details
</td>
<td></td>
</tr>
<tr class="info">
<td>85</td>
<td ><code>edit_printing_settings</code></td>
<td >
Section Break</td>
<td >
Printing Settings
</td>
<td></td>
</tr>
<tr >
<td>86</td>
<td ><code>letter_head</code></td>
<td >
Link</td>
<td >
Letter Head
</td>
<td>
</td>
</tr>
<tr >
<td>87</td>
<td ><code>column_break_84</code></td>
<td class="info">
Column Break</td>
<td >
</td>
<td></td>
</tr>
<tr >
<td>88</td>
<td ><code>select_print_heading</code></td>
<td >
Link</td>
<td >
Print Heading
</td>
<td>
</td>
</tr>
<tr class="info">
<td>89</td>
<td ><code>contact_section</code></td>
<td >
Section Break</td>
<td >
More Information
</td>
<td>
<pre>icon-bullhorn</pre>
</td>
</tr>
<tr >
<td>90</td>
<td ><code>project_name</code></td>
<td >
Link</td>
<td >
Project Name
</td>
<td>
</td>
</tr>
<tr >
<td>91</td>
<td class="danger" title="Mandatory"><code>territory</code></td>
<td >
Link</td>
<td >
Territory
</td>
<td>
</td>
</tr>
<tr >
<td>92</td>
<td ><code>customer_group</code></td>
<td >
Link</td>
<td >
Customer Group
</td>
<td>
</td>
</tr>
<tr >
<td>93</td>
<td ><code>col_break23</code></td>
<td class="info">
Column Break</td>
<td >
</td>
<td></td>
</tr>
<tr >
<td>94</td>
<td ><code>customer_address</code></td>
<td >
Link</td>
<td >
Customer Address
</td>
<td>
</td>
</tr>
<tr >
<td>95</td>
<td ><code>contact_person</code></td>
<td >
Link</td>
<td >
Contact Person
</td>
<td>
</td>
</tr>
<tr >
<td>96</td>
<td ><code>campaign</code></td>
<td >
Link</td>
<td >
Campaign
</td>
<td>
</td>
</tr>
<tr >
<td>97</td>
<td ><code>source</code></td>
<td >
Select</td>
<td >
Source
</td>
<td>
<pre>
Existing Customer Reference Advertisement Cold Calling Exhibition Supplier Reference Mass Mailing Customer's Vendor Campaign
<tr class="info">
<td>98</td>
<td ><code>more_info</code></td>
<td >
Section Break</td>
<td >
Accounting Details
</td>
<td>
<pre>icon-file-text</pre>
</td>
</tr>
<tr >
<td>99</td>
<td class="danger" title="Mandatory"><code>debit_to</code></td>
<td >
Link</td>
<td >
Debit To
</td>
<td>
</td>
</tr>
<tr >
<td>100</td>
<td ><code>party_account_currency</code></td>
<td >
Link</td>
<td class="text-muted" title="Hidden">
Party Account Currency
</td>
<td>
</td>
</tr>
<tr >
<td>101</td>
<td ><code>is_opening</code></td>
<td >
Select</td>
<td >
Is Opening Entry
</td>
<td>
<pre>No
Yes
<tr >
<td>102</td>
<td ><code>c_form_applicable</code></td>
<td >
Select</td>
<td >
C-Form Applicable
</td>
<td>
<pre>No
Yes
<tr >
<td>103</td>
<td ><code>c_form_no</code></td>
<td >
Link</td>
<td >
C-Form No
</td>
<td>
</td>
</tr>
<tr >
<td>104</td>
<td ><code>column_break8</code></td>
<td class="info">
Column Break</td>
<td >
</td>
<td></td>
</tr>
<tr >
<td>105</td>
<td ><code>posting_time</code></td>
<td >
Time</td>
<td >
Posting Time
</td>
<td></td>
</tr>
<tr >
<td>106</td>
<td class="danger" title="Mandatory"><code>fiscal_year</code></td>
<td >
Link</td>
<td >
Fiscal Year
</td>
<td>
</td>
</tr>
<tr >
<td>107</td>
<td ><code>remarks</code></td>
<td >
Small Text</td>
<td >
Remarks
</td>
<td></td>
</tr>
<tr class="info">
<td>108</td>
<td ><code>sales_team_section_break</code></td>
<td >
Section Break</td>
<td >
Commission
</td>
<td>
<pre>icon-group</pre>
</td>
</tr>
<tr >
<td>109</td>
<td ><code>sales_partner</code></td>
<td >
Link</td>
<td >
Sales Partner
</td>
<td>
</td>
</tr>
<tr >
<td>110</td>
<td ><code>column_break10</code></td>
<td class="info">
Column Break</td>
<td >
</td>
<td></td>
</tr>
<tr >
<td>111</td>
<td ><code>commission_rate</code></td>
<td >
Float</td>
<td >
Commission Rate (%)
</td>
<td></td>
</tr>
<tr >
<td>112</td>
<td ><code>total_commission</code></td>
<td >
Currency</td>
<td >
Total Commission
</td>
<td>
<pre>Company:company:default_currency</pre>
</td>
</tr>
<tr class="info">
<td>113</td>
<td ><code>section_break2</code></td>
<td >
Section Break</td>
<td >
Sales Team
</td>
<td></td>
</tr>
<tr >
<td>114</td>
<td ><code>sales_team</code></td>
<td >
Table</td>
<td >
Sales Team1
</td>
<td>
</td>
</tr>
<tr class="info">
<td>115</td>
<td ><code>recurring_invoice</code></td>
<td >
Section Break</td>
<td >
Recurring
</td>
<td>
<pre>icon-time</pre>
</td>
</tr>
<tr >
<td>116</td>
<td ><code>column_break11</code></td>
<td class="info">
Column Break</td>
<td >
</td>
<td></td>
</tr>
<tr >
<td>117</td>
<td ><code>is_recurring</code></td>
<td >
Check</td>
<td >
Is Recurring
<p class="text-muted small">
Check if recurring invoice, uncheck to stop recurring or put proper End Date</p>
</td>
<td></td>
</tr>
<tr >
<td>118</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>119</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>120</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>121</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>122</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>123</td>
<td ><code>column_break12</code></td>
<td class="info">
Column Break</td>
<td >
</td>
<td></td>
</tr>
<tr >
<td>124</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.
<tr >
<td>125</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>126</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>127</td>
<td ><code>recurring_print_format</code></td>
<td >
Link</td>
<td >
Recurring Print Format
</td>
<td>
</td>
</tr>
<tr >
<td>128</td>
<td ><code>against_income_account</code></td>
<td >
Small Text</td>
<td class="text-muted" title="Hidden">
Against Income Account
</td>
<td></td>
</tr>
</tbody>
Sr | Fieldname | Type | Label | Options |
---|---|---|---|---|
<hr>
<h3>Controller</h3>
<h4>erpnext.accounts.doctype.sales_invoice.sales_invoice</h4>
<h3 style="font-weight: normal;">Class <b>SalesInvoice</b></h3>
<p style="padding-left: 30px;"><i>Inherits from erpnext.controllers.selling_controller.SellingController</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="add_remarks" href="#add_remarks" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>add_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="before_cancel" href="#before_cancel" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>before_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="check_credit_limit" href="#check_credit_limit" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>check_credit_limit</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="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="get_company_abbr" href="#get_company_abbr" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>get_company_abbr</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_gl_entries" href="#get_gl_entries" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>get_gl_entries</b>
<i class="text-muted">(self, warehouse_account=None)</i>
</p>
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
<p class="docs-attr-name">
<a name="get_warehouse" href="#get_warehouse" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>get_warehouse</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_customer_gl_entry" href="#make_customer_gl_entry" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>make_customer_gl_entry</b>
<i class="text-muted">(self, gl_entries)</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, repost_future_gle=True)</i>
</p>
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
<p class="docs-attr-name">
<a name="make_item_gl_entries" href="#make_item_gl_entries" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>make_item_gl_entries</b>
<i class="text-muted">(self, gl_entries)</i>
</p>
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
<p class="docs-attr-name">
<a name="make_pos_gl_entries" href="#make_pos_gl_entries" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>make_pos_gl_entries</b>
<i class="text-muted">(self, gl_entries)</i>
</p>
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
<p class="docs-attr-name">
<a name="make_tax_gl_entries" href="#make_tax_gl_entries" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>make_tax_gl_entries</b>
<i class="text-muted">(self, gl_entries)</i>
</p>
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
<p class="docs-attr-name">
<a name="make_write_off_gl_entry" href="#make_write_off_gl_entry" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>make_write_off_gl_entry</b>
<i class="text-muted">(self, gl_entries)</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="on_update" href="#on_update" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>on_update</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_income_account" href="#set_against_income_account" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>set_against_income_account</b>
<i class="text-muted">(self)</i>
</p>
<div class="docs-attr-desc"><p>Set against account for debit to account</p>
<p class="docs-attr-name">
<a name="set_indicator" href="#set_indicator" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>set_indicator</b>
<i class="text-muted">(self)</i>
</p>
<div class="docs-attr-desc"><p>Set indicator for portal</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="set_pos_fields" href="#set_pos_fields" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>set_pos_fields</b>
<i class="text-muted">(self, for_validate=False)</i>
</p>
<div class="docs-attr-desc"><p>Set retail related fields from POS Profiles</p>
<p class="docs-attr-name">
<a name="so_dn_required" href="#so_dn_required" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>so_dn_required</b>
<i class="text-muted">(self)</i>
</p>
<div class="docs-attr-desc"><p>check in manage account if sales order / delivery note required or not.</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_current_stock" href="#update_current_stock" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>update_current_stock</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="update_packing_list" href="#update_packing_list" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>update_packing_list</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="update_status_updater_args" href="#update_status_updater_args" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>update_status_updater_args</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="update_time_log_batch" href="#update_time_log_batch" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>update_time_log_batch</b>
<i class="text-muted">(self, sales_invoice)</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_c_form" href="#validate_c_form" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>validate_c_form</b>
<i class="text-muted">(self)</i>
</p>
<div class="docs-attr-desc"><p>Blank C-form no if C-form applicable marked as 'No'</p>
<p class="docs-attr-name">
<a name="validate_c_form_on_cancel" href="#validate_c_form_on_cancel" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>validate_c_form_on_cancel</b>
<i class="text-muted">(self)</i>
</p>
<div class="docs-attr-desc"><p>Display message if C-Form no exists on cancellation of Sales Invoice</p>
<p class="docs-attr-name">
<a name="validate_debit_to_acc" href="#validate_debit_to_acc" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>validate_debit_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_delivery_note" href="#validate_delivery_note" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>validate_delivery_note</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_fixed_asset_account" href="#validate_fixed_asset_account" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>validate_fixed_asset_account</b>
<i class="text-muted">(self)</i>
</p>
<div class="docs-attr-desc"><p>Validate Fixed Asset and whether Income Account Entered Exists</p>
<p class="docs-attr-name">
<a name="validate_item_code" href="#validate_item_code" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>validate_item_code</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_pos" href="#validate_pos" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>validate_pos</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_proj_cust" href="#validate_proj_cust" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>validate_proj_cust</b>
<i class="text-muted">(self)</i>
</p>
<div class="docs-attr-desc"><p>check for does customer belong to same project as entered..</p>
<p class="docs-attr-name">
<a name="validate_time_logs_are_submitted" href="#validate_time_logs_are_submitted" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>validate_time_logs_are_submitted</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_warehouse" href="#validate_warehouse" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>validate_warehouse</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.sales_invoice.sales_invoice.get_bank_cash_account</code>
</p>
<p class="docs-attr-name">
<a name="erpnext.accounts.doctype.sales_invoice.sales_invoice.get_bank_cash_account" href="#erpnext.accounts.doctype.sales_invoice.sales_invoice.get_bank_cash_account" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
erpnext.accounts.doctype.sales_invoice.sales_invoice.<b>get_bank_cash_account</b>
<i class="text-muted">(mode_of_payment, company)</i>
</p>
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
<p class="docs-attr-name">
<a name="erpnext.accounts.doctype.sales_invoice.sales_invoice.get_list_context" href="#erpnext.accounts.doctype.sales_invoice.sales_invoice.get_list_context" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
erpnext.accounts.doctype.sales_invoice.sales_invoice.<b>get_list_context</b>
<i class="text-muted">(context=None)</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.sales_invoice.sales_invoice.make_delivery_note</code>
</p>
<p class="docs-attr-name">
<a name="erpnext.accounts.doctype.sales_invoice.sales_invoice.make_delivery_note" href="#erpnext.accounts.doctype.sales_invoice.sales_invoice.make_delivery_note" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
erpnext.accounts.doctype.sales_invoice.sales_invoice.<b>make_delivery_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>
<p><span class="label label-info">Public API</span>
<br><code>/api/method/erpnext.accounts.doctype.sales_invoice.sales_invoice.make_sales_return</code>
</p>
<p class="docs-attr-name">
<a name="erpnext.accounts.doctype.sales_invoice.sales_invoice.make_sales_return" href="#erpnext.accounts.doctype.sales_invoice.sales_invoice.make_sales_return" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
erpnext.accounts.doctype.sales_invoice.sales_invoice.<b>make_sales_return</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>
<li>
<li>
<li>
<li>
<li>
</ul>