Your agency just closed a $300,000 engagement. You staffed the project immediately, started paying your team, covered cloud infrastructure costs, and delivered the first milestone on time. The client approved the deliverable. Then the invoice sat in their AP queue for 47 days. Then 60 days. Then 75 days. Your cash flow projection โ the one that showed comfortable margins โ now shows a gap. You are funding the client's project with your own working capital, and the longer payment takes, the more stress it puts on your business.
Accounts receivable management is the operational discipline that keeps AI agencies financially healthy. It is not glamorous, it is not technical, and it is rarely discussed in agency strategy conversations. But poor AR management has killed more agencies than bad sales years. Cash flow is oxygen โ you can survive a bad quarter of sales, but you cannot survive running out of cash.
Why AI Agencies Have Unique AR Challenges
Long Project Timelines
AI projects typically run 3-12 months. Unlike a one-time product sale, you are delivering services continuously over an extended period. If your billing terms allow net-60 payment on monthly invoices, you can easily have $200,000-500,000 outstanding at any given time on a single large project. Multiply by several concurrent projects, and your AR balance can exceed your monthly revenue.
High Labor Costs
AI agencies have high labor costs โ senior ML engineers and data scientists command premium salaries. Unlike product companies that can scale revenue without proportional cost increases, agencies pay their team whether invoices are collected or not. Every day an invoice goes unpaid, you are funding the client's project with your payroll.
Enterprise Payment Processes
Enterprise clients โ the primary buyers of AI agency services โ have complex procurement and payment processes. Invoices must be coded correctly, approved by multiple stakeholders, processed through AP systems, and scheduled for payment runs. Any error or delay at any step restarts the clock. Understanding enterprise payment processes and optimizing for them is essential.
Milestone Disputes
AI projects sometimes encounter disagreements about whether milestones have been achieved. A client who questions model performance, data quality, or deliverable completeness may delay payment while the dispute is resolved. These disputes can extend payment timelines by weeks or months.
Structuring Your Billing for Cash Flow
Payment Terms
Your payment terms are the most important AR decision you make. They determine when cash arrives and how much working capital you need.
Net-15: Payment due within 15 days of invoice. Aggressive for enterprise clients but worth negotiating for smaller engagements or with clients who have fast payment processes.
Net-30: The standard for professional services. Thirty days from invoice to payment is reasonable and widely accepted. This should be your default starting position.
Net-45 or Net-60: Common in enterprise procurement. Large companies often insist on extended payment terms because their AP processes require it. Accept these terms only when the deal value justifies the cash flow impact, and account for the delayed cash flow in your project profitability calculations.
Early payment discount: Offer a 2% discount for payment within 10 days (2/10 net 30). Some enterprise AP departments are incentivized to capture early payment discounts, and 2% off your invoice is far cheaper than the cost of financing 60+ days of outstanding receivables.
Billing Structure
How you structure billing throughout the project affects your cash flow profile.
Upfront deposit: Require a deposit (20-30% of project value) before work begins. The deposit funds initial project setup, demonstrates client commitment, and reduces your cash flow exposure. Frame it as a "project initiation fee" that covers discovery, environment setup, and initial staffing.
Milestone billing: Invoice at predefined project milestones โ discovery complete, first model trained, system deployed, acceptance testing passed. Milestone billing ties payment to deliverables and creates natural payment triggers throughout the project.
Monthly billing: For longer projects, bill monthly for work completed. Monthly billing creates predictable cash flow but requires clear documentation of work performed to support each invoice.
Time and materials: Bill for actual hours worked, typically on a biweekly or monthly cycle. T&M billing provides the most predictable cash flow for the agency but requires detailed time tracking and client approval of hours.
Retainer: For ongoing AI support and maintenance, bill a fixed monthly retainer. Retainers provide the most predictable cash flow and the lowest AR management overhead.
Recommended structure for large engagements: 25% upfront deposit, milestone billing for the project phase, transitioning to monthly retainer for ongoing support. This structure provides strong initial cash flow, milestone-aligned billing during delivery, and predictable recurring revenue for maintenance.
Invoice Design
Professional, clear invoices get paid faster than confusing or incomplete ones.
Essential invoice elements:
- Unique invoice number
- Invoice date and payment due date
- Your company legal name and address
- Client company legal name and billing address
- PO number (if the client requires purchase orders)
- Project name and description
- Itemized services with clear descriptions
- Hours and rates (for T&M engagements)
- Milestone reference (for milestone billing)
- Total amount due
- Payment instructions (bank details, wire transfer information, accepted payment methods)
- Late payment terms
Common invoice errors that delay payment:
- Missing or incorrect PO number
- Billing to the wrong entity (parent vs. subsidiary)
- Incorrect billing address
- Missing required fields that the client's AP system requires
- Descriptions that do not match contract language
Before sending your first invoice to a new client, ask their AP team what they need on invoices to process payment smoothly. This five-minute conversation can prevent weeks of payment delays.
Collections Process
The Collections Timeline
Establish a systematic collections process that balances persistence with relationship preservation.
Day 0: Invoice sent. Confirm receipt with the billing contact.
Day 7: If no acknowledgment, send a friendly email confirming receipt and asking if any information is needed to process the invoice.
Day 25: Five days before due date, send a reminder email. "This is a friendly reminder that invoice [number] for [amount] is due on [date]. Please let me know if you have any questions."
Day 30 (due date): If not paid, send a polite follow-up on the day payment is due. "Invoice [number] was due today. Could you confirm the expected payment date?"
Day 37: One week past due. Escalate from email to a phone call with the billing contact. "I wanted to follow up on invoice [number], which is now 7 days past due. Is there anything I can help with to expedite payment?"
Day 45: Two weeks past due. Escalate to the project sponsor or your primary client contact. Frame it as an operational issue: "I wanted to flag that invoice [number] is 15 days past due. Can you help me connect with the right person in your AP team to resolve this?"
Day 60: One month past due. Formal past-due notice sent to the client contact and the executive sponsor. Pause new work if the contract allows it. "Per our agreement, payment is now 30 days past due. We may need to pause work until the outstanding balance is resolved."
Day 90+: Sixty days past due. Involve your attorney if the balance is significant. Consider formal collection actions. At this point, the relationship is likely damaged regardless of whether you collect.
Escalation Without Burning Bridges
The hardest part of collections is maintaining the client relationship while pursuing payment. Most late payments are not malicious โ they result from AP process failures, budget holds, or internal bureaucracy.
Keep the tone professional: Every collections communication should be factual and solution-oriented. "Invoice [number] for [amount] is [X] days past due. What can I do to help resolve this?" Avoid accusatory language, even when frustrated.
Separate collections from delivery: The project team should not be delivering collections messages. Use a dedicated billing contact or operations manager for collections. This keeps the client-agency relationship clean and prevents payment disputes from contaminating the working relationship.
Offer solutions: If a client is struggling with payment, offer solutions โ payment plans, partial payments, or adjusted billing schedules. A client who pays $50,000 per month for six months is better than a client who pays nothing and becomes a write-off.
Document everything: Every payment commitment, every conversation about past-due invoices, and every agreed-upon resolution should be documented in writing. If collections ever escalate to legal action, documentation is essential.
Preventing AR Problems
Client Creditworthiness
Evaluate client creditworthiness before accepting large engagements. This is especially important for engagements over $100,000 or with companies you have not worked with before.
For public companies: Review financial statements for signs of cash flow stress โ declining revenue, increasing debt, or negative cash flow from operations.
For private companies: Request references from other vendors, check business credit reports through Dun and Bradstreet or similar services, and consider requiring larger upfront deposits.
For startups: Startups with limited cash reserves are higher collection risks. Require larger upfront deposits (30-50%), bill on shorter cycles (biweekly), and limit your exposure to any single startup client.
Contract Protections
Your contract should include provisions that protect your AR.
Payment terms: Clearly state payment terms, late payment penalties, and the consequences of non-payment (work stoppage, interest charges, collection costs).
Late payment interest: Include a clause for interest on past-due invoices (typically 1-1.5% per month). Even if you rarely enforce it, the clause creates incentive for timely payment.
Work stoppage: Include the right to pause or stop work if payment is more than 30 days past due. This is your strongest leverage for ensuring payment โ clients who need your ongoing work will prioritize payment to keep the project moving.
IP retention: Retain ownership of work product until final payment. This creates additional incentive for the client to pay and protects your interests if the engagement ends in dispute.
Dispute resolution: Define a process for resolving billing disputes that does not allow the client to withhold payment for the entire invoice while disputing a portion. Require payment of undisputed amounts while disputed amounts are resolved.
AR Metrics and Monitoring
Key Metrics
Days Sales Outstanding (DSO): The average number of days it takes to collect payment after an invoice is issued. Calculate by dividing your average AR balance by your average daily revenue. Target DSO under 45 days for a healthy AI agency.
AR Aging: The breakdown of outstanding invoices by age โ current (0-30 days), 31-60 days, 61-90 days, and 90+ days. Healthy aging has 80%+ of AR in the current category. Any amount in the 90+ category requires immediate attention.
Collection effectiveness index: The percentage of AR that is collected within terms. Track this monthly to identify trends โ declining CEI indicates worsening collection performance.
Bad debt ratio: The percentage of invoices that are ultimately uncollectable. For a well-managed AI agency, bad debt should be under 1% of revenue. Higher ratios indicate problems with client selection, contract terms, or collections processes.
Monitoring Cadence
Weekly: Review AR aging report. Identify any invoices approaching or past due and trigger the appropriate collections step.
Monthly: Review DSO trends, collection effectiveness, and any disputed invoices. Identify systemic issues (specific clients consistently paying late, specific invoice types causing problems).
Quarterly: Review bad debt risk, evaluate client payment patterns, and adjust credit policies as needed.
Cash Flow Forecasting
Use your AR data to forecast cash flow:
Expected collections: Based on each client's historical payment patterns, project when outstanding invoices will be collected. Client A consistently pays on day 35, Client B on day 52.
Revenue pipeline: Based on signed contracts and expected milestones, project future invoicing.
Cash flow projection: Combine expected collections with projected expenses (payroll, infrastructure, overhead) to project cash flow 30, 60, and 90 days forward. This projection identifies potential cash gaps before they become crises.
Accounts receivable management is not the most exciting aspect of running an AI agency, but it is one of the most important. The agencies that collect efficiently maintain the cash flow needed to invest in growth, attract talent, and weather slow periods. The agencies that treat AR as an afterthought find themselves in a perpetual cash crunch that constrains every other aspect of their business. Build the systems, establish the processes, and maintain the discipline โ your cash flow depends on it.