Working with dataEnumerations

Enumerations

What the numbers in Reporting API status and type fields mean.

Many Reporting API fields hold a number that stands for a status or a type. This page lists what each number means. The method pages link the fields they return.

Values can be added over time. Treat a number you do not know as "other" instead of failing.

Approval status

The approval state of a time registration. Field: ApprovedStatus.

Returned by GetWorkUnitsRawPaged, GetWorkUnitsRaw.

ValueNameMeaning
0OpenThe timesheet is open. Rejected and resubmitted registrations also show as open.
10ClosedThe employee has closed (submitted) the timesheet. Not yet approved.
20Project Manager ApprovedApproved by the project manager.
30Employee Manager ApprovedApproved by the employee's manager.

Billable status

Whether a time registration is billable, combined with whether its task is billable. Field: BillableStatus.

Returned by GetWorkUnitsRawPaged, GetWorkUnitsRaw.

ValueNameMeaning
-3Non Billable Registration On Billable Task With Zero Hourly RateBillable task. The registration is marked non-billable and its registered amount is 0.
-2Billable Registration On Non Billable TaskNon-billable task. The registration is not marked non-billable.
-1Non Billable Registration On Non Billable TaskNon-billable task. The registration is marked non-billable.
1Billable Registration On Billable TaskBillable task. Every case not covered by -3 or 2.
2Non Billable Registration On Billable TaskBillable task. The registered amount is written off to 0.

Time registration invoice status

Whether a time registration has been put on a voucher or an invoice. Field: InvoiceStatus.

Returned by GetWorkUnitsRawPaged, GetWorkUnitsRaw.

ValueNameMeaning
0BookableNot yet on a voucher or invoice - can still be invoiced.
1Added To VoucherIncluded on an invoice voucher (draft) that is not booked as an invoice.
2Added To InvoiceIncluded on an invoice.

Absence code type

The kind of absence a time-off registration records. Field: AbsenceCodeType.

Returned by GetTimeOffRegistrationsRaw.

ValueNameMeaning
1IllnessSick leave. This is health data: handle it with extra care.
2HolidayHoliday / vacation.
3Absence Non CompensatedAbsence without pay compensation.
4Absence CompensatedAbsence with pay compensation.

Contract type

The contract model of a project contract. Field: ContractModelType.

Returned by GetContractsRaw.

ValueNameMeaning
1Time Material BasicTime and material, standard agreement.
2Fixed Price BasicFixed price, standard agreement.
3Time Material Account End BalancingTime and material on account, balanced at the end.
4Time Material Account Periodic BalancingTime and material on account, balanced periodically (recurrence contract).
5Prepaid ServicesPrepaid hours (time and material).
6Task Driven RevenueFixed price, revenue requested per task.
7Continuous ServiceFixed price, revenue requested per period (recurrence contract).
8Continuous Item InvoicingFixed price, volume invoicing (recurrence contract).
20Recurring Product ContractSystem contract for expenses generated from recurring product sales.

Contract status

The state of a project contract. Field: ProjectContractStatus.

Returned by GetContractsRaw.

ValueNameMeaning
1QuotationQuotation.
2ActiveActive.
3CompletedCompleted.
4CancelledCancelled.

Task progress

How far a task has progressed. Field: StatusDetailed.

Returned by GetTasksRaw.

ValueNameMeaning
0Not StartedNot started.
1In ProgressIn progress.
2On HoldOn hold.
3CompletedCompleted.
4CancelledCancelled.

Invoice line registration type

What an invoice line detail was created from. Field: RegistrationType.

ValueNameMeaning
0Raw InvoiceableRaw invoiceable item (no specific registration type).
2Work UnitTime registration (work unit).
3DisbursementDisbursement (expense).
4Travel ExpenseTravel expense.
5Support UnitSupport unit.
6PaymentPayment.
7Support ContractSupport contract.
8RoundingRounding.
9Currency DifferenceCurrency difference.
10Work Remaining Revenue ShareVoucher: remaining work revenue share.
11Expense Remaining Revenue ShareVoucher: remaining expense revenue share.
12Travel Remaining Revenue ShareVoucher: remaining travel revenue share.
13Unallocated Revenue ShareVoucher: unallocated revenue share (payment vs budget difference).
14Financial PostingVoucher financial posting.
15Pending Booking Action Raw InvoiceableRaw invoiceable with a pending booking action.
16Mileage RegistrationMileage registration.
17Invoicing Fee PercentageInvoicing fee (percentage).
18Invoicing Fee FixedInvoicing fee (fixed).

Unit type

The unit of an invoice line or contract payment. Field: UnitType.

Returned by GetContractPaymentsRaw.

ValueNameMeaning
0UndefinedNo unit.
1HoursHours.
2MinutesMinutes.
3DaysDays.
4KmKilometres.
6PiecesPieces (5 = Miles is retired).
7LitersLitres.
8MetersMetres.
9KilogramsKilograms.

Customer status type

Where customers with this status are shown. The value is a set of flags: add values together to combine them. Field: CustomerStatusType.

Returned by GetCustomerStatusShortList.

ValueNameMeaning
0NoneIn no group.
1Is Shown In CustomersCustomer status - customers carry it.
2Is Shown In SuppliersSupplier status - suppliers are customers with such a status.
8Is Shown In LeadsOffered for leads.
16Is Multi Customer ProjectsSystem status used for projects with more than one customer.

Resource booking type

How a resource booking was made. Field: HardBookingType.

Returned by GetHardBookingsRaw.

ValueNameMeaning
0ManualBooked by hand in the resource planner.
1OutlookCreated from an Outlook calendar event.
2FavouriteBooked through a favourite.

Salary account posting type

How a posting on an employee's salary account was made. Field: PostingType.

Returned by GetSalaryAccountEmployeePostingsRaw.

ValueNameMeaning
0AutomaticPosted automatically.
1ManualManual posting.
2Balance Moved FromBalance moved away from this account.
3Balance Moved ToBalance moved to this account.
4ResetBalance reset.
5Salary TimeSalary time.
6Automatic AdjustmentsAutomatic adjustment.
7Reset Automatic AdjustmentsReset of automatic adjustments.

Event status

The state of a CRM event. Field: Status.

ValueNameMeaning
1PlannedPlanned, not yet done.
2PostponedPostponed.
3FinishedCompleted.
4CancelledCancelled.

Weekday

The day in an employee's normal working time. Field: Weekday.

Returned by GetEmployeeNormalWorkingHoursRaw.

ValueNameMeaning
0SundaySunday.
1MondayMonday.
2TuesdayTuesday.
3WednesdayWednesday.
4ThursdayThursday.
5FridayFriday.
6SaturdaySaturday.