---
# System prepended metadata

title: "Smart Invoice \U0001F91D DAOhaus"
tags: [Smart Invoice]

---

---
tags: Smart Invoice
---

# Smart Invoice 🤝 DAOhaus

## Context
Built by Raid Guild, [Smart Invoice](https://smartinvoice.xyz) is new, safer way for clients and service providers to transact. It combines payment milestones, escrow, and arbitration into a single product to [solve the invoice dilemma](https://hackmd.io/iGxzqdgnT9KPq-ubbuTQBQ). 

In short, clients can be sure that they'll receive the work they're paying for while service providers can be sure that they'll be paid for their work.

Smart Invoice is based off an internal Raid Guild escrow tool that we use to facilitate more trustful relationships with our clients. We realized many other freelancers and organizations in web3 could benefit as well, so we built Smart Invoice. 

Since DAOs are a huge part of the web3 ecocystem, integrating Smart Invoice with DAOhaus is a natural fit. With a Smart Invoice DAOhaus boost, DAOs could...
1. Get paid via Smart Invoice for services provided
2. Pay via Smart Invoice for services received
3. Earn revenue by acting as resolvers/arbitrators for other Smart Invoices.

## Objective

Create a Smart Invoice DAOhaus Boost 

## Potential Functionality

### 1. Get Paid via Smart Invoice
- proposal type: Create Smart Invoice
    - params: client, payee address (Minion), arbitration provider, token, total budget, milestone payments, metadata
- pass proposal to create Smart Invoice
- View Smart Invoice (by contract address)
    - or auto-populate with Smart Invoices with DAO Minion as payee
- withdraw received funds from Minion into DAO
- proposal type: Lock funds in invoice


### 2. Pay a Smart Invoice
- View Smart Invoice (by contract address)
    - or auto-populate with Smart Invoices with DAO as client
- proposal type: Smart Invoice Deposit
    - select milestones to cover
- proposal type: Smart Invoice Release
- proposal type: Lock funds in invoice
- proposal type: safety valve withdrawal

### 3. Be an arbitrator for Smart Invoice
- View Smart Invoice (by contract address)
    - or auto-populate with Smart Invoices with DAO Minion as resolver
- proposal type: Smart Invoice Arbitrate
    - select distro values to client and payee
- View evidence?
- Withdraw arbitration fees from Minion into DAO

## Expected Work Required
- Design sprint and/or dev spike to understand how to integrate into DAOhaus platform
- Adapt Smart Invoice UI for DAOhaus platform
- UI on top of the the Vanilla Minion; likely doesn't require any contract work
- Integrate into DAOhaus UI
    - proposal types
    - apps
    - settings
    - etc

## Budget
??