module Ruconomic::API::ScannedDocument

Public Class Methods

find_by_voucher_number() click to toggle source

Returns a handle for the scanned document with a given voucher number. Parameters: voucherNumber: The number to search for.

@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=ScannedDocument_FindByVoucherNumber @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/scanned_document.rb, line 155
def self.find_by_voucher_number
  response = invoke('ScannedDocument_FindByVoucherNumber') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
  end
end
find_by_voucher_number_interval() click to toggle source

Returns an array with handles for scanned documents with voucher numbers in the given interval. Parameters: minNumber: The start of the interval. maxNumber: The end of the interval.

@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=ScannedDocument_FindByVoucherNumberInterval @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/scanned_document.rb, line 167
def self.find_by_voucher_number_interval
  response = invoke('ScannedDocument_FindByVoucherNumberInterval') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
  end
end
get_all() click to toggle source

Returns handles for all ScannedDocuments.

@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=ScannedDocument_GetAll @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/scanned_document.rb, line 143
def self.get_all
  response = invoke('ScannedDocument_GetAll') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
  end
end
get_category() click to toggle source

Gets the category of a ScannedDocument. Parameters: ScannedDocumentHandle: Handle for the ScannedDocument.

@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=ScannedDocument_GetCategory @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/scanned_document.rb, line 48
def self.get_category
  response = invoke('ScannedDocument_GetCategory') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
  end
end
get_data() click to toggle source

Returns a ScannedDocument data object for a given ScannedDocument. Parameters: entityHandle: A handle for the ScannedDocument.

@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=ScannedDocument_GetData @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/scanned_document.rb, line 120
def self.get_data
  response = invoke('ScannedDocument_GetData') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
  end
end
get_data_array() click to toggle source

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

@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=ScannedDocument_GetDataArray @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/scanned_document.rb, line 132
def self.get_data_array
  response = invoke('ScannedDocument_GetDataArray') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
  end
end
get_from_date() click to toggle source

Gets the fromdate of a ScannedDocument. Parameters: ScannedDocumentHandle: Handle for the ScannedDocument.

@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=ScannedDocument_GetFromDate @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/scanned_document.rb, line 96
def self.get_from_date
  response = invoke('ScannedDocument_GetFromDate') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
  end
end
get_note() click to toggle source

Gets the note of a ScannedDocument. Parameters: ScannedDocumentHandle: Handle for the ScannedDocument.

@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=ScannedDocument_GetNote @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/scanned_document.rb, line 60
def self.get_note
  response = invoke('ScannedDocument_GetNote') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
  end
end
get_number() click to toggle source

Gets the number of a ScannedDocument. Parameters: ScannedDocumentHandle: Handle for the ScannedDocument.

@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=ScannedDocument_GetNumber @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/scanned_document.rb, line 24
def self.get_number
  response = invoke('ScannedDocument_GetNumber') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
  end
end
get_page_count() click to toggle source

Gets the pagecount of a ScannedDocument. Parameters: ScannedDocumentHandle: Handle for the ScannedDocument.

@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=ScannedDocument_GetPageCount @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/scanned_document.rb, line 72
def self.get_page_count
  response = invoke('ScannedDocument_GetPageCount') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
  end
end
get_pdf() click to toggle source

Gets the document as a PDF-file. Parameters: invoiceHandle: Handle for the ScannedDocument.

@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=ScannedDocument_GetPdf @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/scanned_document.rb, line 12
def self.get_pdf
  response = invoke('ScannedDocument_GetPdf') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
  end
end
get_status() click to toggle source

Gets the status of a ScannedDocument. Parameters: ScannedDocumentHandle: Handle for the ScannedDocument.

@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=ScannedDocument_GetStatus @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/scanned_document.rb, line 36
def self.get_status
  response = invoke('ScannedDocument_GetStatus') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
  end
end
get_to_date() click to toggle source

Gets the todate of a ScannedDocument. Parameters: ScannedDocumentHandle: Handle for the ScannedDocument.

@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=ScannedDocument_GetToDate @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/scanned_document.rb, line 108
def self.get_to_date
  response = invoke('ScannedDocument_GetToDate') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
  end
end
get_voucher_number() click to toggle source

Gets the vouchernumber of a ScannedDocument. Parameters: ScannedDocumentHandle: Handle for the ScannedDocument.

@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=ScannedDocument_GetVoucherNumber @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/scanned_document.rb, line 84
def self.get_voucher_number
  response = invoke('ScannedDocument_GetVoucherNumber') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
  end
end