Time entries

List all time entries

Returns a paginated list of all time entries in the administration.

The filter argument allows you to filter the list of time entries. Filters are a combination of keys and values, separated by a comma: period:this_year,state:all. The available options for filtering are:

Filter Type Default Description
state String all all, open or non_billable
period String this_year This can either be the description of a period (this_month, prev_month, next_month, this_quarter, prev_quarter, next_quarter, this_year, prev_year, next_year) or a custom period (201301..201302, 20130101..20130131)
contact_id Integer   Select time entries belonging to a certain contact
include_nil_contacts Boolean false Whether to include time entries that have no assigned contact
include_active Boolean false Whether to include active time entries i.e. time entries without ended_at
project_id Integer   Select time entries belonging to a certain project
user_id Integer   Select time entries belonging to a certain user
day Date   Select time entries on a specific date

You can filter by multiple states at the same time as well. To do this, separate the state values by a pipe: state:open|non_billable.

Parameters

Parameter Type Description
filter String
per_page Integer
query String

Allows filtering by time entry description.

Example: returns all time entries of an administration

Request

curl -s -H "Content-Type: application/json" -H "Authorization: Bearer 84ec207ad0154a508f798e615a998ac1fd752926d00f955fb1df3e144cba44ab" \
  -XGET \
  https://moneybird.com/api/v2/123/time_entries.json?
    

Response

        
          
          Status: 200 OK
        
      
[
  {
    "id": "453386444995561180",
    "administration_id": 123,
    "contact_id": "453386444980881112",
    "project_id": "453386444990318298",
    "sales_invoice_id": null,
    "user_id": 17466028447673,
    "started_at": "2025-05-07T07:30:00.000Z",
    "ended_at": "2025-05-07T08:30:00.000Z",
    "description": "Designing the website",
    "paused_duration": 0,
    "billable": true,
    "created_at": "2025-05-07T07:30:29.720Z",
    "updated_at": "2025-05-07T07:30:29.720Z",
    "contact": {
      "id": "453386444980881112",
      "firstname": "",
      "lastname": "",
      "company_name": "Foobar Holding B.V."
    },
    "detail": null,
    "user": {
      "id": 17466028447673,
      "name": "Moneybird",
      "created_at": "2025-05-07T07:27:24.952Z",
      "updated_at": "2025-05-07T07:27:25.087Z"
    },
    "project": {
      "id": "453386444990318298",
      "name": "Project 1",
      "state": "active",
      "budget": 10
    },
    "sales_invoice": null,
    "events": [
      {
        "administration_id": 123,
        "user_id": 17466028447673,
        "action": "time_entry_created",
        "link_entity_id": null,
        "link_entity_type": null,
        "data": {},
        "created_at": "2025-05-07T07:30:29.721Z",
        "updated_at": "2025-05-07T07:30:29.721Z"
      }
    ],
    "notes": []
  },
  {
    "id": "453386445012338399",
    "administration_id": 123,
    "contact_id": null,
    "project_id": null,
    "sales_invoice_id": null,
    "user_id": 1,
    "started_at": "2025-05-07T07:30:00.000Z",
    "ended_at": "2025-05-07T08:30:00.000Z",
    "description": "Designing the website",
    "paused_duration": 0,
    "billable": false,
    "created_at": "2025-05-07T07:30:29.735Z",
    "updated_at": "2025-05-07T07:30:29.735Z",
    "contact": null,
    "detail": null,
    "user": {
      "id": 1,
      "name": "Edwin Vlieg",
      "created_at": "2025-05-07T07:30:29.727Z",
      "updated_at": "2025-05-07T07:30:29.731Z"
    },
    "project": null,
    "sales_invoice": null,
    "events": [
      {
        "administration_id": 123,
        "user_id": 17466028447673,
        "action": "time_entry_created",
        "link_entity_id": null,
        "link_entity_type": null,
        "data": {},
        "created_at": "2025-05-07T07:30:29.737Z",
        "updated_at": "2025-05-07T07:30:29.737Z"
      }
    ],
    "notes": []
  },
  {
    "id": "453386445025969890",
    "administration_id": 123,
    "contact_id": null,
    "project_id": null,
    "sales_invoice_id": null,
    "user_id": 2,
    "started_at": "2025-05-07T07:30:00.000Z",
    "ended_at": "2025-05-07T08:30:00.000Z",
    "description": "Designing the website",
    "paused_duration": 0,
    "billable": true,
    "created_at": "2025-05-07T07:30:29.749Z",
    "updated_at": "2025-05-07T07:30:29.749Z",
    "contact": null,
    "detail": null,
    "user": {
      "id": 2,
      "name": "Edwin Vlieg",
      "created_at": "2025-05-07T07:30:29.742Z",
      "updated_at": "2025-05-07T07:30:29.746Z"
    },
    "project": null,
    "sales_invoice": null,
    "events": [
      {
        "administration_id": 123,
        "user_id": 17466028447673,
        "action": "time_entry_created",
        "link_entity_id": null,
        "link_entity_type": null,
        "data": {},
        "created_at": "2025-05-07T07:30:29.750Z",
        "updated_at": "2025-05-07T07:30:29.750Z"
      }
    ],
    "notes": []
  }
]
      

Example: returns all time entries filtered on period

Request

curl -s -H "Content-Type: application/json" -H "Authorization: Bearer 84ec207ad0154a508f798e615a998ac1fd752926d00f955fb1df3e144cba44ab" \
  -XGET \
  https://moneybird.com/api/v2/123/time_entries.json?filter=period%3Athis_month
    

Response

        
          
          Status: 200 OK
        
      
[
  {
    "id": "453386445136070378",
    "administration_id": 123,
    "contact_id": "453386445122438886",
    "project_id": "453386445130827496",
    "sales_invoice_id": null,
    "user_id": 17466028447673,
    "started_at": "2025-05-07T07:30:00.000Z",
    "ended_at": "2025-05-07T08:30:00.000Z",
    "description": "Designing the website",
    "paused_duration": 0,
    "billable": true,
    "created_at": "2025-05-07T07:30:29.853Z",
    "updated_at": "2025-05-07T07:30:29.853Z",
    "contact": {
      "id": "453386445122438886",
      "firstname": "",
      "lastname": "",
      "company_name": "Foobar Holding B.V."
    },
    "detail": null,
    "user": {
      "id": 17466028447673,
      "name": "Moneybird",
      "created_at": "2025-05-07T07:27:24.952Z",
      "updated_at": "2025-05-07T07:27:25.087Z"
    },
    "project": {
      "id": "453386445130827496",
      "name": "Project 1",
      "state": "active",
      "budget": 10
    },
    "sales_invoice": null,
    "events": [
      {
        "administration_id": 123,
        "user_id": 17466028447673,
        "action": "time_entry_created",
        "link_entity_id": null,
        "link_entity_type": null,
        "data": {},
        "created_at": "2025-05-07T07:30:29.855Z",
        "updated_at": "2025-05-07T07:30:29.855Z"
      }
    ],
    "notes": []
  },
  {
    "id": "453386445150750445",
    "administration_id": 123,
    "contact_id": null,
    "project_id": null,
    "sales_invoice_id": null,
    "user_id": 1,
    "started_at": "2025-05-07T07:30:00.000Z",
    "ended_at": "2025-05-07T08:30:00.000Z",
    "description": "Designing the website",
    "paused_duration": 0,
    "billable": false,
    "created_at": "2025-05-07T07:30:29.867Z",
    "updated_at": "2025-05-07T07:30:29.867Z",
    "contact": null,
    "detail": null,
    "user": {
      "id": 1,
      "name": "Edwin Vlieg",
      "created_at": "2025-05-07T07:30:29.860Z",
      "updated_at": "2025-05-07T07:30:29.864Z"
    },
    "project": null,
    "sales_invoice": null,
    "events": [
      {
        "administration_id": 123,
        "user_id": 17466028447673,
        "action": "time_entry_created",
        "link_entity_id": null,
        "link_entity_type": null,
        "data": {},
        "created_at": "2025-05-07T07:30:29.868Z",
        "updated_at": "2025-05-07T07:30:29.868Z"
      }
    ],
    "notes": []
  },
  {
    "id": "453386445164381936",
    "administration_id": 123,
    "contact_id": null,
    "project_id": null,
    "sales_invoice_id": null,
    "user_id": 2,
    "started_at": "2025-05-07T07:30:00.000Z",
    "ended_at": "2025-05-07T08:30:00.000Z",
    "description": "Designing the website",
    "paused_duration": 0,
    "billable": true,
    "created_at": "2025-05-07T07:30:29.881Z",
    "updated_at": "2025-05-07T07:30:29.881Z",
    "contact": null,
    "detail": null,
    "user": {
      "id": 2,
      "name": "Edwin Vlieg",
      "created_at": "2025-05-07T07:30:29.873Z",
      "updated_at": "2025-05-07T07:30:29.877Z"
    },
    "project": null,
    "sales_invoice": null,
    "events": [
      {
        "administration_id": 123,
        "user_id": 17466028447673,
        "action": "time_entry_created",
        "link_entity_id": null,
        "link_entity_type": null,
        "data": {},
        "created_at": "2025-05-07T07:30:29.882Z",
        "updated_at": "2025-05-07T07:30:29.882Z"
      }
    ],
    "notes": []
  }
]
      

Example: returns all time entries filtered on search query

Request

curl -s -H "Content-Type: application/json" -H "Authorization: Bearer 84ec207ad0154a508f798e615a998ac1fd752926d00f955fb1df3e144cba44ab" \
  -XGET \
  https://moneybird.com/api/v2/123/time_entries.json?query=Custom
    

Response

        
          
          Status: 200 OK
        
      
[
  {
    "id": "453386446743537412",
    "administration_id": 123,
    "contact_id": null,
    "project_id": null,
    "sales_invoice_id": null,
    "user_id": 3,
    "started_at": "2025-05-07T07:30:00.000Z",
    "ended_at": "2025-05-07T08:30:00.000Z",
    "description": "Custom description",
    "paused_duration": 0,
    "billable": true,
    "created_at": "2025-05-07T07:30:31.387Z",
    "updated_at": "2025-05-07T07:30:31.387Z",
    "contact": null,
    "detail": null,
    "user": {
      "id": 3,
      "name": "Edwin Vlieg",
      "created_at": "2025-05-07T07:30:31.382Z",
      "updated_at": "2025-05-07T07:30:31.384Z"
    },
    "project": null,
    "sales_invoice": null,
    "events": [
      {
        "administration_id": 123,
        "user_id": 17466028447673,
        "action": "time_entry_created",
        "link_entity_id": null,
        "link_entity_type": null,
        "data": {},
        "created_at": "2025-05-07T07:30:31.388Z",
        "updated_at": "2025-05-07T07:30:31.388Z"
      }
    ],
    "notes": []
  }
]
      

Example: returns all time entries filtered on state

Request

curl -s -H "Content-Type: application/json" -H "Authorization: Bearer 84ec207ad0154a508f798e615a998ac1fd752926d00f955fb1df3e144cba44ab" \
  -XGET \
  https://moneybird.com/api/v2/123/time_entries.json?filter=state%3Anon_billable
    

Response

        
          
          Status: 200 OK
        
      
[
  {
    "id": "453386446851540751",
    "administration_id": 123,
    "contact_id": null,
    "project_id": null,
    "sales_invoice_id": null,
    "user_id": 1,
    "started_at": "2025-05-07T07:30:00.000Z",
    "ended_at": "2025-05-07T08:30:00.000Z",
    "description": "Designing the website",
    "paused_duration": 0,
    "billable": false,
    "created_at": "2025-05-07T07:30:31.490Z",
    "updated_at": "2025-05-07T07:30:31.490Z",
    "contact": null,
    "detail": null,
    "user": {
      "id": 1,
      "name": "Edwin Vlieg",
      "created_at": "2025-05-07T07:30:31.483Z",
      "updated_at": "2025-05-07T07:30:31.487Z"
    },
    "project": null,
    "sales_invoice": null,
    "events": [
      {
        "administration_id": 123,
        "user_id": 17466028447673,
        "action": "time_entry_created",
        "link_entity_id": null,
        "link_entity_type": null,
        "data": {},
        "created_at": "2025-05-07T07:30:31.491Z",
        "updated_at": "2025-05-07T07:30:31.491Z"
      }
    ],
    "notes": []
  }
]
      

Example: returns paginated time entries on page 1

Request

curl -s -H "Content-Type: application/json" -H "Authorization: Bearer 84ec207ad0154a508f798e615a998ac1fd752926d00f955fb1df3e144cba44ab" \
  -XGET \
  https://moneybird.com/api/v2/123/time_entries.json?per_page=1
    

Response

        
          
          Status: 200 OK
        
      
[
  {
    "id": "453386446948009754",
    "administration_id": 123,
    "contact_id": "453386446936475414",
    "project_id": "453386446943815448",
    "sales_invoice_id": null,
    "user_id": 17466028447673,
    "started_at": "2025-05-07T07:30:00.000Z",
    "ended_at": "2025-05-07T08:30:00.000Z",
    "description": "Designing the website",
    "paused_duration": 0,
    "billable": true,
    "created_at": "2025-05-07T07:30:31.582Z",
    "updated_at": "2025-05-07T07:30:31.582Z",
    "contact": {
      "id": "453386446936475414",
      "firstname": "",
      "lastname": "",
      "company_name": "Foobar Holding B.V."
    },
    "detail": null,
    "user": {
      "id": 17466028447673,
      "name": "Moneybird",
      "created_at": "2025-05-07T07:27:24.952Z",
      "updated_at": "2025-05-07T07:27:25.087Z"
    },
    "project": {
      "id": "453386446943815448",
      "name": "Project 1",
      "state": "active",
      "budget": 10
    },
    "sales_invoice": null,
    "events": [
      {
        "administration_id": 123,
        "user_id": 17466028447673,
        "action": "time_entry_created",
        "link_entity_id": null,
        "link_entity_type": null,
        "data": {},
        "created_at": "2025-05-07T07:30:31.583Z",
        "updated_at": "2025-05-07T07:30:31.583Z"
      }
    ],
    "notes": []
  }
]
      

Example: returns paginated time entries on page 2

Request

curl -s -H "Content-Type: application/json" -H "Authorization: Bearer 84ec207ad0154a508f798e615a998ac1fd752926d00f955fb1df3e144cba44ab" \
  -XGET \
  https://moneybird.com/api/v2/123/time_entries.json?page=2&per_page=1
    

Response

        
          
          Status: 200 OK
        
      
[
  {
    "id": "453386447066498859",
    "administration_id": 123,
    "contact_id": null,
    "project_id": null,
    "sales_invoice_id": null,
    "user_id": 1,
    "started_at": "2025-05-07T07:30:00.000Z",
    "ended_at": "2025-05-07T08:30:00.000Z",
    "description": "Designing the website",
    "paused_duration": 0,
    "billable": false,
    "created_at": "2025-05-07T07:30:31.695Z",
    "updated_at": "2025-05-07T07:30:31.695Z",
    "contact": null,
    "detail": null,
    "user": {
      "id": 1,
      "name": "Edwin Vlieg",
      "created_at": "2025-05-07T07:30:31.689Z",
      "updated_at": "2025-05-07T07:30:31.692Z"
    },
    "project": null,
    "sales_invoice": null,
    "events": [
      {
        "administration_id": 123,
        "user_id": 17466028447673,
        "action": "time_entry_created",
        "link_entity_id": null,
        "link_entity_type": null,
        "data": {},
        "created_at": "2025-05-07T07:30:31.696Z",
        "updated_at": "2025-05-07T07:30:31.696Z"
      }
    ],
    "notes": []
  }
]
      

Example: returns an error when too many time entries are requested

Request

curl -s -H "Content-Type: application/json" -H "Authorization: Bearer 84ec207ad0154a508f798e615a998ac1fd752926d00f955fb1df3e144cba44ab" \
  -XGET \
  https://moneybird.com/api/v2/123/time_entries.json?per_page=101
    

Response

        
          
          Status: 400 Bad Request
        
      
{
  "error": "per_page does not have a valid value"
}
      

Example: returns an error message if filter contact_id is not found

Request

curl -s -H "Content-Type: application/json" -H "Authorization: Bearer 84ec207ad0154a508f798e615a998ac1fd752926d00f955fb1df3e144cba44ab" \
  -XGET \
  https://moneybird.com/api/v2/123/time_entries.json?filter=contact_id%3A123
    

Response

        
          
          Status: 404 Not Found
        
      
{
  "error": "record not found",
  "symbolic": {
    "contact_id": "not_found"
  }
}
      

Example: returns an error message if filter user_id is not found

Request

curl -s -H "Content-Type: application/json" -H "Authorization: Bearer 84ec207ad0154a508f798e615a998ac1fd752926d00f955fb1df3e144cba44ab" \
  -XGET \
  https://moneybird.com/api/v2/123/time_entries.json?filter=user_id%3A123
    

Response

        
          
          Status: 404 Not Found
        
      
{
  "error": "record not found",
  "symbolic": {
    "user_id": "not_found"
  }
}
      

Get a time entry by id

Returns a time entry in the administration.

Example: returns time entry by given id

Request

curl -s -H "Content-Type: application/json" -H "Authorization: Bearer 84ec207ad0154a508f798e615a998ac1fd752926d00f955fb1df3e144cba44ab" \
  -XGET \
  https://moneybird.com/api/v2/123/time_entries/453386447501657952.json?
    

Response

        
          
          Status: 200 OK
        
      
{
  "id": "453386447501657952",
  "administration_id": 123,
  "contact_id": "453386447486977884",
  "project_id": "453386447496415070",
  "sales_invoice_id": null,
  "user_id": 17466028447673,
  "started_at": "2025-05-07T07:30:00.000Z",
  "ended_at": "2025-05-07T08:30:00.000Z",
  "description": "Designing the website",
  "paused_duration": 0,
  "billable": true,
  "created_at": "2025-05-07T07:30:32.109Z",
  "updated_at": "2025-05-07T07:30:32.109Z",
  "contact": {
    "id": "453386447486977884",
    "firstname": "",
    "lastname": "",
    "company_name": "Foobar Holding B.V."
  },
  "detail": null,
  "user": {
    "id": 17466028447673,
    "name": "Moneybird",
    "created_at": "2025-05-07T07:27:24.952Z",
    "updated_at": "2025-05-07T07:27:25.087Z"
  },
  "project": {
    "id": "453386447496415070",
    "name": "Project 1",
    "state": "active",
    "budget": 10
  },
  "sales_invoice": null,
  "events": [
    {
      "administration_id": 123,
      "user_id": 17466028447673,
      "action": "time_entry_created",
      "link_entity_id": null,
      "link_entity_type": null,
      "data": {},
      "created_at": "2025-05-07T07:30:32.110Z",
      "updated_at": "2025-05-07T07:30:32.110Z"
    }
  ],
  "notes": []
}
      

Example: returns 404 when time entry does not exist

Request

curl -s -H "Content-Type: application/json" -H "Authorization: Bearer 84ec207ad0154a508f798e615a998ac1fd752926d00f955fb1df3e144cba44ab" \
  -XGET \
  https://moneybird.com/api/v2/123/time_entries/34123123.json?
    

Response

        
          
          Status: 404 Not Found
        
      
{
  "error": "record not found",
  "symbolic": {
    "id": "not_found"
  }
}
      

Create a time entry

Api user needs access to both sales invoices and time entries for this action. started_at and ended_at are rounded down to full minutes when creating a time entry, with a minimum of 1 minute between them.

Parameters

Parameter Type Description
time_entry[user_id] Integer

Required

Should be a valid user id.

time_entry[started_at] Datetime

Required

time_entry[ended_at] Datetime

Required.

time_entry[description] String

Required

time_entry[contact_id] Integer

Should be a valid contact id.

time_entry[project_id] Integer

Should be a valid project id.

time_entry[sales_invoice_id] Integer

Should be a valid sales invoice id.

time_entry[detail_id] Integer

Deprecated after 2025-07-31. Should be a valid detail id.

time_entry[billable] Boolean
time_entry[paused_duration] Integer

Total paused duration in seconds, is rounded down to full minutes.

Example: create a basic time entry

Request

curl -s -H "Content-Type: application/json" -H "Authorization: Bearer 84ec207ad0154a508f798e615a998ac1fd752926d00f955fb1df3e144cba44ab" \
  -XPOST \
  -d '{"time_entry":{"started_at":"2025-05-07 07:30:00 UTC","ended_at":"2025-05-07 08:30:00 UTC","description":"Test","contact_id":453386447682013036,"project_id":453386447691450222,"user_id":17466028447673,"billable":false}}' \
  https://moneybird.com/api/v2/123/time_entries
    

Response

        
          
          Status: 201 Created
        
      
{
  "id": "453386447741781872",
  "administration_id": 123,
  "contact_id": "453386447682013036",
  "project_id": "453386447691450222",
  "sales_invoice_id": null,
  "user_id": 17466028447673,
  "started_at": "2025-05-07T07:30:00.000Z",
  "ended_at": "2025-05-07T08:30:00.000Z",
  "description": "Test",
  "paused_duration": 0,
  "billable": false,
  "created_at": "2025-05-07T07:30:32.339Z",
  "updated_at": "2025-05-07T07:30:32.339Z",
  "contact": {
    "id": "453386447682013036",
    "firstname": "",
    "lastname": "",
    "company_name": "Foobar Holding B.V."
  },
  "detail": null,
  "user": {
    "id": 17466028447673,
    "name": "Moneybird",
    "created_at": "2025-05-07T07:27:24.952Z",
    "updated_at": "2025-05-07T07:27:25.087Z"
  },
  "project": {
    "id": "453386447691450222",
    "name": "Project 1",
    "state": "active",
    "budget": 10
  },
  "sales_invoice": null,
  "events": [
    {
      "administration_id": 123,
      "user_id": 17466028447673,
      "action": "time_entry_created",
      "link_entity_id": null,
      "link_entity_type": null,
      "data": {},
      "created_at": "2025-05-07T07:30:32.340Z",
      "updated_at": "2025-05-07T07:30:32.340Z"
    }
  ],
  "notes": []
}
      

Example: returns an error when invalid details are provided

Request

curl -s -H "Content-Type: application/json" -H "Authorization: Bearer 84ec207ad0154a508f798e615a998ac1fd752926d00f955fb1df3e144cba44ab" \
  -XPOST \
  -d '{"time_entry":{"started_at":"2025-05-07 07:30:00 UTC","ended_at":"2025-05-07 06:30:00 UTC","user_id":17466028447673,"billable":false}}' \
  https://moneybird.com/api/v2/123/time_entries
    

Response

        
          
          Status: 422 Unprocessable Entity
        
      
{
  "error": {
    "ended_at": [
      "cannot be before the start time"
    ],
    "description": [
      "can't be blank"
    ]
  },
  "details": {
    "ended_at": [
      {
        "error": "ended_at_before_started_at"
      }
    ],
    "description": [
      {
        "error": "blank"
      }
    ]
  }
}
      

Update a time entry

When updating a time entry, provide only the attributes you want to update. The other attributes will not be changed. started_at and ended_at are rounded down to full minutes when updating a time entry, with a minimum of 1 minute between them.

Parameters

Parameter Type Description
time_entry[started_at] Datetime
time_entry[ended_at] Datetime

Required.

time_entry[paused_duration] Integer

Total paused duration in seconds, is rounded down to full minutes.

time_entry[contact_id] Integer

Should be a valid contact id.

time_entry[project_id] Integer

Should be a valid project id.

time_entry[sales_invoice_id] Integer

Should be a valid sales invoice id.

time_entry[description] String
time_entry[billable] Boolean

Example: updating the time entry description

Request

curl -s -H "Content-Type: application/json" -H "Authorization: Bearer 84ec207ad0154a508f798e615a998ac1fd752926d00f955fb1df3e144cba44ab" \
  -XPATCH \
  -d '{"time_entry":{"description":"Updated description"}}' \
  https://moneybird.com/api/v2/123/time_entries/453386447884388216
    

Response

        
          
          Status: 200 OK
        
      
{
  "id": "453386447884388216",
  "administration_id": 123,
  "contact_id": "453386447870756724",
  "project_id": "453386447879145334",
  "sales_invoice_id": null,
  "user_id": 17466028447673,
  "started_at": "2025-05-07T07:30:00.000Z",
  "ended_at": "2025-05-07T08:30:00.000Z",
  "description": "Updated description",
  "paused_duration": 0,
  "billable": true,
  "created_at": "2025-05-07T07:30:32.474Z",
  "updated_at": "2025-05-07T07:30:32.518Z",
  "contact": {
    "id": "453386447870756724",
    "firstname": "",
    "lastname": "",
    "company_name": "Foobar Holding B.V."
  },
  "detail": null,
  "user": {
    "id": 17466028447673,
    "name": "Moneybird",
    "created_at": "2025-05-07T07:27:24.952Z",
    "updated_at": "2025-05-07T07:27:25.087Z"
  },
  "project": {
    "id": "453386447879145334",
    "name": "Project 1",
    "state": "active",
    "budget": 10
  },
  "sales_invoice": null,
  "events": [
    {
      "administration_id": 123,
      "user_id": 17466028447673,
      "action": "time_entry_created",
      "link_entity_id": null,
      "link_entity_type": null,
      "data": {},
      "created_at": "2025-05-07T07:30:32.475Z",
      "updated_at": "2025-05-07T07:30:32.475Z"
    },
    {
      "administration_id": 123,
      "user_id": 17466028447673,
      "action": "time_entry_updated",
      "link_entity_id": null,
      "link_entity_type": null,
      "data": {
        "description": [
          "Designing the website",
          "Updated description"
        ],
        "updated_at": [
          "2025-05-07T09:30:32.474+02:00",
          "2025-05-07T09:30:32.518+02:00"
        ]
      },
      "created_at": "2025-05-07T07:30:32.520Z",
      "updated_at": "2025-05-07T07:30:32.520Z"
    }
  ],
  "notes": []
}
      

Delete a time entry

Example: deletes given time entry

Request

curl -s -H "Content-Type: application/json" -H "Authorization: Bearer 84ec207ad0154a508f798e615a998ac1fd752926d00f955fb1df3e144cba44ab" \
  -XDELETE \
  -d '{}' \
  https://moneybird.com/api/v2/123/time_entries/453386448000780161.json
    

Response

Adds note to entity

Parameters

Parameter Type Description
note[note] String

Required. Text for the note or to-do.

note[todo] Boolean

If true the note is a to-do.

note[assignee_id] Integer

Assign to-do to user. Should be a valid user id. If assignee_id is provided the note will be a to-do.

Example: create a note

Request

curl -s -H "Content-Type: application/json" -H "Authorization: Bearer 84ec207ad0154a508f798e615a998ac1fd752926d00f955fb1df3e144cba44ab" \
  -XPOST \
  -d '{"note":{"note":"Text of the note","assignee_id":453386448078374788,"todo":true}}' \
  https://moneybird.com/api/v2/123/time_entries/453386448108783500/notes.json
    

Response

        
          
          Status: 201 Created
        
      
{
  "id": "453386448153872270",
  "administration_id": 123,
  "entity_id": "453386448108783500",
  "entity_type": "TimeEntry",
  "user_id": 17466028447673,
  "assignee_id": "453386448078374788",
  "todo": true,
  "note": "Text of the note",
  "completed_at": null,
  "completed_by_id": null,
  "todo_type": null,
  "data": {},
  "created_at": "2025-05-07T07:30:32.730Z",
  "updated_at": "2025-05-07T07:30:32.730Z"
}
      

Destroys note from entity

Example: destroy a note

Request

curl -s -H "Content-Type: application/json" -H "Authorization: Bearer 84ec207ad0154a508f798e615a998ac1fd752926d00f955fb1df3e144cba44ab" \
  -XDELETE \
  -d '{}' \
  https://moneybird.com/api/v2/123/time_entries/453386448212592534/notes/453386448217835416.json
    

Response