-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
Description
The workflow for RUT/ROT documents that we get from Fortnox is not great... We should be able to change
order: {
tax_redction_type: 'rot',
housework: true,
order_rows: [
{ article: '000', housework: true, house_work_type: 'CONSTRUCTION' },
{ article: '000', housework: false, house_work_type: 'EMPTYHOUSEWORK' },
]
}
into something like this
# Create Fortnox::API::Order
# Check conflicting house work types
fortnox_api_order: {
order_rows: [
{ article: '000', house_work_type: 'CONSTRUCTION' },
{ article: '000' }
]
}