class Elmas::PrintedSalesInvoice
We can use the PrintedSalesInvoice
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/printed_sales_invoice.rb, line 17 def base_path "salesinvoice/PrintedSalesInvoices" end
mandatory_attributes()
click to toggle source
# File lib/elmas/resources/printed_sales_invoice.rb, line 21 def mandatory_attributes %i[invoice_ID] end
other_attributes()
click to toggle source
https//start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=SalesInvoicePrintedSalesInvoices
# File lib/elmas/resources/printed_sales_invoice.rb, line 26 def other_attributes %i[ division document document_creation_error document_creation_success document_layout email_creation_error email_creation_success email_layout extra_text invoice_date postbox_message_creation_error postbox_message_creation_success postbox_sender reporting_period reporting_year send_email_to_customer sender_email_address send_invoice_to_customer_postbox send_output_based_on_account ] end
valid_actions()
click to toggle source
# File lib/elmas/resources/printed_sales_invoice.rb, line 13 def valid_actions %i[post] end