A “software agency agreement” may cover custom development, implementation, a software licence, SaaS access, resale, or ongoing support. Those arrangements create different duties. The first drafting task is to identify what each party is actually providing, who controls the software and customer relationship, and what result triggers payment.
Under China’s Civil Code, contracts may be made in writing or electronically, and retrievable electronic data messages can count as written form. A signed document still needs usable specifications, acceptance steps, intellectual property terms, service commitments, and an exit plan. General promises to deliver a “complete” or “commercially reasonable” solution leave too much for a later dispute.
Classify the transaction before negotiating the clauses
Use the contract title as a starting point, not a legal classification. A reseller may only introduce customers or may have authority to negotiate and sign orders. A software project may involve custom development, configuration of an existing product, integration, a licence, or a mix of these. A cloud subscription adds continuing hosting and service obligations. Put each workstream, responsible party, and payment stream in the agreement or its schedules.
This distinction matters under the Civil Code. A contract for technical development is directed to research and development of new technology, a product, process, material, or system; an implementation or support engagement may instead be a service contract or an unnamed commercial arrangement. The category depends on the substance of the promised work. For a contract that qualifies as technical development, the Civil Code addresses the parties’ cooperation, delivery of results, and allocation of rights. Do not assume those rules resolve every licence, SaaS, or agency deal.
Make scope and changes testable
Attach a statement of work that identifies functions, user roles, interfaces, supported environments, data migration, documentation, and exclusions. For an agency or resale appointment, specify territory, customer segment, permitted channels, authority to make representations, discount limits, lead registration, and whether the appointment is exclusive. Define whether the provider or agent handles onboarding, invoicing, renewals, and first-line support.
Set a change process. Identify who may request and approve a change, how the parties estimate its cost and schedule effect, and whether work can begin before a signed change order. Also state which document controls if a proposal, purchase order, online terms, and master agreement conflict. A short, signed change record and a versioned specification are easier to apply than an email chain with inconsistent attachments.
Connect milestones, acceptance, and payment
For development or implementation, define each milestone by an observable deliverable: for example, a test build, specified integration, migration report, or production release. State the test environment, data, procedures, pass criteria, and material defects that justify rejection. Give the customer a review period and require a written rejection that identifies the failed criteria. Specify the cure and retest process, and say what happens if the customer does not respond. Silence should not become acceptance by accident.
Map each invoice to a milestone or service period and list the documents needed to support it. Clarify taxes, expenses, disputed amounts, late payment, and whether the customer must pay undisputed sums while a defined defect is corrected. In staged-payment disputes, a court may read the agreed sequence and the evidence of performance together; the contract should make clear whether a payment is due on delivery, testing, formal acceptance, or another event.
Allocate software, source code, and other rights
Separate each party’s pre-existing tools and materials from project-specific deliverables. For every deliverable, state whether rights are assigned or licensed, when the transfer or licence takes effect, its permitted users and purposes, and whether modification, sublicensing, or continued use after termination is allowed. Address source code explicitly: whether it is delivered, in what format, with what build instructions and documentation, and when. If the customer needs continuity but the developer will not provide routine source access, the parties can consider escrow and define release events and update duties.
List third-party and open-source components, identify applicable licence obligations, and allocate responsibility for notices and compliance. State how defects in a party’s materials or claims of third-party infringement will be handled. Avoid saying only that the customer “owns the software”: that phrase can obscure background code, reusable tools, configuration, data, documentation, and the precise rights actually needed.
For a technical development contract, the Civil Code’s default rules may differ depending on whether development is commissioned or collaborative. The Supreme People’s Court Intellectual Property Court has also highlighted source-code delivery and ownership as recurring points in software development disputes. The practical safeguard is to agree on delivery, ownership or licence scope, and any limits on reuse in express terms.
Write service, security, and data duties into the deal
For hosted software or support, define availability and how it is measured, maintenance windows, response and restoration targets by severity, escalation contacts, and service credits or other agreed remedies. Explain exclusions and dependencies, including customer infrastructure and third-party services. Provide a support period, update policy, compatibility commitments, and an end-of-life notice process.
Describe the data each party handles, its role and permitted use, access controls, retention, backup, return or deletion, and cooperation after a security incident. Identify the parties responsible for notices and regulatory steps under applicable data protection and cybersecurity rules. These terms should reflect the actual data flows and responsibilities; generic statements that a vendor will “comply with all laws” rarely tell the operations teams what to do.
Set boundaries for agency and distribution
For a software agent or reseller, state whether the relationship is non-exclusive, how commissions are calculated, when they are earned and paid, and how refunds, renewals, discounts, and channel conflicts are treated. Restrict authority to bind the provider unless authority is intentionally granted. Define approved marketing claims and the process for updating product descriptions. If sub-agents are allowed, identify approval requirements and responsibility for their conduct.
Territory, exclusivity, pricing, and channel controls can have competition-law implications depending on the market and the arrangement. Avoid copying a restriction from another jurisdiction without reviewing how it operates in China. The agreement should describe the commercial purpose and scope of any restriction, while specialist review assesses its legal effect.
Plan for breach and an orderly exit
Distinguish a material breach from a minor service failure, provide a workable cure period where appropriate, and identify termination events such as prolonged non-payment, repeated serious service failures, insolvency, or unlawful conduct. Explain the effect of termination on access, licences, customer support, outstanding commissions, work in progress, prepaid fees, and data. For a project, include a transition package: current code or configuration if agreed, documentation, credentials, export formats, and reasonable handover assistance.
Set remedies with a clear trigger and calculation method. Under the Civil Code, a court or arbitral tribunal may adjust agreed liquidated damages on a party’s request if the amount is excessively higher or lower than the loss. A clause should therefore identify the breach it addresses and use a defensible measure rather than a punitive figure copied from a template.
Preserve a reliable record
Name authorized signatories and establish where notices go. The Civil Code recognizes retrievable electronic data messages as written form, but parties should still preserve the signed version, schedules, change orders, test results, acceptance notices, invoices, and support records in a consistent repository. Choose governing law and a court or arbitration forum that fit the transaction and can be enforced where the parties and relevant assets are located.
A software agreement is useful when its operational documents match the deal the teams will perform. Before signature, check that scope, acceptance, payment, rights, service levels, data handling, and exit obligations tell the same story. For a high-value custom development or cross-border distribution arrangement, counsel familiar with the transaction should review the final documents and data flows.


