FortnoxEx (FortnoxEx v0.3.0) View Source

Documentation for FortnoxEx.

API calls are rate limited with Fuse for 200 calls per minute. Should the rate limiting be blown, then the rate limiter will refresh in 60 seconds. If the rate limiter is hit, then the result of any api call will be {:error, :unavailable}

Link to this section Summary

Functions

Link to this section Functions

Link to this function

client(client_secret, access_token)

View Source

See FortnoxEx.Utils.client/2.

Link to this function

create_absence_transaction(client, absence_transaction_attrs)

View Source

See FortnoxEx.Models.AbsenceTransaction.create_absence_transaction/2.

Link to this function

create_account(client, account_attrs)

View Source

See FortnoxEx.Models.Account.create_account/2.

Link to this function

create_article(client, article_attrs)

View Source

See FortnoxEx.Models.Article.create_article/2.

Link to this function

create_asset(client, asset_attrs)

View Source

See FortnoxEx.Models.Asset.create_asset/2.

Link to this function

create_attendance_transaction(client, attendance_transaction_attrs)

View Source

See FortnoxEx.Models.AttendanceTransaction.create_attendance_transaction/2.

Link to this function

create_contract(client, contract_attrs)

View Source

See FortnoxEx.Models.Contract.create_contract/2.

Link to this function

create_currency(client, currency_attrs)

View Source

See FortnoxEx.Models.Currency.create_currency/2.

Link to this function

create_customer(client, customer_attrs)

View Source

See FortnoxEx.Models.Customer.create_customer/2.

Link to this function

create_employee(client, employee_attrs)

View Source

See FortnoxEx.Models.Employee.create_employee/2.

Link to this function

create_invoice(client, invoice_attrs)

View Source

See FortnoxEx.Models.Invoice.create_invoice/2.

Link to this function

create_invoice_for_contract(client, contract_number)

View Source

See FortnoxEx.Models.Contract.create_invoice_for_contract/2.

Link to this function

create_offer(client, offer_attrs)

View Source

See FortnoxEx.Models.Offer.create_offer/2.

Link to this function

create_order(client, order_attrs)

View Source

See FortnoxEx.Models.Order.create_order/2.

Link to this function

create_price_list(client, price_list_attrs)

View Source

See FortnoxEx.Models.PriceList.create_price_list/2.

Link to this function

create_project(client, project_attrs)

View Source

See FortnoxEx.Models.Project.create_project/2.

Link to this function

create_supplier(client, supplier_attrs)

View Source

See FortnoxEx.Models.Supplier.create_supplier/2.

Link to this function

create_supplier_invoice(client, supplier_invoice_attrs)

View Source

See FortnoxEx.Models.SupplierInvoice.create_supplier_invoice/2.

Link to this function

create_unit(client, unit_attrs)

View Source

See FortnoxEx.Models.Unit.create_unit/2.

Link to this function

delete_absence_transaction(client, absence_transaction_number)

View Source

See FortnoxEx.Models.AbsenceTransaction.delete_absence_transaction/2.

Link to this function

delete_account(client, account_number)

View Source

See FortnoxEx.Models.Account.delete_account/2.

Link to this function

delete_article(client, article_number)

View Source

See FortnoxEx.Models.Article.delete_article/2.

Link to this function

delete_asset(client, asset_number)

View Source

See FortnoxEx.Models.Asset.delete_asset/2.

Link to this function

delete_attendance_transaction(client, attendance_transaction_number)

View Source

See FortnoxEx.Models.AttendanceTransaction.delete_attendance_transaction/2.

Link to this function

delete_contract(client, contract_number)

View Source

See FortnoxEx.Models.Contract.delete_contract/2.

Link to this function

delete_currency(client, currency_number)

View Source

See FortnoxEx.Models.Currency.delete_currency/2.

Link to this function

delete_customer(client, customer_number)

View Source

See FortnoxEx.Models.Customer.delete_customer/2.

Link to this function

delete_employee(client, employee_number)

View Source

See FortnoxEx.Models.Employee.delete_employee/2.

Link to this function

delete_invoice(client, invoice_number)

View Source

See FortnoxEx.Models.Invoice.delete_invoice/2.

Link to this function

delete_offer(client, offer_number)

View Source

See FortnoxEx.Models.Offer.delete_offer/2.

Link to this function

delete_order(client, order_number)

View Source

See FortnoxEx.Models.Order.delete_order/2.

Link to this function

delete_price_list(client, price_list_number)

View Source

See FortnoxEx.Models.PriceList.delete_price_list/2.

Link to this function

delete_project(client, project_number)

View Source

See FortnoxEx.Models.Project.delete_project/2.

Link to this function

delete_supplier(client, supplier_number)

View Source

See FortnoxEx.Models.Supplier.delete_supplier/2.

Link to this function

delete_supplier_invoice(client, supplier_invoice_number)

View Source

See FortnoxEx.Models.SupplierInvoice.delete_supplier_invoice/2.

Link to this function

delete_unit(client, unit_number)

View Source

See FortnoxEx.Models.Unit.delete_unit/2.

Link to this function

finish_contract(client, contract_number)

View Source

See FortnoxEx.Models.Contract.finish_contract/2.

Link to this function

get_absence_transaction(client, absence_transaction_number)

View Source

See FortnoxEx.Models.AbsenceTransaction.get_absence_transaction/2.

Link to this function

get_access_token(client_secret, authorization_code)

View Source

See FortnoxEx.Utils.get_access_token/2.

Link to this function

get_account(client, account_number)

View Source

See FortnoxEx.Models.Account.get_account/2.

Link to this function

get_article(client, article_number)

View Source

See FortnoxEx.Models.Article.get_article/2.

Link to this function

get_asset(client, asset_number)

View Source

See FortnoxEx.Models.Asset.get_asset/2.

Link to this function

get_attendance_transaction(client, attendance_transaction_number)

View Source

See FortnoxEx.Models.AttendanceTransaction.get_attendance_transaction/2.

Link to this function

get_contract(client, contract_number)

View Source

See FortnoxEx.Models.Contract.get_contract/2.

Link to this function

get_currency(client, currency_number)

View Source

See FortnoxEx.Models.Currency.get_currency/2.

Link to this function

get_customer(client, customer_number)

View Source

See FortnoxEx.Models.Customer.get_customer/2.

Link to this function

get_employee(client, employee_number)

View Source

See FortnoxEx.Models.Employee.get_employee/2.

Link to this function

get_invoice(client, invoice_number)

View Source

See FortnoxEx.Models.Invoice.get_invoice/2.

Link to this function

get_offer(client, offer_number)

View Source

See FortnoxEx.Models.Offer.get_offer/2.

Link to this function

get_order(client, order_number)

View Source

See FortnoxEx.Models.Order.get_order/2.

Link to this function

get_price_list(client, price_list_number)

View Source

See FortnoxEx.Models.PriceList.get_price_list/2.

Link to this function

get_project(client, project_number)

View Source

See FortnoxEx.Models.Project.get_project/2.

Link to this function

get_supplier(client, supplier_number)

View Source

See FortnoxEx.Models.Supplier.get_supplier/2.

Link to this function

get_supplier_invoice(client, supplier_invoice_number)

View Source

See FortnoxEx.Models.SupplierInvoice.get_supplier_invoice/2.

Link to this function

get_unit(client, unit_number)

View Source

See FortnoxEx.Models.Unit.get_unit/2.

Link to this function

increase_invoice_count_for_contract(client, contract_number)

View Source

See FortnoxEx.Models.Contract.increase_invoice_count_for_contract/2.

Link to this function

list_absence_transactions(client, query)

View Source

See FortnoxEx.Models.AbsenceTransaction.list_absence_transactions/2.

Link to this function

list_account_charts(client)

View Source

See FortnoxEx.Models.AccountChart.list_account_charts/1.

Link to this function

list_accounts(client, query)

View Source

See FortnoxEx.Models.Account.list_accounts/2.

Link to this function

list_articles(client, query)

View Source

See FortnoxEx.Models.Article.list_articles/2.

Link to this function

list_assets(client, query)

View Source

See FortnoxEx.Models.Asset.list_assets/2.

Link to this function

list_attendance_transactions(client, query)

View Source

See FortnoxEx.Models.AttendanceTransaction.list_attendance_transactions/2.

Link to this function

list_contracts(client, query)

View Source

See FortnoxEx.Models.Contract.list_contracts/2.

Link to this function

list_currencys(client, query)

View Source

See FortnoxEx.Models.Currency.list_currencys/2.

Link to this function

list_customers(client, query)

View Source

See FortnoxEx.Models.Customer.list_customers/2.

Link to this function

list_employees(client, query)

View Source

See FortnoxEx.Models.Employee.list_employees/2.

Link to this function

list_invoices(client, query)

View Source

See FortnoxEx.Models.Invoice.list_invoices/2.

Link to this function

list_offers(client, query)

View Source

See FortnoxEx.Models.Offer.list_offers/2.

Link to this function

list_orders(client, query)

View Source

See FortnoxEx.Models.Order.list_orders/2.

Link to this function

list_price_lists(client, query)

View Source

See FortnoxEx.Models.PriceList.list_price_lists/2.

Link to this function

list_projects(client, query)

View Source

See FortnoxEx.Models.Project.list_projects/2.

Link to this function

list_supplier_invoices(client, query)

View Source

See FortnoxEx.Models.SupplierInvoice.list_supplier_invoices/2.

Link to this function

list_suppliers(client, query)

View Source

See FortnoxEx.Models.Supplier.list_suppliers/2.

Link to this function

list_units(client, query)

View Source

See FortnoxEx.Models.Unit.list_units/2.

Link to this function

stream_absence_transactions(client, query)

View Source

See FortnoxEx.Models.AbsenceTransaction.stream_absence_transactions/2.

Link to this function

stream_accounts(client, query)

View Source

See FortnoxEx.Models.Account.stream_accounts/2.

Link to this function

stream_articles(client, query)

View Source

See FortnoxEx.Models.Article.stream_articles/2.

Link to this function

stream_assets(client, query)

View Source

See FortnoxEx.Models.Asset.stream_assets/2.

Link to this function

stream_attendance_transactions(client, query)

View Source

See FortnoxEx.Models.AttendanceTransaction.stream_attendance_transactions/2.

Link to this function

stream_contracts(client, query)

View Source

See FortnoxEx.Models.Contract.stream_contracts/2.

Link to this function

stream_currencys(client, query)

View Source

See FortnoxEx.Models.Currency.stream_currencys/2.

Link to this function

stream_customers(client, query)

View Source

See FortnoxEx.Models.Customer.stream_customers/2.

Link to this function

stream_employees(client, query)

View Source

See FortnoxEx.Models.Employee.stream_employees/2.

Link to this function

stream_invoices(client, query)

View Source

See FortnoxEx.Models.Invoice.stream_invoices/2.

Link to this function

stream_offers(client, query)

View Source

See FortnoxEx.Models.Offer.stream_offers/2.

Link to this function

stream_orders(client, query)

View Source

See FortnoxEx.Models.Order.stream_orders/2.

Link to this function

stream_price_lists(client, query)

View Source

See FortnoxEx.Models.PriceList.stream_price_lists/2.

Link to this function

stream_projects(client, query)

View Source

See FortnoxEx.Models.Project.stream_projects/2.

Link to this function

stream_supplier_invoices(client, query)

View Source

See FortnoxEx.Models.SupplierInvoice.stream_supplier_invoices/2.

Link to this function

stream_suppliers(client, query)

View Source

See FortnoxEx.Models.Supplier.stream_suppliers/2.

Link to this function

stream_units(client, query)

View Source

See FortnoxEx.Models.Unit.stream_units/2.

Link to this function

update_absence_transaction(client, absence_transaction_number, absence_transaction_attrs)

View Source

See FortnoxEx.Models.AbsenceTransaction.update_absence_transaction/3.

Link to this function

update_account(client, account_number, account_attrs)

View Source

See FortnoxEx.Models.Account.update_account/3.

Link to this function

update_article(client, article_number, article_attrs)

View Source

See FortnoxEx.Models.Article.update_article/3.

Link to this function

update_asset(client, asset_number, asset_attrs)

View Source

See FortnoxEx.Models.Asset.update_asset/3.

Link to this function

update_attendance_transaction(client, attendance_transaction_number, attendance_transaction_attrs)

View Source

See FortnoxEx.Models.AttendanceTransaction.update_attendance_transaction/3.

Link to this function

update_contract(client, contract_number, contract_attrs)

View Source

See FortnoxEx.Models.Contract.update_contract/3.

Link to this function

update_currency(client, currency_number, currency_attrs)

View Source

See FortnoxEx.Models.Currency.update_currency/3.

Link to this function

update_customer(client, customer_number, customer_attrs)

View Source

See FortnoxEx.Models.Customer.update_customer/3.

Link to this function

update_employee(client, employee_number, employee_attrs)

View Source

See FortnoxEx.Models.Employee.update_employee/3.

Link to this function

update_invoice(client, invoice_number, invoice_attrs)

View Source

See FortnoxEx.Models.Invoice.update_invoice/3.

Link to this function

update_offer(client, offer_number, offer_attrs)

View Source

See FortnoxEx.Models.Offer.update_offer/3.

Link to this function

update_order(client, order_number, order_attrs)

View Source

See FortnoxEx.Models.Order.update_order/3.

Link to this function

update_price_list(client, price_list_number, price_list_attrs)

View Source

See FortnoxEx.Models.PriceList.update_price_list/3.

Link to this function

update_project(client, project_number, project_attrs)

View Source

See FortnoxEx.Models.Project.update_project/3.

Link to this function

update_supplier(client, supplier_number, supplier_attrs)

View Source

See FortnoxEx.Models.Supplier.update_supplier/3.

Link to this function

update_supplier_invoice(client, supplier_invoice_number, supplier_invoice_attrs)

View Source

See FortnoxEx.Models.SupplierInvoice.update_supplier_invoice/3.

Link to this function

update_unit(client, unit_number, unit_attrs)

View Source

See FortnoxEx.Models.Unit.update_unit/3.