# Enum Values Reference

Find an enum by its full name, member name or numeric value. Always identify the enum before using its number. V2 is the enum collection for this API. Shared definitions and V3 definitions are separate reference collections; do not substitute them for a V2 enum.

## Quick answers

| Enum | Scope | Member | Value |
| --- | --- | --- |
| DocumentExportType | V2 | Xero | 4 |
| DocumentExportedTo | V2 | Xero | 8 |
| DocumentExportType | V2 | SmartInvoice | 9 |

DocumentExportType is a destination enum. DocumentExportedTo is a flags enum; its values are different. Shared CSV formats and V3 values belong to separate reference collections. Match the full enum name to the field or endpoint you are using; values from different enums are not interchangeable.

## V2 API enums

### AccountingAddressType (V2)

| Enum name | Value |
| --- | --- |
| Unknown | 0 |
| Billing | 1 |
| Delivery | 2 |

### AccountStatus (V2)

| Enum name | Value |
| --- | --- |
| Unknown | 0 |
| Active | 1 |
| Archived | 2 |
| Pending | 3 |

### AccountType (V2)

| Enum name | Value |
| --- | --- |
| Unknown | 0 |
| Asset | 1 |
| Expense | 2 |
| Income | 3 |
| Liability | 4 |
| Equity | 5 |

### AdministrationDocumentPurgeType (V2)

| Enum name | Value |
| --- | --- |
| PurchaseOrders | 0 |
| Invoices | 1 |
| PurchaseRequisitions | 2 |
| DraftInvoices | 3 |

### AdministrationListFilterType (V2)

| Enum name | Value |
| --- | --- |
| CurrentTrials | 0 |
| AllInactiveExpired | 1 |
| AllCustomers | 2 |
| NotActivated | 3 |
| Testers | 4 |
| Internal | 5 |
| UnapprovedTrials | 6 |

### AdministrationWorkflowType (V2)

| Enum name | Value |
| --- | --- |
| All | 0 |
| PurchaseOrderApproval | 1 |
| InvoiceApproval | 2 |

### ApiReturnCode (V2)

| Enum name | Value |
| --- | --- |
| Unknown | -1 |
| Success | 1 |
| PartialSuccess | 2 |
| NotFound | 3 |
| Conflict | 4 |
| Unauthorised | 5 |
| MethodNotAllowed | 6 |
| Failure | 7 |

### ApiUrlType (V2)

| Enum name | Value |
| --- | --- |
| Get | 1 |
| GetAll | 2 |
| GetBy | 3 |
| GetById | 4 |
| GetByIds | 5 |
| GetRelated | 6 |
| GetPropertiesFor | 7 |
| Add | 8 |
| Update | 9 |
| AddOrUpdateRange | 10 |
| Search | 11 |
| Before | 12 |
| BeforeSkipTake | 13 |
| After | 14 |
| AfterSkipTake | 15 |
| Exists | 16 |
| Upload | 17 |
| History | 18 |
| LogMessage | 19 |
| GetByExportStatus | 20 |
| CompleteExport | 21 |
| None | 22 |
| HasAttachment | 23 |
| CountByExportStatus | 24 |
| GetProjectItemCodes | 25 |
| GetChildInvoicesIds | 26 |
| AddProjectItemsCode | 27 |
| UpdateProjectItemsCode | 28 |
| AddNote | 29 |
| GetRateByDateAndShortCodes | 30 |
| AddOrUpdateRangeProjectItemCodes | 31 |

### ApprovalPermissions (V2)

| Enum name | Value |
| --- | --- |
| MustEdit | 1 |
| CanEdit | 2 |
| None | 3 |

### AppVersion (V2)

| Enum name | Value |
| --- | --- |
| None | 0 |
| V3 | 1 |
| V2 | 2 |

### AsyncTaskStatus (V2)

| Enum name | Value |
| --- | --- |
| Processing | 0 |
| Done | 1 |

### BatchCloseOrdersType (V2)

| Enum name | Value |
| --- | --- |
| Everything | 0 |
| FullyMatched | 1 |
| OlderThan1Month | 2 |
| OlderThan3Months | 3 |
| OlderThan6Months | 4 |
| OlderThan12Months | 5 |

### BillCreditNoteStatus (V2)

| Enum name | Value |
| --- | --- |
| Unknown | 0 |
| Draft | 1 |
| Submitted | 2 |
| Paid | 3 |
| Void | 4 |
| PartiallyPaid | 5 |

### BilledToType (V2)

| Enum name | Value |
| --- | --- |
| Unknown | 0 |
| NotApplicable | 1 |
| Customer | 2 |
| Project | 3 |

### BillPaymentLineLinkType (V2)

| Enum name | Value |
| --- | --- |
| Unknown | 0 |
| Unlinked | 1 |
| Bill | 2 |
| Other | 3 |
| CreditNote | 4 |
| BillPayment | 5 |
| PaymentOnAccount | 6 |
| Refund | 7 |
| ManualJournal | 8 |
| Discount | 9 |

### BillStatus (V2)

| Enum name | Value |
| --- | --- |
| Unknown | 0 |
| Open | 1 |
| PartiallyPaid | 2 |
| Paid | 3 |
| Void | 4 |
| Draft | 5 |

### BudgetPeriodType (V2)

| Enum name | Value |
| --- | --- |
| Monthly | 1 |
| Annual | 2 |

### BudgetReportType (V2)

| Enum name | Value |
| --- | --- |
| ProgressReport | 1 |

### BudgetType (V2)

| Enum name | Value |
| --- | --- |
| Fixed | 1 |
| Flexible | 2 |

### BusinessCentralRecordOperation (V2)

| Enum name | Value |
| --- | --- |
| Create | 0 |
| Read | 1 |
| Update | 2 |
| Delete | 3 |

### BusinessPurgeType (V2)

| Enum name | Value |
| --- | --- |
| None | 0 |
| PurchaseOrdersPurge | 1 |
| PurchaseRequsitionsPurge | 2 |
| InvoicesPurge | 3 |
| DraftInvoicesPurge | 4 |
| SuppliersPurge | 5 |

### CalculationType (V2)

| Enum name | Value |
| --- | --- |
| Gross | 0 |
| Net | 1 |

### Condition (V2)

| Enum name | Value |
| --- | --- |
| AND | 0 |
| OR | 1 |

### ConnectionSourceType (V2)

| Enum name | Value |
| --- | --- |
| Accounting | 0 |
| Banking | 1 |
| Commerce | 2 |
| Other | 3 |
| Unknown | 4 |

### ContextType (V2)

| Enum name | Value |
| --- | --- |
| MSSQL | 0 |
| PostgresSQL | 1 |

### ContextualHelpLinkType (V2)

| Enum name | Value |
| --- | --- |
| CreateUser | 1 |
| AssignPermissions | 2 |
| CreateWorkflow | 3 |
| CreateBudget | 4 |
| ImportSuppliers | 5 |
| Templates | 6 |
| TaxCodes | 7 |
| CostCodes | 8 |
| ProjectNominalRestrictions | 9 |
| UseGrossUpLink | 10 |

### CostCode (V2)

| Enum name | Value |
| --- | --- |
| Code | 0 |
| Description | 1 |

### CreateOrUpdateAction (V2)

| Enum name | Value |
| --- | --- |
| create | 0 |
| update | 1 |

### CsvType (V2)

| Enum name | Value |
| --- | --- |
| Sage50 | 2 |

### CustomFieldTypeCategory (V2)

| Enum name | Value |
| --- | --- |
| List | 0 |
| Date | 1 |
| FreeText | 2 |

### CustomFieldTypeLocation (V2)

| Enum name | Value |
| --- | --- |
| Invoice | 0 |
| Purchase | 1 |
| Supplier | 2 |
| GRN | 3 |
| All | 4 |
| InvoiceLineItem | 5 |
| PurchaseLineItem | 6 |

### DatabaseConnectorType (V2)

| Enum name | Value |
| --- | --- |
| MSSQL | 0 |
| PostgresSQL | 1 |

### DataConnectionStatus (V2)

| Enum name | Value |
| --- | --- |
| PendingAuth | 0 |
| Linked | 1 |
| Unlinked | 2 |
| Deauthorized | 3 |

### DataTableSupplierDisplayModeType (V2)

| Enum name | Value |
| --- | --- |
| Default | 0 |
| Modal | 1 |

### DataType (V2)

| Enum name | Value |
| --- | --- |
| AccountTransactions | 0 |
| BalanceSheet | 1 |
| BankAccounts | 2 |
| BankTransactions | 3 |
| BillCreditNotes | 4 |
| BillPayments | 5 |
| Bills | 6 |
| CashFlowStatement | 7 |
| ChartOfAccounts | 8 |
| Company | 9 |
| CreditNotes | 10 |
| Customers | 11 |
| DirectCosts | 12 |
| DirectIncomes | 13 |
| Invoices | 14 |
| Items | 15 |
| JournalEntries | 16 |
| Journals | 17 |
| PaymentMethods | 18 |
| Payments | 19 |
| ProfitAndLoss | 20 |
| PurchaseOrders | 21 |
| SalesOrders | 22 |
| Suppliers | 23 |
| TaxRates | 24 |
| TrackingCategories | 25 |
| Transfers | 26 |
| BankingAccountBalances | 27 |
| BankingAccounts | 28 |
| BankingTransactionCategories | 29 |
| BankingTransactions | 30 |
| CommerceCompanyInfo | 31 |
| CommerceCustomers | 32 |
| CommerceDisputes | 33 |
| CommerceLocations | 34 |
| CommerceOrders | 35 |
| CommercePaymentMethods | 36 |
| CommercePayments | 37 |
| CommerceProductCategories | 38 |
| CommerceProducts | 39 |
| CommerceTaxComponents | 40 |
| CommerceTransactions | 41 |

### DivisionNotificationRole (V2)

| Enum name | Value |
| --- | --- |
| ProcessStalling | 1 |
| InvoiceRejection | 2 |
| PurchaseOrderRejection | 3 |
| BudgetLow | 4 |
| BudgetRunOut | 5 |

### DocumentExportedTo (V2)

| Enum name | Value |
| --- | --- |
| None | 0 |
| Csv | 1 |
| Sage50 | 2 |
| Sage200 | 4 |
| Xero | 8 |
| QuickBooks | 16 |
| MindYourOwnBusiness | 32 |
| SapBusinessByDesign | 64 |
| KashFlow | 128 |
| QuickBooksOnline | 256 |
| SageIntacct | 512 |
| BusinessCentral | 1024 |

### DocumentExportType (V2)

| Enum name | Value |
| --- | --- |
| None | 0 |
| Csv | 1 |
| Sage50 | 2 |
| Sage200 | 3 |
| Xero | 4 |
| QuickBooks | 5 |
| MindYourOwnBusiness | 6 |
| SapBusinessByDesign | 7 |
| KashFlow | 8 |
| SmartInvoice | 9 |
| QuickBooksOnline | 10 |
| Excel | 11 |
| Sage200XML | 12 |
| QuickBooksDesktopExcel | 13 |
| Exchequer | 14 |
| Sage200SmartSync | 15 |
| MYOB | 16 |
| SageIntacct | 17 |
| BusinessCentral | 18 |

### DocumentFilterType (V2)

| Enum name | Value |
| --- | --- |
| Last12Months | 0 |
| Last30Days | 1 |
| ThisMonth | 2 |
| LastMonth | 3 |
| MyDocumentsPendingApproval | 4 |
| AllPendingApproval | 5 |
| AllRejected | 6 |
| AllApproved | 7 |
| AllExported | 8 |
| AllPendingExport | 9 |
| AllFailedExport | 10 |
| AllNotExported | 11 |
| AllApprovedButNotExported | 12 |
| AllProcessingFailed | 13 |
| AllAdHocApprovalNotFinished | 14 |
| All | 15 |
| Last60Days | 16 |
| AllNoWorkflow | 17 |

### DocumentGrnStatus (V2)

| Enum name | Value |
| --- | --- |
| None | 0 |
| NotFullyReceived | 1 |
| FullyReceived | 2 |
| ReceivedInExcess | 3 |

### DocumentImageConversion (V2)

| Enum name | Value |
| --- | --- |
| BlackAndWhite | 1 |
| Greyscale | 2 |
| Colour | 3 |

### DocumentLockHistoryReason (V2)

| Enum name | Value |
| --- | --- |
| PaymentLock | 1 |
| PaymentUnlock | 2 |
| LogOutUnlock | 3 |
| AdminUnlock | 4 |
| TimeoutUnlock | 5 |

### DocumentOperationType (V2)

| Enum name | Value |
| --- | --- |
| Unspecified | 0 |
| Creating | 1 |
| Editing | 2 |
| Cloning | 3 |

### DocumentReportType (V2)

| Enum name | Value |
| --- | --- |
| Unapproved | 1 |
| Approved | 2 |
| Rejected | 3 |

### DocumentSendToSupplierStatus (V2)

| Enum name | Value |
| --- | --- |
| None | 0 |
| Accepted | 1 |
| Rejected | 2 |
| Sent | 3 |
| Failed | 4 |

### DraftInvoiceStatus (V2)

| Enum name | Value |
| --- | --- |
| None | 0 |
| New | 1 |
| Ready | 2 |
| Reading | 3 |
| ReadSkipped | 4 |

### DuplicateOrderCheckFields (V2)

| Enum name | Value |
| --- | --- |
| None | 0 |
| ProductCode | 1 |
| TaxCode | 2 |
| NominalCode | 4 |
| Project | 8 |
| CostCode | 16 |

### EmailValidationResult (V2)

| Enum name | Value |
| --- | --- |
| OK | 0 |
| Invalid | 1 |
| Duplicate | 2 |

### Environment (V2)

| Enum name | Value |
| --- | --- |
| SHORT | 0 |
| MAIN | 1 |
| PRELIVE | 2 |
| LIVE | 3 |
| MAINTENANCE | 4 |

### ExportType (V2)

| Enum name | Value |
| --- | --- |
| Csv | 1 |
| Xlsx | 2 |

### ExternalLoginProvider (V2)

| Enum name | Value |
| --- | --- |
| None | 0 |
| Microsoft | 1 |
| Google | 2 |

### EzzyBillsSupplierIdSearchType (V2)

| Enum name | Value |
| --- | --- |
| CostCode | 0 |
| NominalCode | 1 |
| TaxCode | 2 |

### FeatureAccessFlags (V2)

| Enum name | Value |
| --- | --- |
| None | 0 |
| InvoiceCreate | 1 |
| Suppliers | 2 |
| BusinessSettings | 4 |
| CodingList | 8 |
| PurchaseOrders | 16 |
| Divisions | 32 |
| Payments | 64 |
| SageIntacct | 128 |
| SmartSyncCloud | 256 |
| GRN | 512 |
| Notifications | 1024 |
| ReportingV3 | 2048 |
| BusinessCentral | 4096 |
| Dashboards | 8192 |
| LineByLineMatching | 16384 |
| Budgets | 32768 |

### FileSizeUnit (V2)

| Enum name | Value |
| --- | --- |
| Byte | 0 |
| Kilobyte | 1 |
| Megabyte | 2 |
| Gigabyte | 3 |

### FrequencyOfAppearance (V2)

| Enum name | Value |
| --- | --- |
| Daily | 1 |
| Weekly | 7 |
| Monthly | 28 |

### GetAccountingProfileCompanyInformationWeblinkType (V2)

| Enum name | Value |
| --- | --- |
| Website | 0 |
| Social | 1 |
| Unknown | 2 |

### GroupApprovalType (V2)

| Enum name | Value |
| --- | --- |
| Broadcast | 0 |
| RoundRobin | 1 |
| Dynamic | 2 |

### IntegrationEntityType (V2)

| Enum name | Value |
| --- | --- |
| ApprovalComment | 0 |
| CostCode | 1 |
| DocumentApproved | 2 |
| Invoice | 3 |
| InvoiceSetAsExported | 4 |
| NominalCode | 5 |
| Project | 6 |
| PurchaseOrder | 7 |
| PurchaseOrderSentToSupplier | 8 |
| PurchaseRequisition | 9 |
| Supplier | 10 |
| TaxCode | 11 |

### IntegrationProvider (V2)

| Enum name | Value |
| --- | --- |
| None | 0 |
| MicrosoftFlow | 1 |
| Zapier | 2 |

### IntegrationType (V2)

| Enum name | Value |
| --- | --- |
| Create | 0 |
| Update | 1 |

### InvoiceExportStatus (V2)

| Enum name | Value |
| --- | --- |
| None | 0 |
| Failed | 1 |
| AwaitingConfirmation | 2 |
| Confirmed | 3 |

### InvoicePaymentStatus (V2)

| Enum name | Value |
| --- | --- |
| Unpaid | 0 |
| Sending | 1 |
| Sent | 2 |
| Failed | 3 |
| Paid | 4 |
| AwaitingApproval | 5 |
| RejectedForPayment | 6 |
| ApprovedForPayment | 7 |
| InProgress | 8 |
| PaymentScheduled | 9 |

### InvoicePostType (V2)

| Enum name | Value |
| --- | --- |
| Draft | 1 |
| Avaiting | 2 |
| Approved | 3 |

### JobStatusEnum (V2)

| Enum name | Value |
| --- | --- |
| None | 0 |
| New | 1 |
| Processing | 2 |
| Complete | 3 |
| Error | 4 |

### JobType (V2)

| Enum name | Value |
| --- | --- |
| Synchronization | 0 |
| Registration | 1 |
| DocumentLockCleanup | 2 |

### JournalStatus (V2)

| Enum name | Value |
| --- | --- |
| Unknown | 0 |
| Active | 1 |
| Archived | 2 |

### LabelStyle (V2)

| Enum name | Value |
| --- | --- |
| None | 0 |
| LowerCase | 1 |
| TitleCase | 2 |

### LineType (V2)

| Enum name | Value |
| --- | --- |
| ItemRef | 0 |
| AccountRef | 1 |

### ListViewType (V2)

| Enum name | Value |
| --- | --- |
| Invoice | 0 |
| Order | 1 |
| Requisition | 2 |
| Supplier | 3 |
| DraftInvoice | 4 |
| Project | 5 |

### LoaderStyle (V2)

| Enum name | Value |
| --- | --- |
| Normal | 0 |
| Small | 1 |

### LogApplication (V2)

| Enum name | Value |
| --- | --- |
| All | 0 |
| ZaharaWeb | 1 |
| ZaharaAPI | 2 |
| ZaharaAdministration | 3 |
| DigestEmailWebJob | 4 |
| DigestEmailProcessQueueWebJob | 5 |
| UpdateBudgetDataWebJob | 6 |
| DocumentProcessingTimeoutsWebJob | 7 |
| DocumentProcessingWebJob | 8 |
| ReportGeneratorWebJob | 9 |
| TenanciesRemovalWebJob | 10 |
| CreateTrialBusinessUnitWebJob | 11 |
| DbMaintenanceWebJob | 12 |
| ClearOldLogsWebJob | 13 |
| StorageBackupWebJob | 14 |
| StorageIncrementalBackupWebJob | 15 |

### LogLevel (V2) [Zahara.Common]

| Enum name | Value |
| --- | --- |
| All | 0 |
| Info | 1 |
| Warn | 2 |
| Error | 3 |

### LogLevel (V2) [Zahara.Services.QueueManagement.SubService.enums]

| Enum name | Value |
| --- | --- |
| DEBUG | 0 |
| INFO | 1 |
| WARN | 2 |
| ERR | 3 |
| FATAL | 4 |

### LogType (V2)

| Enum name | Value |
| --- | --- |
| Debug | 0 |
| Info | 1 |
| Warning | 2 |
| Error | 3 |

### MessageDestinationGroup (V2)

| Enum name | Value |
| --- | --- |
| Everyone | 0 |
| TenancyAdmins | 1 |
| TrialUsers | 2 |
| UsersInCompany | 3 |

### MessageType (V2)

| Enum name | Value |
| --- | --- |
| Alert | 0 |
| ServerProblem | 1 |
| ReleaseNotes | 2 |
| GRN | 3 |

### MetricPeriod (V2)

| Enum name | Value |
| --- | --- |
| AllTime | 0 |
| Day | 1 |
| Week | 7 |
| Month | 28 |

### MetricType (V2)

| Enum name | Value |
| --- | --- |
| PurchaseOrders | 1 |
| Approvals | 2 |

### ModelDefinitionTypes (V2)

| Enum name | Value |
| --- | --- |
| Int | 0 |
| Bool | 1 |
| Long | 2 |
| DateTime | 3 |
| String | 4 |
| Decimal | 5 |
| Double | 6 |
| UniqueIdentifier | 7 |
| Reference | 8 |
| ListOfReference | 9 |

### NominalCode (V2)

| Enum name | Value |
| --- | --- |
| Code | 0 |
| Description | 1 |

### NominalsRestrictionPriorityType (V2)

| Enum name | Value |
| --- | --- |
| Division | 0 |
| Project | 1 |
| Sum | 2 |
| Intersection | 3 |

### Onecompanies1Percent7BcompanyIdPercent7D1data1infoGetResponses200ContentApplication1jsonSchemaPropertiesPhoneNumbersItemsDefinitionsPhoneNumberType (V2)

| Enum name | Value |
| --- | --- |
| Primary | 0 |
| Landline | 1 |
| Mobile | 2 |
| Fax | 3 |
| Unknown | 4 |

### Operator (V2)

| Enum name | Value |
| --- | --- |
| EQUALTO | 0 |

### PaymentMethodStatus (V2)

| Enum name | Value |
| --- | --- |
| Unknown | 0 |
| Active | 1 |
| Archived | 2 |

### PaymentMethodType (V2)

| Enum name | Value |
| --- | --- |
| Unknown | 0 |
| Cash | 1 |
| Check | 2 |
| CreditCard | 3 |
| DebitCard | 4 |
| BankTransfer | 5 |
| Other | 6 |

### PDFFileType (V2)

| Enum name | Value |
| --- | --- |
| Quote | 1 |
| SOW | 2 |
| Other | 3 |
| SupplierTerms | 4 |
| Invoice | 5 |
| InvoiceSupportingDocument | 6 |
| Receipt | 7 |

### PeriodForIncrementalStorage (V2)

| Enum name | Value |
| --- | --- |
| Day | 1 |

### PermissionCheckType (V2)

| Enum name | Value |
| --- | --- |
| Create | 0 |
| Update | 1 |
| Delete | 2 |
| View | 3 |

### PermissionsMasterSwitch (V2)

| Enum name | Value |
| --- | --- |
| AllPermissions | 1 |
| AllExceptAdmin | 2 |
| RemoveAdminFromAll | 3 |

### PluginMenuLocation (V2)

| Enum name | Value |
| --- | --- |
| None | 0 |
| Tenancy | 1 |
| Business | 2 |

### PowerSearchCategory (V2)

| Enum name | Value |
| --- | --- |
| Invoices | 0 |
| Orders | 1 |
| Products | 2 |
| Suppliers | 3 |
| Projects | 4 |
| All | 5 |

### PredefinedReportType (V2)

| Enum name | Value |
| --- | --- |
| UserCustom | 0 |
| AllOrders | 1 |
| OpenOrders | 2 |
| Order_InvoiceDiff | 3 |
| OrderLines | 4 |
| TopSuppliersBySpendFromInvoices | 5 |
| SupplierList | 6 |
| Top20ProductsByInvoices | 7 |
| SpendMostOnByInvoices | 8 |
| BudgetProgress | 9 |
| OverBudget | 10 |
| AllInvoices | 11 |
| InvoiceLineItems | 12 |
| DisputedInvoices | 13 |
| InvoiceButNoGRN | 14 |
| SpendAnalysis | 15 |
| AwaitingDelivery | 16 |
| GRNButNoInvoice | 17 |
| GRNExceptions | 18 |
| OrdersAwaitingApproval | 19 |
| OrderAuditTrail | 20 |
| Top5Approvers | 21 |
| Bottom5Approvers | 22 |
| SpendMostOnByOrders | 23 |
| Top20ProductsByOrders | 24 |
| TopSuppliersBySpendFromOrders | 25 |
| GRNAccrual | 26 |
| InvoicesAwaitingApproval | 27 |
| OutstandingOrders | 28 |
| OrderProgress | 29 |
| InvoicesAdi | 30 |
| GRNAccrualFull | 31 |
| LiveGRNI | 32 |
| InvoiceAccrual | 33 |
| InvoiceLinesLive | 34 |
| PoLinesLive | 35 |
| BudgetLineData | 36 |
| UserSetupInformation | 37 |
| WorkflowSetupInformation | 38 |
| BudgetDetailsLive | 39 |
| AwaitingDeliveryLive | 40 |

### ProcessStepReturnStatus (V2)

| Enum name | Value |
| --- | --- |
| None | 0 |
| Success | 1 |
| Failure | 2 |
| WaitForAction | 3 |
| ToReprocess | 4 |
| ProcessingWait | 5 |
| FailedToSendToSupplier | 6 |

### ProductCode (V2)

| Enum name | Value |
| --- | --- |
| Code | 0 |
| Description | 1 |

### ProfileDateRangeType (V2)

| Enum name | Value |
| --- | --- |
| All | 1 |
| Today | 2 |
| Yesterday | 3 |
| ThisWeek | 4 |
| ThisMonth | 5 |
| LastMonth | 6 |
| Last30Days | 7 |
| Last60Days | 8 |
| SinceJanuary1 | 9 |
| SinceApril1 | 10 |
| CustomTimePeriod | 11 |

### ProjectCode (V2)

| Enum name | Value |
| --- | --- |
| Code | 0 |
| Name | 1 |

### PullOperationStatus (V2)

| Enum name | Value |
| --- | --- |
| Initial | 0 |
| Queued | 1 |
| Fetching | 2 |
| MapQueued | 3 |
| Mapping | 4 |
| Complete | 5 |
| FetchError | 6 |
| MapError | 7 |
| InternalError | 8 |
| ProcessingQueued | 9 |
| Processing | 10 |
| ProcessingError | 11 |
| ValidationQueued | 12 |
| Validating | 13 |
| ValidationError | 14 |
| AuthError | 15 |
| Cancelled | 16 |
| Routing | 17 |
| RoutingError | 18 |
| NotSupported | 19 |
| RateLimitError | 20 |
| PermissionsError | 21 |
| PrerequisiteNotMet | 22 |

### PurchaseOrderFormatType (V2)

| Enum name | Value |
| --- | --- |
| PDF | 1 |
| CSV | 2 |
| JSON | 3 |
| PDFandCSV | 4 |
| PDFandJSON | 5 |

### PushChangeType (V2)

| Enum name | Value |
| --- | --- |
| Unknown | 0 |
| Created | 1 |
| Modified | 2 |
| Deleted | 3 |
| AttachmentUploaded | 4 |

### PushOperationStatus (V2)

| Enum name | Value |
| --- | --- |
| Pending | 0 |
| Failed | 1 |
| Success | 2 |
| TimedOut | 3 |

### PushOptionType (V2)

| Enum name | Value |
| --- | --- |
| Array | 0 |
| Object | 1 |
| String | 2 |
| Number | 3 |
| Boolean | 4 |
| DateTime | 5 |
| File | 6 |
| MultiPart | 7 |

### QuickBooksRegion (V2)

| Enum name | Value |
| --- | --- |
| US | 0 |
| GB | 1 |

### QuotaRenewalPeriodType (V2)

| Enum name | Value |
| --- | --- |
| Never | -1 |
| Monthly | 1 |
| Yearly | 2 |

### ReportAggregateFunction (V2)

| Enum name | Value |
| --- | --- |
| COUNT | 0 |
| SUM | 1 |
| MIN | 2 |
| MAX | 3 |
| AVG | 4 |

### ReportBudgetType (V2)

| Enum name | Value |
| --- | --- |
| Division | 1 |
| Project | 2 |

### ReportDataSet (V2)

| Enum name | Value |
| --- | --- |
| Orders | 1 |
| Invoices | 2 |
| Suppliers | 3 |
| LineItems | 4 |
| Budgets | 5 |
| NominalsWithLineItems | 6 |
| ApprovalTimes | 7 |
| OrdersWithLineItems | 8 |
| InvoicesWithLinesItems | 9 |
| SuppliersWithDocuments | 10 |
| OrdersWithWorkflows | 11 |
| InvoicesWithWorkflows | 12 |
| OrdersWithGRNs | 13 |

### ReportDataType (V2)

| Enum name | Value |
| --- | --- |
| Warehouse | 0 |
| RealTime | 1 |
| View | 2 |

### ReportDateRange (V2)

| Enum name | Value |
| --- | --- |
| Last30Days | 1 |
| ThisMonth | 2 |
| LastMonth | 3 |
| Custom | 4 |

### ReportDisplayType (V2)

| Enum name | Value |
| --- | --- |
| List | 1 |

### ReportDocumentType (V2)

| Enum name | Value |
| --- | --- |
| All | 0 |
| Orders | 1 |
| Invoices | 2 |

### ReportingProcessingStatus (V2)

| Enum name | Value |
| --- | --- |
| New | 0 |
| Processing | 1 |
| WaitingForSend | 2 |
| FailedOnProcessing | 3 |
| FailedOnSending | 4 |
| SuccessfullySent | 5 |

### ReportTableEnum (V2)

| Enum name | Value |
| --- | --- |
| ReportingInvoicesWithLineItems | 0 |
| ReportingInvoices | 1 |
| ReportingPurchaseOrdersWithGRNs | 2 |
| ReportingPurchaseOrdersWithLineItems | 3 |
| ReportingPurchaseOrders | 4 |
| PurchaseOrdersCustomFieldValues | 5 |
| InvoicesCustomFieldValues | 6 |

### ReportTimeSpanType (V2)

| Enum name | Value |
| --- | --- |
| Daily | 1 |
| Weekly | 2 |
| Monthly | 3 |
| Quarterly | 4 |
| Yearly | 5 |

### ReportType (V2)

| Enum name | Value |
| --- | --- |
| Orders | 1 |
| SupplierAndInventory | 2 |
| Budget | 3 |
| Invoices | 4 |
| Deliveries | 5 |
| Approvals | 6 |

### Roles (V2)

| Enum name | Value |
| --- | --- |
| Finance | 1 |
| Approver | 2 |
| Buyer | 3 |
| Receiver | 4 |
| Admin | 5 |

### SortDirection (V2)

| Enum name | Value |
| --- | --- |
| Ascending | 1 |
| Descending | 2 |

### SpecialPermission (V2)

| Enum name | Value |
| --- | --- |
| AllBusinessUnits | 1 |
| HasFinanceRoleInAllBusinessUnits | 2 |
| HasFinanceAndAdminRoleForAllDivisionsInAnyBusinessUnit | 4 |

### Status (V2)

| Enum name | Value |
| --- | --- |
| Unknown | 0 |
| Active | 1 |
| Archived | 2 |

### StatusEnum (V2)

| Enum name | Value |
| --- | --- |
| active | 0 |
| active_non_posting | 1 |
| inactive | 2 |

### SupplierDocumentTypeFilter (V2)

| Enum name | Value |
| --- | --- |
| All | 0 |
| Orders | 1 |
| Invoices | 2 |

### SupplierName (V2)

| Enum name | Value |
| --- | --- |
| Name | 0 |
| AccountCode | 1 |

### SupplierStatus (V2)

| Enum name | Value |
| --- | --- |
| Unknown | 0 |
| Active | 1 |
| Archived | 2 |

### SyncStatus (V2) [Zahara.Common.Enums]

| Enum name | Value |
| --- | --- |
| New | 0 |
| Synced | 1 |

### SyncStatus (V2) [Zahara.Common]

| Enum name | Value |
| --- | --- |
| Synced | 0 |
| NotSynced | 1 |

### SyncTaskStatus (V2)

| Enum name | Value |
| --- | --- |
| NotProcessed | 0 |
| Success | 1 |
| Failed | 2 |
| Poision | 4 |

### SyncTaskType (V2)

| Enum name | Value |
| --- | --- |
| SyncSupplier | 1 |
| SyncNominalCode | 2 |
| SyncTaxRate | 3 |
| SyncCostCode | 4 |
| SyncInvoice | 5 |
| SyncProjectAsTrackingItems | 6 |
| SyncProjectAsQBCustomer | 7 |
| SyncDivisionAsTrackingItems | 8 |
| SyncCustomFieldListAsTrackingItems | 9 |

### SyncType (V2)

| Enum name | Value |
| --- | --- |
| Suppliers | 0 |
| NominalCodes | 1 |
| TaxCodes | 2 |
| CostCodes | 3 |
| Projects | 4 |
| SupplierItems | 5 |
| InvoicesExport | 6 |
| InvoicesImport | 7 |
| Divisions | 8 |
| CustomCodingFields | 9 |

### TaxCode (V2)

| Enum name | Value |
| --- | --- |
| Code | 0 |
| Description | 1 |

### TaxRateStatus (V2)

| Enum name | Value |
| --- | --- |
| Unknown | 0 |
| Active | 1 |
| Archived | 2 |

### UnapprovedPONotificationType (V2)

| Enum name | Value |
| --- | --- |
| None | 0 |
| HeadOfBusiness | 1 |
| HeadOfDivision | 2 |
| HeadOfBusinessAndHeadOfDivision | 3 |
| EmailAddress | 4 |
| RestrictInvoicePosting | 5 |

### ZaharaEmailTemplateType (V2)

| Enum name | Value |
| --- | --- |
| SupplierPurchaseOrder | 0 |
| Approval | 1 |
| ProcessStalled | 2 |
| InvoiceRejection | 3 |
| PurchaseOrderRejection | 4 |
| BudgetLow | 5 |
| BudgetRunOut | 6 |
| LineItem | 7 |
| InvoiceLineItem | 8 |

### ZaharaFieldType (V2)

| Enum name | Value |
| --- | --- |
| None | 0 |
| TextBox | 1 |
| TextArea | 2 |
| DropDownList | 3 |
| CheckBox | 4 |

### ZaharaProcessStepFunctionReturnStatus (V2)

| Enum name | Value |
| --- | --- |
| None | 1 |
| Success | 2 |
| Failure | 3 |

### ZaharaSmtpSetting (V2)

| Enum name | Value |
| --- | --- |
| Host | 0 |
| Port | 1 |
| Username | 2 |
| Password | 3 |
| UseSsl | 4 |

## Choosing the right enum

Use the enum specified by the field or endpoint. Keep general document status, workflow status, export status and CSV format separate. Preserve unknown numeric values and provide an explicit fallback in your application. Flags enums can represent combined values; use the field’s flags contract rather than treating a combination as an ordinary enum member.
