Skip to content

Mirage Office ยท New in Office

Contract management: code computes your notice deadlines

HR admins upload a contract. A model proposes the start, end, notice period and renewal, each with a quote from the contract. A person confirms every value, and code computes the notice deadline from them. Due deadlines show on the home page, and under Tasks too for anyone who has that menu. This is not legal advice: your own counsel decides which deadline applies to your contract. This workflow can be used once Mirage has switched it on for your company.

Start your 30-day free trialData processing terms

The math

Code computes the notice deadline, and you can read the rule

Change the values of the sample contract. The calculator uses the same rule as the register: Office computes the deadline from the confirmed values and today's date.

Notice deadline calculator

Example, not a real contract

Maintenance contract (example)

  1. Maintenance contract between Example Inc. and Sample Ltd.
  2. The contract runs until December 31, 2027.
  3. Either party may terminate it with three months' notice to the end of the term.
  4. Without notice it renews for twelve months each time.
Unit

Result under Office's rule

End of the term
Dec 31, 2027
Deadline: notice must arrive by
Sep 30, 2027
Renewals counted
0
Days until the deadline
20
State in the register
Due soonShows on the home page
The next 60 days from todayHome page window: today up to 30 days aheadDeadline day

Deadline: notice must arrive by Sep 30, 2027. State: Due soon.

The calculator cannot say whether the values match your contract.

  1. No end date, no deadline

    A contract without an end date gets no notice deadline.

  2. The deadline lies before the end

    Office subtracts the notice period in days, weeks or months from the end of the term. If no period is recorded, the deadline is the end of the term itself.

  3. A missing day becomes the last day of the month

    If the last month lacks that day, Office uses the last day of the month (the idea of section 188 (3) BGB). Office counts the period back from the end of the term. Whether a court counts the same way is for your legal counsel. Office does not shift deadlines for weekends or holidays. Leave yourself a safety margin.

  4. Renewal: the next deadline from today

    With automatic renewal, the first term whose deadline is today or later counts. Office always counts term ends from the original end date, so a month end does not drift. Once a deadline has passed, the contract moves to its next term. Without renewal, a passed deadline stays as it is.

A sample contract with three marked passages: the end date, the notice period and the automatic renewal. Next to it, five fields: end date, notice period, unit, renewal and today. The result shows the end of the term, the notice deadline, the state in the register, and whether the deadline shows on the home page.

The path

From upload to deadline: four steps, three of them without a model

The model only reads the contract. A person and the code do the confirming and the computing.

  1. Who actsHR admin

    Upload the contract

    HR admins upload a contract as a PDF or Word (.docx) file up to 3 MB.

  2. Who actsModel

    Propose the values

    The model proposes the title, counterparty, type, start, end, notice period and renewal. For start, end, notice period and renewal it is told to quote the passage word for word.

  3. Who actsHR admin

    Confirm the values

    An HR admin checks every value, corrects it if needed and chooses the type: NDA, supplier, customer, service, rental or lease contract, or other. They can name who looks after the contract. Only then does the contract enter the register.

  4. Who actsCode

    Compute the deadline

    Code computes the notice deadline from the confirmed values. If the contract renews automatically, the deadline moves to the next term after each passed deadline.

A chain of four stations joined by a dotted line: upload by HR admins, the model's proposal, confirmation by an HR admin, and the deadline computed by code. The person's step is highlighted.

The proposal

The model proposes values, a person confirms them

The dates in the register come from values a person confirmed. The model writes nothing there.

Cleaning framework contract (example)

Example, not a real contract

  1. Framework contract between Example Inc. and Sample Ltd.
  2. Start: January 1, 2026.
  3. The contract ends on December 31, 2027.
  4. Notice period: six weeks to the end of the term.
  5. Additional services are billed separately.

The model's proposal

  • StartValue: Jan 1, 2026

    Quote: Start: January 1, 2026.

    found in the document

  • EndValue: Dec 31, 2027

    Quote: ends on December 31, 2027

    found in the document

  • Notice periodValue: 6 weeks

    Quote: six weeks to the end of the term

    found in the document

  • RenewalValue: 12 months

    Quote: renews automatically for one year

    not found in the document

HR adminconfirms or corrects every value

  1. Four values with a quote

    The model's instructions say every value must come from the contract. For start, end, notice period and renewal they ask for the exact passage. If the contract does not state a value, the model is told to leave it empty.

  2. Code looks for the quote

    Office checks whether the quote appears in the contract's text and stores the result with the proposal. A quote that is not in the document is marked as not found.

  3. A proposal writes nothing to the register

    It lives only in the run's step. One module writes and changes the dates in the register, and it receives only what a person confirmed. An automated test fails if another source file writes to contracts. If a company deletes its data, Office deletes its contracts too.

  4. Looking after a contract is optional

    The person can name who looks after the contract. That must be a current colleague. The deadline then shows on their home page, and under Tasks too if they have that menu. Without one, only HR admins see the deadline.

On the left a sample contract with three marked passages, on the right the proposed values with their quotes. Three quotes appear in the contract. For the fourth value, the renewal, the quote is not in the document and is marked as not found. At the bottom, a person confirms.

The register

Six states in the register, three of them tied to the deadline

A contract's state comes from its status and its deadline when it is read. The deadline comes from the confirmed values and moves to the next term for a contract with automatic renewal.

  1. To confirmNot tied to the deadline

    The contract sits in the register as a proposal (NDA from the review) until a person confirms the values. It has no deadline yet.

  2. Openmore than 30 days

    The deadline is more than 30 days away.

  3. Due soonup to 30 days

    The deadline is today or in the next 30 days. The contract then shows on the home page of the person who looks after it.

  4. Passeddeadline gone

    According to your entries, the deadline is before today and the contract does not renew automatically. Office does not compute a new term.

  5. No deadlineNot tied to the deadline

    The contract has no end date.

  6. EndedNot tied to the deadline

    HR marked the contract as ended. It no longer shows on the home page or under Tasks.

A time axis with three zones around the reference day: passed on the left, due soon in the 30 days from today, open after that. Below it, three states that are not on the axis: to confirm, no deadline and ended.

The home page

Due deadlines show on the home page

Whoever looks after a contract sees its deadline on the home page.

Example, not real contractsDeadline today up to 30 days ahead

Home pagePerson looking after contracts
  • Maintenance contract, Example Inc.Notice deadlineSep 30, 2027
  • Warehouse lease, Sample Ltd.Notice deadlineOct 15, 2027
TasksHR admin
  • Maintenance contract, Example Inc.Notice deadlineSep 30, 2027
  • IT service contract, Example Inc.Notice deadlineOct 2, 2027
  • Warehouse lease, Sample Ltd.Notice deadlineOct 15, 2027
  • NDA Sample Ltd.Decision openwaiting
  • Who sees what

    The person who looks after a contract sees the deadlines of their contracts on the home page, and under Tasks too if they have that menu. HR admins see the deadlines of the confirmed contracts that fall in the window.

  • Which contracts

    A confirmed contract is listed when its deadline falls today or in the next 30 days, sorted by deadline date. The list shows up to 50 contracts.

  • What HR admins also see

    Runs waiting for a decision appear for HR admins in the same list.

Two sample views side by side. On the left, the home page of a person who looks after two contracts: two deadlines. On the right, an HR admin's Tasks list: three deadlines sorted by date, and a run waiting for a decision. Two of the deadlines also appear on the left.

The NDA workflow

The NDA review feeds the register too

If you review an NDA in Office, you do not have to enter it again afterwards.

NDA review

  1. Upload the NDA
  2. Check the clauses
  3. Reviewer decides
  4. Review memo

Row in the register

  1. ProposedNo dates, no deadline
  2. HR admin enters and confirms
  3. ConfirmedWith dates and deadline
  1. The review ends in the register

    When the reviewer completes the run, Office adds the NDA to the register as a contract.

  2. Without dates at first

    The row has a title, the type NDA, the status Proposed, neither dates nor a deadline, and no person looking after it. A model enters nothing here.

  3. The same confirmation

    HR adds dates and the person looking after it later and confirms them the same way as for any other contract. With the confirmation, code computes the deadline. A run adds at most one contract.

At the top, the four stations of the NDA review, ending in a register row. The row starts without dates and without a deadline, with the status Proposed. After HR confirms, it has dates and a deadline.

The limits

Three limits of the register

What the register does not do is listed here, before you rely on it.

  • The register is for HR admins

    Only the company's HR admins can upload, confirm, correct and end contracts. Everyone else sees only the deadlines of the contracts they look after.

    Applies toRegister and confirmation

  • Notice to the end of a quarter is missing

    Office does not compute a period like "to the end of the quarter." In that case, enter the end date and a period in days. If the deadline falls on a weekend or a holiday, Office does not move it.

    Applies toDeadline computation

  • The deadline is only as good as the confirmation

    If someone confirms a wrong date, the deadline is wrong. Office does not check whether a notice arrives in the proper form and on time.

    Applies toDeadline computation and legal advice

Three tiles, each with one limit and where it applies: access to the register, the notice to the end of a quarter that is not modeled, and the dependence of the deadline on the confirmed values.

Questions about contract management

  • Which contracts can I upload?

    Contracts as a PDF or Word (.docx) file up to 3 MB. A scan without readable text does not work: Office says so before the model reads anything.

  • Who sets the notice deadline?

    Code computes it from the values a person confirmed. The model only proposes values and writes no deadline.

  • How current is the deadline?

    Code computes it from the confirmed values and today's date. For automatic renewal, it moves to the next term once a deadline has passed. A daily job updates the stored value.

  • How does Office compute automatic renewals?

    Office takes the first term whose notice deadline is today or later, and counts every term end from the original end date. Try it in the calculator above: set "Today" to a day after the end date.

  • Who sees a due deadline?

    The person who looks after the contract, if someone named one, and the company's HR admins. A deadline shows on the home page from 30 days before the deadline day, and under Tasks too for anyone who has that menu.

  • Can I change or end a confirmed contract later?

    Yes. An HR admin can correct confirmed values, and Office computes the deadline from the new values. Once HR marks the contract as ended, its deadline no longer shows as due.

  • Does Office compute notice to the end of a quarter?

    No. Enter the end date and the period in days. The page shows you the rule so you can check the result yourself.

  • Is this legal advice?

    No. Office computes a date from the values you confirm. Whether a termination is valid is a question for your own counsel.