The tax software connections and the client list are shown by Filed inside the
dialog. Your product never receives them.
Before you start
The firm needs two things in place before its users connect your product:- An active Filed workspace.
- One or more active tax software connections in that workspace.
1. Request a URL
CallcreateDataEntryStartUrl from your server with a workspaceToken that
has write access (see Authentication or
Connect with OAuth).
ID!
required
The Filed client to start data entry for. It must belong to the token’s
workspace.
String!
required
The origin of the page that will show the dialog, for example
https://app.example.com. Must be https with no path. The dialog posts its
result to this origin and to no other.String!
Open this in an iframe or a pop-up. It signs the browser in for the dialog
only and expires after 10 minutes. Treat it as a credential: request it right
before showing the dialog and never log it.
Date!
When the URL stops working.
2. Show the dialog
window.open(url, "filed-data-entry", "width=760,height=640").
Inside the dialog the user sees one of these:
Any link in the dialog opens Filed in a new tab; the dialog itself never
navigates away.
3. Listen for the result
The dialog posts a message to your window when something happens. Check the sender’s origin before acting on it.
Every message also carries
source: "filed".
After the user starts
- Your webhook endpoint receives
task.runningfor the sametaskId, withtaskType: AI_DATA_ENTRY; see Receive Webhooks. - Filed waits for the client’s documents to finish processing, then prepares
the entries in the background. If the documents are still processing after
two hours, or none can be used, the task fails and you receive
task.failedwith the reason inerrorMessage. - When the entries are ready you receive
task.pausedwithreason: ready_for_review. ItsactionUrlopens them in Filed, where the user reviews them and sends them to their tax software. Each person who reviews needs their own Filed sign-in. task.completedfollows once the entries are sent and verified.- When more documents arrive for the same client, the user opens that same page to prepare again. No new URL is needed.
Things to know
- The dialog acts as the Filed user who connected your product, so it shows the tax software connections that user can use.
- A token without write access cannot request a URL.
- The URL signs in one browser for 10 minutes and is not renewed. If the user leaves the dialog open past that, they see the expired notice.