# Mark a window of time invoiced or paid

Owner or admin only. Moves finished billable entries in the window one step: unbilled to invoiced, or invoiced to paid. In a team workspace that is every member's time in the workspace; elsewhere it is the caller's own. Exactly one of clientId or projectId. Running entries and non-billable entries are left alone. In a team workspace, unbilled time is invoiced only when its week is an approved timesheet. Other entries in the window are counted in skipped, and the call is 409 when none of them are approved. Does not number or send an invoice.

Canonical: https://easerix.com/docs/developers/api/croncrunch/reports/markBilling

{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}

export default function Layout(props) {
  const { APIPage, OpenAPIPage } = props.components ?? {};
  // "APIPage" is the old name from v10, this allows both for backward compatibility
  const Comp = OpenAPIPage ?? APIPage;
  return (
    <>
      {props.children}
      <Comp document="croncrunch" operations={[{"path":"/v1/billing/mark","method":"post"}]} />
    </>
  );
}
