Print documents in bulk
/documents/bulk/printCosts 2 rate-limit points · Rate limits
Starts a bulk PDF job for many invoices, quotes, credit notes or pro formas, as the Orders page bulk print / download does: pick documents by id or by the list filters, get one merged PDF (bundle) or a zip of single PDFs (separate). date_basis says what from / to mean: the day the document was created (invoice, default) or the day the Shopify order was placed (order; orders without an invoice get one). Returns 202 with a job id and expected_count, the number of documents (or orders) the job will hold; refuses with nothing_matches when that is 0. Poll GET /documents/bulk/:job_id for progress and the download link.
Asynchronous: only one bulk job may run per shop at a time (429 bulk_action_in_progress). Limited to 5,000 documents. Free text search (q) is not supported here; use ids or date / status filters. An invoice is only created when its order is first opened, printed or sent, so for "invoices for last week's orders" use date_basis 'order'.
document_type values: invoice (Invoices), quote (Quotes), credit_note (Credit notes), pro_forma (Pro forma invoices).
link values: linked (Linked to a Shopify order), not_linked (Not linked to an order), trashed (In the trash).
processing_type values: bundle (One merged PDF), separate (A ZIP file of single PDFs).
delivery_method values: download (Download), print (Print).
date_basis values: invoice (Day the invoice was created), order (Day the order was placed).
Also searched asbulk print invoicesdownload many invoicesexport invoices as pdfprint all invoiceszip of invoicesprint invoices for a date rangedownload last month invoicesbulk download credit notesdownload all credit notesbulk print quotesexport invoices for last week orders
Request body
idsarray of integersDocument ids to include (invoices, quotes, credit notes or pro formas). Without ids the filters below select the documents.
document_typestringWhich documents when filtering: 'invoice' (default), 'quote', 'credit_note' or 'pro_forma'. One of:
invoice(Invoices),quote(Quotes),credit_note(Credit notes),pro_forma(Pro forma invoices).One ofinvoicequotecredit_notepro_formadate_basisstringWhat from / to match. 'invoice' (default): the day the document was created. 'order': the day the Shopify order was placed, as the Orders tab filters it; orders without an invoice get one. 'order' works with document_type 'invoice' only, at most one status, and link 'linked' or none. One of:
invoice(Day the invoice was created),order(Day the order was placed).One ofinvoiceorderlinkstring'linked' (created from a Shopify order), 'not_linked' (standalone) or 'trashed'. One of:
linked(Linked to a Shopify order),not_linked(Not linked to an order),trashed(In the trash).One oflinkednot_linkedtrashedprocessing_typestring'bundle' (one merged PDF, default) or 'separate' (zip of single PDFs). One of:
bundle(One merged PDF),separate(A ZIP file of single PDFs).One ofbundleseparatedelivery_methodstring'download' (default) or 'print', as the dashboard distinguishes them. One of:
download(Download),print(Print).One ofprintdownloadstatusstringShopify financial status of the order, one or many ('paid', 'pending').
fromstringFirst day to include, YYYY-MM-DD in the shop time zone (a timestamp keeps only its date). The day the document was created, as the documents list filters it.
tostringLast day to include, YYYY-MM-DD in the shop time zone (a timestamp keeps only its date).
template_namestringTemplate to render with (default 'default': each document type's own default).
Returns
job_idintegerExample:12statusstringExample:pendingcountintegerExample:0kindstringExample:print
Errors
paid_plan_requiredv3_required: the shop still runs the previous dashboard. paid_plan_required: API access needs a paid plan.
The request failed validation. Nothing was saved.
Any request can also fail with unauthorized (401) or rate_limited (429).
Every error has the same shape: see Errors.
curl -X POST "https://app.invoicefalcon.com/api/v3/external/documents/bulk/print" \
-H "X-Auth-Token: $INVOICE_FALCON_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"ids": [
48213,
48190,
48177
]
}'const res = await fetch("https://app.invoicefalcon.com/api/v3/external/documents/bulk/print", {
method: "POST",
headers: {
"X-Auth-Token": process.env.INVOICE_FALCON_API_KEY,
"Content-Type": "application/json",
},
body: JSON.stringify({
"ids": [
48213,
48190,
48177
]
}),
});
const data = await res.json();import os
import requests
res = requests.post(
"https://app.invoicefalcon.com/api/v3/external/documents/bulk/print",
headers={"X-Auth-Token": os.environ["INVOICE_FALCON_API_KEY"]},
json={
"ids": [
48213,
48190,
48177
]
},
)
data = res.json()require "net/http"
require "json"
uri = URI("https://app.invoicefalcon.com/api/v3/external/documents/bulk/print")
req = Net::HTTP::Post.new(uri, "X-Auth-Token" => ENV["INVOICE_FALCON_API_KEY"], "Content-Type" => "application/json")
req.body = {
ids: [
48213,
48190,
48177
]
}.to_json
res = Net::HTTP.start(uri.host, uri.port, use_ssl: true) { |http| http.request(req) }
data = JSON.parse(res.body)curl -X POST "https://app.invoicefalcon.com/api/v3/external/documents/bulk/print" \
-H "X-Auth-Token: $INVOICE_FALCON_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"date_basis": "order",
"from": "2026-11-06",
"to": "2026-11-12",
"processing_type": "separate"
}'const res = await fetch("https://app.invoicefalcon.com/api/v3/external/documents/bulk/print", {
method: "POST",
headers: {
"X-Auth-Token": process.env.INVOICE_FALCON_API_KEY,
"Content-Type": "application/json",
},
body: JSON.stringify({
"date_basis": "order",
"from": "2026-11-06",
"to": "2026-11-12",
"processing_type": "separate"
}),
});
const data = await res.json();import os
import requests
res = requests.post(
"https://app.invoicefalcon.com/api/v3/external/documents/bulk/print",
headers={"X-Auth-Token": os.environ["INVOICE_FALCON_API_KEY"]},
json={
"date_basis": "order",
"from": "2026-11-06",
"to": "2026-11-12",
"processing_type": "separate"
},
)
data = res.json()require "net/http"
require "json"
uri = URI("https://app.invoicefalcon.com/api/v3/external/documents/bulk/print")
req = Net::HTTP::Post.new(uri, "X-Auth-Token" => ENV["INVOICE_FALCON_API_KEY"], "Content-Type" => "application/json")
req.body = {
date_basis: "order",
from: "2026-11-06",
to: "2026-11-12",
processing_type: "separate"
}.to_json
res = Net::HTTP.start(uri.host, uri.port, use_ssl: true) { |http| http.request(req) }
data = JSON.parse(res.body)curl -X POST "https://app.invoicefalcon.com/api/v3/external/documents/bulk/print" \
-H "X-Auth-Token: $INVOICE_FALCON_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"status": "paid",
"from": "2026-02-01",
"to": "2026-02-28",
"processing_type": "separate",
"template_name": "default"
}'const res = await fetch("https://app.invoicefalcon.com/api/v3/external/documents/bulk/print", {
method: "POST",
headers: {
"X-Auth-Token": process.env.INVOICE_FALCON_API_KEY,
"Content-Type": "application/json",
},
body: JSON.stringify({
"status": "paid",
"from": "2026-02-01",
"to": "2026-02-28",
"processing_type": "separate",
"template_name": "default"
}),
});
const data = await res.json();import os
import requests
res = requests.post(
"https://app.invoicefalcon.com/api/v3/external/documents/bulk/print",
headers={"X-Auth-Token": os.environ["INVOICE_FALCON_API_KEY"]},
json={
"status": "paid",
"from": "2026-02-01",
"to": "2026-02-28",
"processing_type": "separate",
"template_name": "default"
},
)
data = res.json()require "net/http"
require "json"
uri = URI("https://app.invoicefalcon.com/api/v3/external/documents/bulk/print")
req = Net::HTTP::Post.new(uri, "X-Auth-Token" => ENV["INVOICE_FALCON_API_KEY"], "Content-Type" => "application/json")
req.body = {
status: "paid",
from: "2026-02-01",
to: "2026-02-28",
processing_type: "separate",
template_name: "default"
}.to_json
res = Net::HTTP.start(uri.host, uri.port, use_ssl: true) { |http| http.request(req) }
data = JSON.parse(res.body)curl -X POST "https://app.invoicefalcon.com/api/v3/external/documents/bulk/print" \
-H "X-Auth-Token: $INVOICE_FALCON_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"document_type": "credit_note",
"from": "2026-11-01",
"to": "2026-11-30",
"processing_type": "separate"
}'const res = await fetch("https://app.invoicefalcon.com/api/v3/external/documents/bulk/print", {
method: "POST",
headers: {
"X-Auth-Token": process.env.INVOICE_FALCON_API_KEY,
"Content-Type": "application/json",
},
body: JSON.stringify({
"document_type": "credit_note",
"from": "2026-11-01",
"to": "2026-11-30",
"processing_type": "separate"
}),
});
const data = await res.json();import os
import requests
res = requests.post(
"https://app.invoicefalcon.com/api/v3/external/documents/bulk/print",
headers={"X-Auth-Token": os.environ["INVOICE_FALCON_API_KEY"]},
json={
"document_type": "credit_note",
"from": "2026-11-01",
"to": "2026-11-30",
"processing_type": "separate"
},
)
data = res.json()require "net/http"
require "json"
uri = URI("https://app.invoicefalcon.com/api/v3/external/documents/bulk/print")
req = Net::HTTP::Post.new(uri, "X-Auth-Token" => ENV["INVOICE_FALCON_API_KEY"], "Content-Type" => "application/json")
req.body = {
document_type: "credit_note",
from: "2026-11-01",
to: "2026-11-30",
processing_type: "separate"
}.to_json
res = Net::HTTP.start(uri.host, uri.port, use_ssl: true) { |http| http.request(req) }
data = JSON.parse(res.body)curl -X POST "https://app.invoicefalcon.com/api/v3/external/documents/bulk/print" \
-H "X-Auth-Token: $INVOICE_FALCON_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"document_type": "quote",
"link": "not_linked"
}'const res = await fetch("https://app.invoicefalcon.com/api/v3/external/documents/bulk/print", {
method: "POST",
headers: {
"X-Auth-Token": process.env.INVOICE_FALCON_API_KEY,
"Content-Type": "application/json",
},
body: JSON.stringify({
"document_type": "quote",
"link": "not_linked"
}),
});
const data = await res.json();import os
import requests
res = requests.post(
"https://app.invoicefalcon.com/api/v3/external/documents/bulk/print",
headers={"X-Auth-Token": os.environ["INVOICE_FALCON_API_KEY"]},
json={
"document_type": "quote",
"link": "not_linked"
},
)
data = res.json()require "net/http"
require "json"
uri = URI("https://app.invoicefalcon.com/api/v3/external/documents/bulk/print")
req = Net::HTTP::Post.new(uri, "X-Auth-Token" => ENV["INVOICE_FALCON_API_KEY"], "Content-Type" => "application/json")
req.body = {
document_type: "quote",
link: "not_linked"
}.to_json
res = Net::HTTP.start(uri.host, uri.port, use_ssl: true) { |http| http.request(req) }
data = JSON.parse(res.body){
"job_id": 12,
"status": "pending",
"count": 0,
"kind": "print"
}{
"job_id": 12,
"status": "pending",
"count": 0,
"kind": "print"
}{
"errors": [
"Invalid API key"
],
"code": "unauthorized"
}{
"errors": [
"API access requires a paid plan"
],
"code": "paid_plan_required"
}{
"errors": [
"id is missing"
]
}{
"errors": [
"Rate limit exceeded"
],
"code": "rate_limited"
}