Docker Image for Form 1065 K-1


These instructions assume you are familiar with Docker technology
including deploying Docker containers as microservices.

Microservice

1. Install Google Cloud Command Line Tool (gcloud CLI)

See One-Time Authorization Set Up below.

2. Download the image to your computer or server

docker pull us-central1-docker.pkg.dev/taxdochub-endpoints/tax-doc-server-tax1065k1/tax1065k1-generator:latest

3. Start the Docker app on your computer or server

share=/Users/yourname/docker-share

docker run --detach --interactive --tty \
--name tax1065k1-generator-latest \
--publish 8080:8080 \
--platform linux/amd64 \
--volume ${share}:/var/shared-folder \
us-central1-docker.pkg.dev/taxdochub-endpoints/tax-doc-server-tax1065k1/tax1065k1-generator:latest

4. Using your preferred browser, go the web application at http://localhost:8080. See the user interface and instructions.

5. Individual PDFs: POST JSON to the microservice

Example IntelliJ .http file

POST http://localhost:8080/fdx/v6/tax-forms
Content-Type: application/json
Accept: application/pdf
< Tax1065K1.json

Example curl command

curl --request POST --location "http://localhost:8080/fdx/v6/tax-forms" \
     --header "Content-Type: application/json" \
     --header "Accept: application/pdf" \
     --data Tax1065K1.json

6. Batch PDF Production: POST CSV or XLSX file

 

One-Time Authorization Setup