class Elmas::AgingReceivablesList

We can use the AgingReceivablesList to change the status of SalesInvoices from Open to 'Verwerkt' while at the same time sending a PDF of the invoice to the end user by e-mail.

This endpoint only supports the POST method.

Public Instance Methods

base_path() click to toggle source
# File lib/elmas/resources/aging_receivables_list.rb, line 17
def base_path
  "read/financial/AgingReceivablesList"
end
mandatory_attributes() click to toggle source
# File lib/elmas/resources/aging_receivables_list.rb, line 21
def mandatory_attributes
  []
end
other_attributes() click to toggle source

https//start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=SalesInvoiceAgingReceivablesLists

# File lib/elmas/resources/aging_receivables_list.rb, line 26
def other_attributes
  %i[
    account_id account_code account_name age_group1 age_group1_amount age_group1_description
    age_group2 age_group2_amount age_group2_description age_group3 age_group3_amount age_group3_description
    age_group4 age_group4_amount age_group4_description currency_code total_amount
  ]
end
valid_actions() click to toggle source
# File lib/elmas/resources/aging_receivables_list.rb, line 13
def valid_actions
  %i[get]
end