Automatically collect e-signed Tax forms upon cash out request [$1000]
rappo opened this issue · 8 comments
For any year-to-date cash out total of $600 or more, we need to collect a short tax form (w-8,w-9).
Current process:
- in cashout admin, I see the Y-t-D is >600
- using our helpdesk system (Groove), I email the user our template "Forms needed..." email
- manually check our email and wait for a completed form from PDFFiller
- user is now manually cleared for cash outs
What should happen:
1. If Y-t-D is >=600 USD, block cash out request attempts
- If user is not flagged as "tax form complete" they will be required to fill out a form before they can request a cash out. This is for all users, not just >$600.
- prompt user to select the appropriate form and fill it out
- Eliminate the need for PDFFiller completely -- Is there an open project we can use that will give us valid form completion & e-signing?
- upon e-sign, flag user as "Tax form complete".
- user can now submit a cashout request
- pdfs should be stored in a safe but accessible location for verification
I've made some progress on item #3 and started writing a small commandline tool to fill in pdf forms.
It's based on mupdf, so far it fills in some fields on the fw9 tax form with test data and generates a new pdf, looks fine.
I haven't got mupdf's digital signing api working yet though. Luckily but the 0.9.5 release of podofo has a podofosign tool which works, not my ideal solution but a nice backup...
Aiming to have the form filling tool working in a week or so.
The form filling tool for item 3 is here - https://github.com/mitnuh/fill-pdf.
mupdf's digital signing api worked fine btw - the problem was trying to edit + sign a pdf doc in one step - the correct process was load, edit, save, reload, sign, resave.
Edit: Ok, will try again.
Bounty has been increased even more... having this task completed would be amazing! https://www.bountysource.com/issues/42707387-automatically-collect-e-signed-tax-forms-upon-cash-out-request
@mitnuh bumped this bounty twice this week. Hopefully that's enough motivation to have you take another stab at it :).
I'm on it.
About step 2 - did you want a UI similar to pdf-filler - ie overlaying the input fields onto an image of the pdf so it kinda looks and feels like you're filling in a copy of the form?
edit: I'm assuming yes as it looks neat and has all the instructions on how to fill in the form.
Why not use DocuSign?
@mitnuh - I would like it to appear as if you're editing a live document, yes.
@nhodges - I'm open to using a service and just hooking into their API, but I'm also interested in reducing our costs and external dependencies. Delicate game to play, but nothing set in stone so if someone has a good solution speak up.
Took longer than I expected but should be able to make a PR tomorrow. Edit: I was too optimistic, almost there.