# 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 |
| --- | --- | --- |
| CsvExportType | Shared | Xero | 3 |
| DocumentExportStatus | Shared | ReadyForExport | 1 |
| DocumentExportType | Shared package | Xero | 4 |

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.

## Shared reference enums

### AbsenceToType (Shared)

| Enum name | Value |
| --- | --- |
| UnknownEndOfAbsence | 0 |
| SpecifiedEndOfAbsence | 1 |

### AddressType (Shared)

| Enum name | Value |
| --- | --- |
| Division | 1 |
| Supplier | 2 |
| Delivery | 3 |
| Business | 4 |
| Billing | 5 |
| Project | 6 |

### AdHocProccessType (Shared)

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

### AnalysisChartsReportOn (Shared)

| Enum name | Value |
| --- | --- |
| PurchaseOrder | 1 |
| PurchaseRequisition | 2 |
| Invoice | 3 |

### ApplyInvoiceOption (Shared)

| Enum name | Value |
| --- | --- |
| OnApproval | 0 |
| OnCreate | 1 |

### AppUserRole (Shared)

| Enum name | Value |
| --- | --- |
| MasterAdmin | 2 |
| Admin | 1 |
| Member | 0 |

### AppVersion (Shared package)

| Enum name | Value |
| --- | --- |
| None | 0 |
| V3 | 1 |
| V2 | 2 |
| Mobile | 4 |
| ChromeExt | 5 |
| SupplierPortal | 6 |
| API1 | 7 |

### AutomaticOrderClosingType (Shared)

| Enum name | Value |
| --- | --- |
| FullyMatched | 0 |
| NoActivityOver90Days | 1 |

### AutomaticWorkflowType (Shared)

| Enum name | Value |
| --- | --- |
| PurchaseOrder | -1 |
| Invoice | -2 |

### BankAccountType (Shared package)

| Enum name | Value |
| --- | --- |
| BusinessAccount | 0 |
| PersonalAccount | 1 |

### BudgetBasis (Shared)

| Enum name | Value |
| --- | --- |
| Nominal | 1 |
| CostCode | 2 |
| Absolute | 4 |

### BudgetConsumerType (Shared)

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

### BudgetPeriod (Shared)

| Enum name | Value |
| --- | --- |
| Week | 1 |
| Month | 2 |
| Quarter | 4 |
| Year | 5 |
| Indefinite | 6 |

### BudgetSpentTrigger (Shared)

| Enum name | Value |
| --- | --- |
| OnApproval | 1 |
| OnSentToSupplier | 2 |
| OnCreate | 3 |

### BusinessCentralExportStatus (Shared)

| Enum name | Value |
| --- | --- |
| Draft | 0 |
| Open | 1 |

### BusinessEventOrderMessageType (Shared package)

| Enum name | Value |
| --- | --- |
| OrderCreated | 0 |
| OrderUpdated | 1 |

### ConfirmationOfPayeeMismatchCode (Shared package)

| Enum name | Value |
| --- | --- |
| ANNM | 0 |
| MBAM | 1 |
| BANM | 2 |
| PANM | 3 |
| BAMM | 4 |
| PAMM | 5 |
| AC01 | 6 |
| IVCR | 7 |
| OPTO | 8 |
| CASS | 9 |
| SCNS | 10 |
| ACNS | 11 |

### CsvExportType (Shared)

| Enum name | Value |
| --- | --- |
| Sage50 | 1 |
| Sage200 | 2 |
| Xero | 3 |
| QuickBooks | 4 |
| SmartSync | 5 |
| Excel | 6 |
| QuickBooksOnline | 7 |
| Sage200XML | 8 |
| QuickBooksDesktopExcel | 9 |
| Exchequer | 10 |
| Sage200SmartSync | 11 |
| MYOB | 12 |
| AccessDimension | 13 |
| Twinfield | 14 |
| CustomExport | 15 |
| SageIntacct | 16 |
| BusinessCentral | 17 |

### CustomButtonActionType (Shared)

| Enum name | Value |
| --- | --- |
| CustomFieldUpdate | 0 |

### CustomButtonDocumentType (Shared)

| Enum name | Value |
| --- | --- |
| PurchaseOrder | 0 |
| Invoice | 1 |

### CustomButtonResultType (Shared)

| Enum name | Value |
| --- | --- |
| Approve | 0 |
| Reject | 1 |

### CustomFieldLocation (Shared)

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

### DecimalPlaces (Shared)

| Enum name | Value |
| --- | --- |
| Two | 2 |
| Four | 4 |

### DefaultAddressType (Shared)

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

### DimensionMappingType (Shared)

| Enum name | Value |
| --- | --- |
| Divisions | 0 |
| Projects | 1 |
| CostCodes | 2 |
| CustomCodingList | 3 |

### DivisionRestrictionType (Shared)

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

### DocumentExportStatus (Shared)

| Enum name | Value |
| --- | --- |
| None | 0 |
| ReadyForExport | 1 |
| Exporting | 2 |
| ExportComplete | 3 |
| ExportFailed | 4 |

### DocumentExportType (Shared package)

| 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 |
| AccessDimension | 16 |
| SageIntacct | 17 |
| BusinessCentral | 18 |

### DocumentHistoryMessageType (Shared)

| Enum name | Value |
| --- | --- |
| Info | 0 |
| Important | 1 |

### DocumentLockHistoryReason (Shared package)

| Enum name | Value |
| --- | --- |
| PaymentLock | 1 |
| PaymentUnlock | 2 |
| LogOutUnlock | 3 |
| AdminUnlock | 4 |
| TimeoutUnlock | 5 |
| PageClosedUnlock | 6 |
| RemovedFromPaymentUnlock | 7 |
| UserDidNotProceedWithPayment | 8 |
| ScheduledForPayment | 9 |

### DocumentMatchType (Shared)

| Enum name | Value |
| --- | --- |
| None | 0 |
| Match | 1 |
| Mismatch | 2 |
| PartialMatch | 3 |

### DocumentStatus (Shared)

| Enum name | Value |
| --- | --- |
| Created | 1 |
| Approved | 2 |
| Rejected | 3 |
| SentToSupplier | 4 |
| Completed | 5 |
| Closed | 6 |
| Draft | 7 |
| ExportOnHold | 8 |
| AdHocWorkflowNotFinished | 9 |
| SendToSupplierStepFailed | 10 |
| Retrospective | 11 |

### DocumentType (Shared)

| Enum name | Value |
| --- | --- |
| PurchaseOrder | 1 |
| Invoice | 2 |
| DeliveryNote | 3 |
| CreditNote | 4 |
| PurchaseRequisition | 5 |
| DraftInvoice | 6 |

### EmailInProcessStatus (Shared package)

| Enum name | Value |
| --- | --- |
| NotSent | 0 |
| Sent | 1 |
| Failed | 2 |
| DailyLimitReached | 3 |

### EmailType (Shared package)

| Enum name | Value |
| --- | --- |
| ConfirmPaymentRun | 0 |
| SendToSupplier | 1 |
| RemittanceEmail | 2 |
| SendToCurrenciesDirect | 3 |
| RejectDocument | 4 |
| General | 5 |
| BulkSendToSupplier | 6 |
| PasswordResetLink | 7 |
| UpdateAuthenticationCode | 8 |
| GrnEmilReminder | 9 |
| BreechOfBudgetWarning | 10 |
| DigestEmail | 11 |

### FeatureAccessFlags (Shared)

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

### FileContainerType (Shared package)

| Enum name | Value |
| --- | --- |
| GRN | 0 |
| Quote | 1 |
| SOW | 2 |
| Other | 3 |
| SupplierTerms | 4 |
| Invoice | 5 |
| InvoiceSupportingDocument | 6 |
| Receipt | 7 |
| SupplierDocuments | 8 |
| BusinessUnitLogo | 9 |
| SmartSyncCloudInstaller | 10 |
| ExpenseClaims | 11 |

### GRNAdjustmentOption (Shared)

| Enum name | Value |
| --- | --- |
| AllSuppliers | 1 |
| SupplierByType | 2 |

### GRNInvoiceControlOption (Shared)

| Enum name | Value |
| --- | --- |
| Prevention | 0 |
| Warning | 1 |

### GrnReminderReceiverType (Shared)

| Enum name | Value |
| --- | --- |
| Originator | 0 |
| ProjectManager | 1 |

### InvoiceDocumentStatus (Shared)

| Enum name | Value |
| --- | --- |
| None | 0 |
| Rejected | 1 |
| Approved | 2 |
| Failed | 3 |
| AdHocNotFinished | 4 |
| InProgress | 5 |

### InvoiceOrderMatchStatus (Shared)

| Enum name | Value |
| --- | --- |
| None | 0 |
| FullyMatched | 1 |
| LessThat50Percent | 2 |
| Over50Percent | 3 |
| Over100Percent | 4 |

### InvoicePaymentStatus (Shared package)

| Enum name | Value |
| --- | --- |
| Unpaid | 0 |
| Sending | 1 |
| SentForPayment | 2 |
| Failed | 3 |
| Paid | 4 |
| AwaitingApproval | 5 |
| RejectedForPayment | 6 |
| ApprovedForPayment | 7 |
| InProgress | 8 |
| ScheduledForPayment | 9 |
| Suspended | 10 |

### InvoiceType (Shared)

| Enum name | Value |
| --- | --- |
| Invoice | 1 |
| CreditNote | 2 |

### LineItemMatchType (Shared)

| Enum name | Value |
| --- | --- |
| None | 0 |
| Match | 1 |
| Mismatch | 2 |
| PartialMatch | 3 |

### MFAType (Shared package)

| Enum name | Value |
| --- | --- |
| None | 0 |
| Email | 1 |
| Authenticator | 2 |

### MonthOfYear (Shared)

| Enum name | Value |
| --- | --- |
| January | 1 |
| February | 2 |
| March | 3 |
| April | 4 |
| May | 5 |
| June | 6 |
| July | 7 |
| August | 8 |
| September | 9 |
| October | 10 |
| November | 11 |
| December | 12 |

### NotificationMessageLevel (Shared package)

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

### NotificationMessageType (Shared package)

| Enum name | Value |
| --- | --- |
| Zahara | 0 |
| Sync | 1 |
| User | 2 |

### OcrProviderType (Shared)

| Enum name | Value |
| --- | --- |
| EzzyBills | 0 |
| Affinda | 1 |

### OrderApprovalStatus (Shared)

| Enum name | Value |
| --- | --- |
| None | 0 |
| Rejected | 1 |
| Approved | 2 |
| Failed | 3 |
| InProgress | 4 |
| Retrospective | 5 |
| Draft | 6 |
| Closed | 7 |

### OutsideCutOffDateDisplayStrategy (Shared)

| Enum name | Value |
| --- | --- |
| KeepAsOriginal | 1 |
| DisplayCalculatedDate | 2 |

### OutsideCutOffDateStrategy (Shared)

| Enum name | Value |
| --- | --- |
| SetToCutOfDate | 1 |
| SetToFirstOfNextMonth | 2 |
| SetToLastOfTheMonth | 3 |

### PaymentProviderType (Shared package)

| Enum name | Value |
| --- | --- |
| Comma | 0 |
| CurrenciesDirect | 1 |

### PaymentResultType (Shared package)

| Enum name | Value |
| --- | --- |
| Paid | 1 |
| Failed | 2 |
| Suspended | 3 |
| InProcess | 4 |

### PermissionType (Shared)

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

### ProcessStatus (Shared)

| Enum name | Value |
| --- | --- |
| Unprocessed | 0 |
| ReadyForProcessing | 1 |
| Processing | 2 |
| ProcessingWait | 3 |
| Complete | 4 |
| Failed | 5 |
| WaitingForReprocessing | 6 |
| ReadyForReprocessing | 7 |

### ProcessType (Shared)

| Enum name | Value |
| --- | --- |
| PurchaseOrderApproval | 1 |
| Export | 2 |
| InvoiceApproval | 3 |
| AdHocApproval | 4 |

### ProjectStatus (Shared)

| Enum name | Value |
| --- | --- |
| None | 0 |
| Active | 1 |
| Inactive | 2 |
| OnHold | 3 |
| Completed | 4 |

### QuotaRenewalPeriodType (Shared)

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

### QuotaType (Shared package)

| Enum name | Value |
| --- | --- |
| Invoice | 0 |
| PurchaseOrder | 1 |
| Supplier | 2 |
| BusinessUnit | 3 |
| Division | 4 |
| Budget | 5 |
| OcrPage | 6 |

### RecipientStatusCurrenciesDirect (Shared package)

| Enum name | Value |
| --- | --- |
| Unmatched | 0 |
| Inactive | 1 |
| Active | 2 |
| Deleted | 3 |
| Suspended | 4 |

### RemittanceStatus (Shared package)

| Enum name | Value |
| --- | --- |
| Sent | 1 |
| Failed | 2 |

### RequiredDatePolicy (Shared)

| Enum name | Value |
| --- | --- |
| None | 0 |
| NextDay | 1 |
| NextBusinessDay | 2 |

### Sage50NarrativeTemplateType (Shared)

| Enum name | Value |
| --- | --- |
| FirstLineItemDescription | 0 |
| SummaryOf | 1 |
| InvoiceOrderNumber | 2 |

### SageProjectType (Shared)

| Enum name | Value |
| --- | --- |
| Project | 0 |
| Class | 1 |

### SecondRefGeneratorTrigger (Shared)

| Enum name | Value |
| --- | --- |
| OnApproval | 1 |
| OnSentToSupplier | 2 |

### SupplierEmailTypes (Shared)

| Enum name | Value |
| --- | --- |
| Orders | 1 |
| Remittance | 2 |
| Disputes | 3 |
| CustomerServices | 4 |
| CreditControl | 5 |
| Other | 6 |
| PortalUser | 7 |

### SupplierPaymentTermStartType (Shared)

| Enum name | Value |
| --- | --- |
| InvoiceDate | 0 |
| EndOfCurrentMonth | 1 |
| EndOfFollowingMonth | 2 |
| EndOfInvoiceDateMonth | 3 |
| EndOfMonthFollowingTheMonthOfInvoiceDate | 4 |

### SupplierPaymentTermType (Shared)

| Enum name | Value |
| --- | --- |
| DaysFromInvoiceDate_14 | 0 |
| DaysFromInvoiceDate_30 | 1 |
| DaysFromInvoiceDate_45 | 2 |
| DaysFromInvoiceDate_60 | 3 |
| DaysFromInvoiceDate_90 | 4 |
| DaysFromEndOfCurrentMonth_30 | 5 |
| DaysFromEndOfFollowingMonth_30 | 6 |
| EndOfMonthFollowingTheMonthOfInvoiceDate | 7 |
| Other | 8 |
| DirectDebit | 9 |

### SupplierPurchaseOrderFormat (Shared package)

| Enum name | Value |
| --- | --- |
| Pdf | 1 |
| Csv | 2 |
| Json | 3 |
| PdfAndCsv | 4 |
| PdfAndJson | 5 |

### SynchronisationType (Shared package)

| Enum name | Value |
| --- | --- |
| MatchSuppliers | 0 |
| SyncSuppliers | 1 |
| RegisterCustomer | 2 |

### SyncSystem (Shared package)

| Enum name | Value |
| --- | --- |
| CurrenciesDirect | 0 |

### SyncType (Shared package)

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

### TenantRegion (Shared)

| Enum name | Value |
| --- | --- |
| UK | 1 |
| US | 2 |
| AU | 3 |

### ZaharaRecordType (Shared)

| Enum name | Value |
| --- | --- |
| Supplier | 1 |

### ZaharaRecordType (Shared package)

| Enum name | Value |
| --- | --- |
| None | 0 |
| Invoice | 1 |
| Supplier | 2 |
| Project | 3 |
| NominalCode | 4 |
| CostCode | 5 |
| TaxCode | 6 |

## 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.
