Module: Ruconomic::API::InvoiceLine

Extended by:
WebService
Defined in:
lib/ruconomic/api/invoice_line.rb

Class Method Summary collapse

Class Method Details

.find_by_invoice_number_intervalHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Returns handles for invoice lines for a given invoice number interval. Parameters: fromInvoiceNumber: The minimum invoice number to search for. toInvoiceNumber: The maximum invoice number to search for.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



240
241
242
243
244
# File 'lib/ruconomic/api/invoice_line.rb', line 240

def self.find_by_invoice_number_interval
  response = invoke('InvoiceLine_FindByInvoiceNumberInterval') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.find_by_productHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Returns handles for invoice lines that uses a given product. Parameters: product: The product to search for.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



216
217
218
219
220
# File 'lib/ruconomic/api/invoice_line.rb', line 216

def self.find_by_product
  response = invoke('InvoiceLine_FindByProduct') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.find_by_product_listHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Returns handles for invoice lines that uses a given set of products. Parameters: products: The products to search for.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



228
229
230
231
232
# File 'lib/ruconomic/api/invoice_line.rb', line 228

def self.find_by_product_list
  response = invoke('InvoiceLine_FindByProductList') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_dataHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Returns an invoice line data object for a given invoice line. Parameters: entityHandle: A handle for the invoice line.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



12
13
14
15
16
# File 'lib/ruconomic/api/invoice_line.rb', line 12

def self.get_data
  response = invoke('InvoiceLine_GetData') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_data_arrayHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Returns invoice line data objects for a given set of invoice line handles. Parameters: entityHandles: An array of the invoice line handles.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



24
25
26
27
28
# File 'lib/ruconomic/api/invoice_line.rb', line 24

def self.get_data_array
  response = invoke('InvoiceLine_GetDataArray') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_delivery_dateHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Gets delivery date of an invoice line. Parameters: invoiceLineHandle: Handle for the invoice line.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



72
73
74
75
76
# File 'lib/ruconomic/api/invoice_line.rb', line 72

def self.get_delivery_date
  response = invoke('InvoiceLine_GetDeliveryDate') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_departmentHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Gets a handle for the department of an invoice line. The department is only accessible when there is access to the Dimension add-on module. Parameters: invoiceLineHandle: Handle for the invoice line.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



192
193
194
195
196
# File 'lib/ruconomic/api/invoice_line.rb', line 192

def self.get_department
  response = invoke('InvoiceLine_GetDepartment') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_descriptionHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Gets description of an invoice line. Parameters: invoiceLineHandle: Handle for the invoice line.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



60
61
62
63
64
# File 'lib/ruconomic/api/invoice_line.rb', line 60

def self.get_description
  response = invoke('InvoiceLine_GetDescription') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_discount_as_percentHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Gets the discount of an invoice line as percent. Parameters: invoiceLineHandle: Handle for the invoice line.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



132
133
134
135
136
# File 'lib/ruconomic/api/invoice_line.rb', line 132

def self.get_discount_as_percent
  response = invoke('InvoiceLine_GetDiscountAsPercent') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_distribution_keyHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Gets a handle for the distribution key of an invoice line. The distribution key is only accessible when there is access to the Dimension add-on module. Parameters: invoiceLineHandle: Handle for the invoice line.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



204
205
206
207
208
# File 'lib/ruconomic/api/invoice_line.rb', line 204

def self.get_distribution_key
  response = invoke('InvoiceLine_GetDistributionKey') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_invoiceHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Gets a handle for the invoice of an invoice line. Parameters: invoiceLineHandle: Handle for the invoice line.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



48
49
50
51
52
# File 'lib/ruconomic/api/invoice_line.rb', line 48

def self.get_invoice
  response = invoke('InvoiceLine_GetInvoice') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_numberHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Gets the number of an invoice line. Parameters: invoiceLineHandle: Handle for the invoice line.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



36
37
38
39
40
# File 'lib/ruconomic/api/invoice_line.rb', line 36

def self.get_number
  response = invoke('InvoiceLine_GetNumber') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_productHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Gets a handle for the product of an invoice line. Parameters: invoiceLineHandle: Handle for the invoice line.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



96
97
98
99
100
# File 'lib/ruconomic/api/invoice_line.rb', line 96

def self.get_product
  response = invoke('InvoiceLine_GetProduct') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_quantityHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Gets the primary quantity of an invoice line. Parameters: invoiceLineHandle: Handle for the invoice line.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



108
109
110
111
112
# File 'lib/ruconomic/api/invoice_line.rb', line 108

def self.get_quantity
  response = invoke('InvoiceLine_GetQuantity') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_total_net_amountHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Gets the total amount of an invoice line without VAT (in the currency of the invoice). Parameters: invoiceLineHandle: Handle for the invoice line.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



180
181
182
183
184
# File 'lib/ruconomic/api/invoice_line.rb', line 180

def self.get_total_net_amount
  response = invoke('InvoiceLine_GetTotalNetAmount') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_unitHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Gets a handle for the primary unit of an invoice line. Parameters: invoiceLineHandle: Handle for the invoice line.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



84
85
86
87
88
# File 'lib/ruconomic/api/invoice_line.rb', line 84

def self.get_unit
  response = invoke('InvoiceLine_GetUnit') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_unit_cost_priceHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Gets the cost price per unit without VAT of an invoice line (in the default currency). Parameters: invoiceLineHandle: Handle for the invoice line.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



144
145
146
147
148
# File 'lib/ruconomic/api/invoice_line.rb', line 144

def self.get_unit_cost_price
  response = invoke('InvoiceLine_GetUnitCostPrice') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_unit_net_priceHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Gets the price per unit without VAT of an invoice line (in the currency of the invoice). Parameters: invoiceLineHandle: Handle for the invoice line.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



120
121
122
123
124
# File 'lib/ruconomic/api/invoice_line.rb', line 120

def self.get_unit_net_price
  response = invoke('InvoiceLine_GetUnitNetPrice') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_vat_amountHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Gets the VAT amount of the invoice line (in the currency of the invoice). Parameters: invoiceLineHandle: Handle for the invoice line.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



168
169
170
171
172
# File 'lib/ruconomic/api/invoice_line.rb', line 168

def self.get_vat_amount
  response = invoke('InvoiceLine_GetVatAmount') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_vat_rateHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Gets the VAT rate of an invoice line. Parameters: invoiceLineHandle: Handle for the invoice line.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



156
157
158
159
160
# File 'lib/ruconomic/api/invoice_line.rb', line 156

def self.get_vat_rate
  response = invoke('InvoiceLine_GetVatRate') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end