Square freight bills: 6 invoice limits before you send
LaneMile Editorial Team · Published · 12 minute read
Sources checked
Scope: use the jurisdiction stated in the guide and its sources.
LaneMile drafting rules: editorial standards.
Before sending freight bills through Square's Invoices API, check six limits covering attachments, orders, installments and payment feature versions.
Key takeaways
- Production attachment total: 25 MB across all files on one invoice.
- Sandbox attachment total: 1 KB across all files, far below production.
- Installment schedules: up to 12 payments, with or without an initial deposit.
- API invoices must link to an order created with the Orders API.
- BNPL and Cash App Pay both require Square API version 2021-04-21 or later.
If you bill brokers and shippers with Square invoices, a problem with one invoice can hold up your payment. A file that is too large to attach, or a payment plan that does not fit the rules, may not show up until someone asks where the money is.
The limits come from the Invoices API page on Square's developer site. The page gives separate numbers for the Square Sandbox and for production, and it names the API versions that some features need. None of them is a freight rule. Brokers and shippers may have their own requirements for paperwork, and those are outside the scope of this post.
Why a small carrier should check these first
A carrier that is waiting on one payment to cover fuel and driver pay feels a delay quickly, so it helps to catch limits before the invoice goes out rather than after a broker says a file did not come through.
Read each section with two questions in mind. First, are you working in the sandbox or in production? Second, are your invoices created through the API, or through some other route? The limits are tied to those answers. If you cannot tell which route your invoices use, find out before you rely on any number here. Asking whoever set up your billing is a quick way to get that answer.
Freight bills are a useful example because they can travel with supporting documents. Each of those is a separate file. A bill that looks fine on its own may be too large once everything is added.
For an earlier check in the billing process, see broker pay speed and credit checks.
Production attachments total 25 MB across all files
According to the Invoices API page, the total file size limit for all attachments in production is 25 MB. The word that matters most is "total." Every attachment you add counts toward one shared amount, so add the sizes together before comparing them with the limit.
Check sizes before you send, not after. Open each file and look at its size on your computer or phone. Phone photos and multi-page scans can be larger than you expect, and a scan of a long document grows with every page. A simple habit helps: keep a running total for each invoice in a note or spreadsheet, so you can see how close you are to the line before you press send.
If the total goes over the limit, you have choices. You can decide which documents the receiver needs and attach only those. You can send the rest separately by email, with the invoice number in the subject line so the two can be matched. You can also keep your own copies, so you can send any document again if the receiver asks for it.
When you have to cut the total down, do it on purpose. Decide which document the receiver needs to approve the payment, and keep that one attached. Then list the other files in the message so the receiver knows what exists and can ask for it. Count the attachments on each invoice separately.
File names help too. Name each file with the load number and the document type, so you and the receiver can tell them apart. A name such as "load number, bill" is easier to find later than a camera default. File names do not change the size limit, but they cut down on resending documents by mistake.
Make the check part of your routine rather than a one-time test. A load with an unusually large set of photos can push a bill over the limit even if earlier bills went through without trouble. Looking at the total each time keeps you from relying on memory.
Illustrative example: add the attachment sizes
An illustrative invoice has a scanned bill of 10 MB and supporting files of 10 MB and 5 MB. Together, they reach the production ceiling. Adding another file would put the total over it, so decide which documents the receiver needs attached before sending.
The sandbox allows only 1 KB of attachments in total
In the Square Sandbox, invoices have a total file size limit of 1 KB for all attachments, according to the Invoices API page. That is a much smaller figure than the production limit in the previous section, and the page gives both numbers separately. Keep them separate in your own planning too.
The sandbox is useful only if you read its numbers correctly. A test with a few real documents tests the sandbox limit, not the production limit. Treat a sandbox result as a check of the sandbox, not as proof of what your live invoices will do.
Write down the environment with every test you run. A note such as "sandbox, two attachments, sizes checked" is enough. Without that note, a result from one environment can be mistaken for a result from the other, and you may end up comparing numbers that do not belong together.
Decide before you start what a test is meant to show. A test that checks whether a single small file goes through answers a different question from a test that checks a full set of documents, and one test rarely answers both. Plan for the production check to happen with real invoices, which you should only send when you are ready.
Invoices made through the API need an order from the Orders API
Invoices created with the Invoices API must be associated with an order that was created with the Orders API, according to the Invoices API page. This limit is about how the invoice is built, not how large it is.
For a carrier, the practical question is whether your invoices come through this route at all. If you create them with your own software, or with a third-party tool that calls the Invoices API, check the order association in that workflow. If a vendor sold you the integration, ask them to show you that step rather than assuming it happens. A correct-looking invoice in your inbox does not prove the order step ran.
If you are not sure which route your invoices take, look at how each one was made. Ask the person who sends them to describe the steps from load to invoice, and write those steps down in order. A list of steps makes it easy to see where an order would be created, if one is created at all.
If your invoices are created in some other way, this particular limit is not the one to check for them. Confirm the route with Square before you rely on it, since this limit is written for invoices made with the Invoices API.
When an order is part of your process, decide who owns that step. If one person creates orders and another person creates invoices, agree in writing who does which step, so that neither assumes the other did it.
Store the order number alongside the load number in your records. If the order and the invoice both carry a reference you can search for, it is easier to match a payment to a specific load when a broker or shipper asks about it. This is general good practice, not a Square requirement.
Installment schedules cover up to 12 payments
The Invoices API can configure a payment schedule of up to 12 installment payments, with or without an initial deposit, according to the Invoices API page. Installment payments split one amount into several scheduled payments. A plan with more installment payments would need another arrangement.
Whether to offer an installment plan at all is your decision and your customer's, based on what you have agreed. It is not something to add to an invoice simply because the option exists.
Count before you agree. If a broker or shipper asks to pay a freight bill in parts, write out each payment date and amount first. Count the installment payments, record any deposit separately, and confirm that the total matches the invoice. A longer plan needs a different arrangement, and that arrangement should be agreed with the customer before you send anything.
Put the plan in writing. List the number of payments, the deposit if there is one, and the due date for each payment in the paperwork you send with the invoice. When both sides are looking at the same schedule, a dispute about how many payments remain is easier to avoid.
Keep a record of each payment when it arrives, and compare it with the schedule each time. If a payment does not match what you wrote down, you can raise it while the details are still fresh.
BNPL invoice payments need version 2021-04-21 or later
BNPL invoice payments through the Invoices API need Square API version 2021-04-21 or later, according to the Invoices API page. BNPL stands for buy now, pay later. This limit is about the version of the Square API that your integration uses, not about the invoice itself.
If you have never looked at the number, ask whoever set up the integration which version it sends. A guess based on the app's name is not a check.
The same page lists the response 403 MERCHANT_SUBSCRIPTION_NOT_FOUND next to Square version 2021-08-18 and later. That is a separate item from the BNPL requirement, but it is on the same page and it uses version numbers too, so keep it in mind. If you see that response, write down the version your integration is using and contact Square support with the exact text.
Version checks are easy to forget after an update. Put a reminder in your calendar to check the version after any change to your billing software, and check it again when a developer touches the integration.
Keep the version number in your records along with the date you last checked it. If a customer asks why a payment option is or is not available, you can answer from your own notes and avoid guessing.
Cash App Pay on API invoices needs version 2021-04-21 or later
Configuring Cash App Pay through the Invoices API requires Square API version 2021-04-21 or later, according to the Invoices API page. This limit is about setup. This post does not address how a customer chooses a payment method or how the payment appears on a statement.
Before you tell a customer that a payment option is available, confirm the setup in your own records. Use the same version check as in the BNPL section.
If you change the setup later, record what you changed and when. A simple dated note lets you show what the setup was on a given day, which is useful if a payment question comes up weeks later.
When an invoice hits a limit, fix one cause at a time
If an invoice runs into one of these limits, stop, fix the one cause you can identify, and check the other items again before you send. Changing several things at once makes it hard to tell which change solved the problem.
Start by writing down the exact message or response code you saw, along with the date and the environment you were working in. A note that says "production, attachment total, date" is more useful later than a memory of an error that seemed to clear up on its own.
Do not keep resending the same invoice in the hope that it will go through. If the cause is a total that is too large, resending does not change the total. Remove or split the attachments, recount, and then send once.
If the problem is a response code, the page's list is a starting point, not a diagnosis.
Tell the customer plainly what is happening. A short message that says the invoice needed a smaller set of attachments, or that a payment plan is being adjusted, gives the broker or shipper something to act on. Avoid guessing at a cause you have not confirmed.
For a separate paperwork problem, see freight damage claims.
One pre-send routine covers all six limits
You can cover all six limits with one routine, run in the same order every time. Start with the environment, then check the route, attachment total, installment count and API version against the sections above.
Keep the routine on one page. A short written list, kept with your billing records, is easier to follow than a memory of what the page says. When you update your billing tool, or when you have reason to think a limit has changed, reread the Invoices API page and update the list. Put the date you last checked at the top of it.
Make the routine a habit for the first few invoices after any change. Early on, it is easy to skip a step because the last invoice went through. A checkmark beside each item makes a skipped step visible later, which helps if a broker asks how a particular invoice was prepared.
The order you run the checks in, and who runs them, is your decision. Write the routine in your own words so that the person who sends invoices on a busy day can follow it without guessing.
Check your next freight bill today
Choose the next invoice you intend to send and run the routine above before sending it. Record the environment, billing route, attachment total, any payment schedule and the integration version together in your billing notes.
Related guides: AI agents in freight: 6 numbers to check before you buy · Truck axle weight limits: 80,000 pounds, 5 sources · Freight insurance floor: $750,000 minimum for property.
Questions before you send
Does a successful sandbox test prove my production paperwork fits?
No, a sandbox result does not establish whether the actual production attachments fit. Check the real files against the production ceiling.
What are the two attachment total limits?
Production allows 25 MB across all files; the sandbox allows 1 KB across all files.
How many installment payments can one schedule hold?
Up to 12 installment payments, with or without an initial deposit.
What should I do if I do not know how my invoices are created?
Ask whoever set up your billing to identify the route. Then use the checks that apply to that workflow.
What should I record when an invoice fails?
Record the exact message, date and environment. Use that note to investigate the cause before trying again.
Sources for this guide
- Square Developer Sources checked
- Atlassian Support Sources checked
- Managing Purchase Orders Sources checked
This guide provides general information, not legal, tax, financial or safety advice. LaneMile is not a regulator, load broker, dispatch service or compliance certifier. Apply the authority and vendor guidance for your own operation.