Skip to content

Improve workflow with RUT/ROT documents #193

@ehannes

Description

@ehannes

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' }
  ]
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions