Pay and Bill
    Pay and Bill
    • Overview
    • CompanyInvoice
      • GetAgencyInvoices
      • Retrieves detailed information for a specific invoice.
      • Retrieves a list of invoice overpayments for a given agency, supporting pagination and cancellation.
      • Retrieves a list of invoice credits (credit memos) for a given Agency, with support for pagination and cancellation.
      • Manages (creates or updates) an invoice payment.
      • Get
      • Downloads the invoice PDF for the specified invoiceId.
    • Accounting
      • DoSum
    • Schemas
      • Schemas
        • PayPeriodFormatOptions
        • SyncInvoiceDto
        • SyncInvoiceDetailsDto
        • InvoiceOverPayments
        • InvoiceCredits
        • DataSourceResultInt32ListValueTuple
      • ProblemDetails
      • BankType
      • CheckFormat
      • NACHAHeaderFile
      • BankDto
      • GLAccountType
      • GlaccountDto_ToBeDeleted
      • TaxFieldDto
      • AlertsDto
      • AuditActionEntity
      • AuditActionType
      • AuditLogViewDto
      • InvoiceStatus
      • InvoicePaymentDto
      • BatchBillingViewDto
      • SaveBatchBillingCommand
      • DeleteBatchBillingCommand
      • CloseBatchBillingCommand
      • BatchBillingDetailDto
      • InvoiceOverPaymentDto
      • SaveBatchBillingDetailCommand
      • UpdateBillingDetailCommand
      • DeleteBatchBillingDetailCommand
      • InvoiceClientOverPaymentDto
      • Suffix
      • ClientStatus
      • AddressType
      • State
      • Country
      • AddressDto
      • GroupInvoiceType
      • PayCategoryMappingDto
      • PayCategoryTemplateDto
      • LeftLogoType
      • RightLogoType
      • Address1Type
      • Address2Type
      • InvoiceViewType
      • Address1TypeAddr
      • Address2TypeAddr
      • Address3Type
      • Address3TypeAddr
      • PayPeriodFormat
      • CustomInvoiceTemplateDto
      • FeeType
      • InvoiceItemType
      • ClientInvoiceFeeSetupDto
      • LateFeeType
      • ClientInvoiceLateFeeSetupDto
      • ClientInvoiceSetupDto
      • ClientBranchAssignDto
      • ClientDepartmentDto
      • ClientLevelDto
      • ClientShiftAsgmtDto
      • ClientDetailedViewDto
      • SaveClientCommand
      • PayDataClientEmployeeDto
      • ClientTemplateDetailDto
      • ClientInvoiceUpdateDto
      • UpdateClientInvoiceTemplateCommand
      • DeleteClientCommand
      • SaveClientDepartmentCommand
      • DeleteClientDepartmentCommand
      • ClientLevelTypeDto
      • SaveClientOrgStructureCommand
      • SaveClientLevelCommand
      • ClientLevelDropdownDto
      • DeleteClientLevelCommand
      • ClientCreditMemoDto
      • ClientCreditMemoDetailDto
      • SaveClientCreditMemoCommand
      • RefundCreditMemoCommand
      • DeleteClientCreditMemoCommand
      • CreditMemoStatus
      • ManageCreditMemoStatusCommand
      • FileDataDto
      • EmailClientCreditMemoCommand
      • ProfileStatus
      • AccrualCalcMethod
      • AccrualDecrementWageType
      • AccrualAnnualPeriod
      • AccrualRollover
      • AccrualFrequency
      • AccrualIncrementWageType
      • AccrualIncrementCodeDto
      • AccrualRateDto
      • AccrualDto
      • AdvanceCalcMethod
      • AdvanceFrequency
      • AdvanceDto
      • AutoBreakGroupDto
      • BankTransmissionDeadline
      • CompanyBankDto
      • CompanyBankingSettingDto
      • HolidayName
      • CompanyHolidayDto
      • CompanyTaxDestination
      • CompanyTaxDueFrequency
      • CompanyTaxDto
      • CompanyUnpaidHolidayTypeDto
      • DeductionCalcMethod
      • DeductionFrequency
      • PrePostTax
      • VendorType
      • VendorPayFrequency
      • VendorPayMethod
      • CompanyVendorDetailedDto
      • SymmetryBenefit
      • DeductionDto
      • TaxGroupTaxDto
      • TaxGroupDto
      • DepartmentDto
      • LocationDto
      • DivisionDto
      • BranchDto
      • RegionDto
      • CompanyFeeSetupDto
      • PayCategoryCode
      • PayCatType
      • PayHrsType
      • PayCategoryDto
      • PayFrequency
      • WeekBegins
      • HolidayRule
      • PayrollGroupDto
      • ReimbursementCalcMethod
      • ReimbursementFrequency
      • ReimbursementDto
      • DifferentialType
      • DepartmentShiftDto
      • CompanyShiftDto
      • CompanySutaRateDto
      • TFBCalcMethod
      • TFBFrequency
      • TfbDto
      • CompanyEEOClassificationDto
      • CustomTemplateType
      • CustomTemplateDto
      • CompanySettingDto
      • Esc550ConfigDto
      • CompanyNetTermDto
      • CompanyDetailedViewDto
      • SaveCompanyCommand
      • CompanyInclude
      • Int32StringValueTuple
      • EmployeeLoginDto
      • CompanyBankAccountNumberDto
      • TaxType
      • TaxBasicDto
      • CompanyVendorDto
      • GarnishmentCalcMethod
      • GarnishmentFrequency
      • GarnishmentType
      • GarnishmentDto
      • JobTitleDto
      • CompanyJobsDto
      • OrganizationForDropdownDto
      • CompanyJobClassesDto
      • EmployeeStatus
      • PayType
      • HeadCountDto
      • CustomLabelDto
      • FPCompanySettingDto
      • InvoicePayPeriodDto
      • FundingProviderDto
      • InvoiceDto
      • FPCompanySettingReqDto
      • SyncInvoiceAddressDto
      • SyncInvoiceRecordDto
      • SyncInvoiceExpenseDto
      • SyncInvoiceTaxDto
      • SyncInvoicePaymentDto
      • InvoiceDetailsDto
      • InvoiceOverPaymentsDto
      • InvoiceCreditDto
      • ManageInvoicePaymentCommand
      • ELGChangeDto
      • RejectedComments
      • ELGChangeResDto
      • Prefix
      • WorkStatus
      • Gender
      • EEOJobCategory
      • RaceEthnicity
      • Category
      • PayrollDataStatus
      • TerminationReason
      • EmployeeAccrualDto
      • ClientEmpLevelMappingDto
      • ClientEmpDeptMappingDto
      • EmployeeClientAssignmentDto
      • EmployeeAdvanceDto
      • EmployeeDeductionDto
      • EmployeeDepartmentDto
      • AccountType
      • DirectDepositCalcMethod
      • EmployeeDirectDepositDto
      • EmployeeFederalTaxSetupDto
      • EmployeeGarnishmentDto
      • EmployeeHireDateDto
      • EmployeePayRateDto
      • EmployeeReimbursementDto
      • EmployeeStateAndLocalTaxSetupDto
      • EmployeeStatusDto
      • EmployeeTfbDto
      • PayAllocationDto
      • EmployeeBranchAsgmtDto
      • NewEmployeeAdjustmentYtdDto
      • NewEmployeeTaxYtdDto
      • EmployeeDetailedViewDto
      • SaveEmployeeCommand
      • DeleteEmployeeCommand
      • SaveEmployeeAssignmentCommand
      • EmployeeDirectDepositBasicDto
      • EmployeeStateLocalTaxDetailDto
      • PayDataEmployeeGarnishmentsDto
      • PayrollType
      • PayrollBatchDto
      • PayrollDto
      • CompanySettingGridViewDto
      • CompanyGridViewDto
      • GlReportDto
      • GlAccountsDto
      • GlAccountTypeDto
      • SubTaxType
      • TaxDto
      • TaxIdsContainerDto
      • AuditEventType
      • AuditDto
      • FilingStatusDto
      • OvertimeGroupDto
      • NaicDto
      • PeriodDateV2FilterDto
      • PeriodDatesDto
      • SemiMonthlyPeriodDateFilterDto
      • SemiMonthlyPeriodDateDto
      • CompensationCodesDto
      • EmployeeGridViewDto
      • ReportType
      • TaxFormGridViewDto
      • TaxPaymentTaxDto
      • TaxPaymentGridViewDto
      • ClientGridViewDto
      • PaymentType
      • PaymentStatus
      • NachaPaymentGridViewDto
      • PayrollGridViewDto
      • VoidPayrollEmployeeDto
      • CheckType
      • CheckStatus
      • ChecksGridViewDto
      • EmployeeChecksGridViewDto
      • PrintStatus
      • VendorChecksGridViewDto
      • AdjustmentType
      • UserGridViewDto
      • GroupsGridViewDto
      • SecurityObject
      • SecurityAction
      • ClientAssignmentsGridViewDto
      • ClientAssignmentsGridViewFilterDto
      • OrganizationGridViewDto
      • InvoiceMailStatus
      • InvoicePayrollInfoDto
      • AdjInvoiceType
      • InvoicesGridViewDto
      • BatchBillingGridViewDto
      • BatchBillingDetailGridViewDto
      • EmployeeEmailStubGridViewDto
      • PageSecurityObject
      • ImageDto
      • CreditMemoDocDto
      • ImportPayrollDto
      • ImportPayrollCommand
      • RejectedPayrollComments
      • ImportPayrollResDto
      • ImportPayrollColumnDto
      • ImportPayrollFileLogDto
      • InvoiceMethod
      • BillRateType
      • InvoiceRecordDto
      • EmployeeInvoiceDto
      • ConsolidatedEmployeeInvoiceDto
      • InvoiceExpenseRateType
      • InvoiceExpenseDto
      • InvoiceTaxType
      • InvoiceTaxDto
      • InvoiceCreditMemoDto
      • InvoiceAdjustmentApproverDto
      • AdjustmentApprovalStatus
      • InvoiceAdjustmentApprovalDto
      • SaveInvoiceCommand
      • InvoiceDetailedViewDto
      • InvoiceInfoDto
      • InvoiceCustomerInfo
      • InvoiceBulkDetailViewDto
      • InvoiceBulkViewDto
      • InvoiceRecordAdjDto
      • InvoiceExpenseAdjDto
      • InvoiceTaxAdjDto
      • InvoiceAdjustmentDetailViewDto
      • SaveAdjustmentInvoiceCommand
      • RejectInvoiceAdjustmentCommand
      • PostInvoiceCommand
      • AdjInvoiceCommand
      • MarkAsPaidCommand
      • Dashboard_GridDto
      • InvoicesDashboardDto
      • WageType
      • BillableChargeWageDto
      • DeleteInvoicePaymentCommand
      • InvoiceEmailHistoryDto
      • InvoiceAdjApprovalUserDto
      • InvoiceSummaryDto
      • SettingFor
      • KendoGridSettingDto
      • OrganizationDetailViewDto
      • SaveOrganizationCommand
      • PayrollsForAuditDto
      • ListSortDirection
      • MemberTypes
      • ParameterAttributes
      • MethodAttributes
      • MethodImplAttributes
      • CallingConventions
      • IntPtr
      • RuntimeMethodHandle
      • ModuleHandle
      • CustomAttributeTypedArgument
      • CustomAttributeNamedArgument
      • CustomAttributeData
      • Module
      • ConstructorInfo
      • EventAttributes
      • EventInfo
      • FieldAttributes
      • RuntimeFieldHandle
      • FieldInfo
      • PropertyAttributes
      • PropertyInfo
      • MethodBase
      • GenericParameterAttributes
      • TypeAttributes
      • LayoutKind
      • StructLayoutAttribute
      • RuntimeTypeHandle
      • TypeInfo
      • SecurityRuleSet
      • Assembly
      • Type
      • MemberInfo
      • ParameterInfo
      • ICustomAttributeProvider
      • MethodInfo
      • ObjectObjectFunc
      • ClientHandlerDescriptor
      • SortDescriptor
      • IFilterDescriptor
      • AggregateFunction
      • GroupDescriptor
      • AggregateDescriptor
      • DataSourceRequest
      • PayDataAccrualDto
      • PayDataAdvanceDto
      • PayDataDeductionDto
      • EarningType
      • PayDataEarningDto
      • PayDataGarnishmentDto
      • PayDataHourDto
      • PayDataReimbursementDto
      • PayDataTfbDto
      • PayDataTaxOverrideDto
      • PayDataTLMDto
      • PayDataTlmAccrualDto
      • PayDataTlmWorkerCompCodeDto
      • PayDataEntryDto
      • PayDataGridColumnDto
      • SavePayDataEntriesCommand
      • PayrollDashboardDataDto
      • PayrollAdjustmentAggregateDto
      • PayrollTaxAggregateDto
      • PayrollHoursEarningsDto
      • TLMPayCategoryType
      • PayCategory
      • BillRateTypes
      • PayrollStatus
      • PayrollWage
      • AccrualEventType
      • AccrualEntryType
      • AccrualTransaction
      • PayrollTFB
      • PayrollAdvance
      • PayrollReimbursement
      • PayrollGarnishment
      • PayrollDeduction
      • TaxStatus
      • PayrollFederalTaxSetup
      • PayrollStateAndLocalTaxSetup
      • PayrollTax
      • PayrollDirectDeposit
      • TaxShortfall
      • AdjustmentShortfall
      • TaxCollection
      • PayrollTlmWorkerCompCodeRecord
      • PayrollRecord
      • EmployeeBasicDto
      • ObjectBasicInfoDto
      • ProcessedPayrollDto
      • GetPayrollPreviewQuery
      • PayrollBasicInfoDto
      • PayrollRecordType
      • PayrollAdvanceDto
      • PayrollDeductionDto
      • PayrollGarnishmentDto
      • PayrollReimbursementDto
      • PayrollWageDto
      • PayrollTaxDto
      • PayrollDirectDepositDto
      • PayrollTfbDto
      • PayrollRecordDto
      • ManualPayrollDto
      • VoidPayrollDataCountDto
      • VoidReason
      • EmployeeDepartmentRateDto
      • EmployeeDepartmentForPayDataDto
      • ImportTimecardsIntoPaydataCommand
      • RejectTimecardsCommand
      • TimecardImportStatus
      • TimecardAmountDto
      • TimecardCompCodeDto
      • TimecardDto
      • Emp
      • Wage
      • Eetax
      • AggregateResult
      • Alltax
      • DataSourceResult
      • Ertax
      • PayCategoryHoursDto
      • Adjustment
      • TimecardGridSummaryDto
      • PayrollRec
      • TimecardGridResponseDto
      • PayrollDataReportDto
      • EmployeeShortInfoDto
      • EmployeeApprovalPayRateValidationDto
      • EmployeeOutOfStateValidationDto
      • EmployeeApprovalValidationDto
      • EmployeePayDataMismatchDto
      • PayrollValidationApprovalDto
      • AddEmployeesToPayrollCommand
      • EmailPayStubValidationDto
      • PayrollHistory
      • PayrollHistoryResponse
      • EmployeeCheckMobileDto
      • EmployeeCheckMobileDtoResponse
      • PayrollEarningDto
      • PayrollAdjustmentDto
      • PayrollRecordAggregatesDto
      • PayrollRecordAggregatesDtoResponse
      • ReportPayrollDialogDto
      • ReportDialogYearDto
      • ReportPayrollsDto
      • ReportEmployeeDialogDto
      • ReportEmployeesDto
      • ReportEmployeeCheckDialogDto
      • ReportAccrualDto
      • AccrualTransactionsDialogDataDto
      • PayrollDetailsReportDto
      • PayrollSummaryDS2Dto
      • PayrollSummaryTaxDto
      • PayrollSummaryDS1Dto
      • PayrollSummaryDto
      • CustomTaxLiabilitySummaryReportDto
      • TaxLiabilitySummaryReportDto
      • AdjustmentReportDto
      • AdjustmentDataDto
      • AccrualDataDto
      • TaxPaymentInfo
      • TaxPaymentReportDto
      • TaxPaymentDataDto
      • AccrualTransactionsDataDto
      • I9Dto
      • W4Dto
      • WorkersCompDto
      • WorkersCompReportDto
      • PayrollBasicViewDto
      • UpcomingPayrollsReportDto
      • TaxBasicViewDto
      • TaxBreakdownDto
      • PayrollTaxesOverviewReportDto
      • AffordableCareActDataDto
      • AffordableCareActReportDto
      • GarnishmentReportDto
      • ReportDto
      • PRDEDDataDto
      • ESC5500BronzeFileDto
      • ClarusWotcReportDto
      • QuarterlyEmployeesSUIDto
      • QuarterlyEmployeesTaxableWageDto
      • StatesDataDto
      • FederalEeoReportDto
      • UserGroupCompanyDto
      • UserGroupDto
      • UserRoleDto
      • UserDto
      • SaveUserCommand
      • SaveUserProfileCommand
      • HierarchyLevel
      • RoleDto
      • SaveRoleCommand
      • RoleCountsDto
      • GroupDetailedViewDto
      • SaveGroupCommand
      • SyncGetWurknowUserPermissionQuery
      • SyncWurknowUserPermissionDto
      • ErrorCodeDto
      • LocationCodeDto
      • SyncAddressDto
      • SyncClientEmpLevelMappingDto
      • SyncEmployeeClientAssignmentDto
      • SyncEmployeeBranchAsgmtDto
      • SyncEmployeePayRateDto
      • SyncEmployeeCommand
      • SyncBranchesDto
      • SyncRegionsDto
      • SyncPayrollGroupDto
      • SyncPayCategoryDto
      • SyncRecordRoleDto
      • SyncOrganizationCommand
      • SyncCompanyCommand
      • SyncClientInvoiceSetupDto
      • SyncClientBranchAssignDto
      • SyncClientDepartmentDto
      • SyncClientLevelDto
      • SyncClientRoleDto
      • SyncClientCommand
      • SyncClientOpenInvoiceAmountCommand
      • SyncClientDepartmentCommand
      • SyncClientLevelCommand
      • SyncClientShiftAsgmtDto
      • SyncAllTlmShiftDto
      • SyncTlmShiftCommand
      • SyncClientShiftAsgmtCommand
      • SyncClientRoleCommand
      • SyncEmployeeStateAndLocalTaxSetupDto
      • SyncEmployeeFederalTaxSetupDto
      • SyncEmployeeDirectDepositDto
      • SyncEmployeeProfileCommand
      • SyncCompanyEEOClassificationCommand
      • GetSyncVendorsQuery
      • SyncCompanyVendorCommand
      • GetSyncGarnishmentsQuery
      • SyncEmployeeGarnishmentCommand
      • SyncSystemSettingCommand
      • SyncGetRolesQuery
      • SyncUserCommand
      • SyncGetUserRoleQuery
      • SyncUserRoleDto
      • SyncUserPermissionQuery
      • SyncUserPermissionDto
      • SystemSettingDto
      • F940ScheduleADto
      • F940Dto
      • F941Dto
      • Form941NDto
      • FCADE9Dto
      • CADE9CEmployeeDto
      • SCADE9CDto
      • FW2SummaryDto
      • FW2box12DetailDto
      • FW2box14DetailDto
      • FW2localDetailDto
      • FW2stateDetailDto
      • FW2Dto
      • PaymentTaxType
      • CreateTaxPaymentCommand
      • DueTaxPaymentDto
      • TimecardGridDto
      • Paycodes
      • PayrollAccrual
      • EmployeeAssignment
      • TimecardImportCommand
      • UpdateNotesCommand
      • GetVendorPaymentDetailsQuery
      • VendorPaymentDetailsDto

    InvoiceBulkDetailViewDto

    {
        "previousInvoices": [
            {
                "invoiceDate": "2019-08-24T14:15:22.123Z",
                "invoiceNumber": 0,
                "amountOwed": 0,
                "amountPaid": 0,
                "amountLateFees": 0,
                "amountDue": 0
            }
        ],
        "invoice": {
            "invoiceId": 0,
            "companyId": 0,
            "clientId": 0,
            "clientDepartmentId": 0,
            "departmentName": "string",
            "clientLevelId1": 0,
            "clientLevel1Name": "string",
            "clientLevelId2": 0,
            "clientLevel2Name": "string",
            "clientLevelId3": 0,
            "clientLevel3Name": "string",
            "clientLevelId4": 0,
            "clientLevel4Name": "string",
            "tlmShiftId": 0,
            "shiftName": "string",
            "remitAddress": {
                "addressId": 0,
                "addressTypeLv": 1,
                "address1": "string",
                "address2": "string",
                "city": "string",
                "stateLv": 0,
                "zipCode": "string",
                "zipCodeFormatted": "string",
                "county": "string",
                "countryLv": 1,
                "active": true,
                "symmetryLocationCode": "string"
            },
            "billingAddress": {
                "addressId": 0,
                "addressTypeLv": 1,
                "address1": "string",
                "address2": "string",
                "city": "string",
                "stateLv": 0,
                "zipCode": "string",
                "zipCodeFormatted": "string",
                "county": "string",
                "countryLv": 1,
                "active": true,
                "symmetryLocationCode": "string"
            },
            "invoiceNumber": 0,
            "poNumber": "string",
            "comments": "string",
            "payrollID": 0,
            "amount": 0,
            "paidDate": "2019-08-24T14:15:22.123Z",
            "dueDate": "2019-08-24T14:15:22.123Z",
            "invGraceDate": "2019-08-24T14:15:22.123Z",
            "invoiceOpenedDate": "2019-08-24T14:15:22.123Z",
            "paidWithCheckNumber": "string",
            "notes": "string",
            "emailList": "string",
            "invoiceStatus": 1,
            "invoiceSeparation": "string",
            "invoiceSeparationList": [
                0
            ],
            "invoiceMailStatus": 1,
            "customInvoiceTemplateId": 0,
            "invoiceViewTypeLv": 1,
            "billableChargeId": 0,
            "active": true,
            "branchId": 0,
            "payrollWageId": 0,
            "payrollDeductionId": 0,
            "timecardImportAmountId": 0,
            "isAdjusted": true,
            "adjInvoiceId": 0,
            "adjNo": 0,
            "adjPrefix": "string",
            "adjInvoiceTypeLv": 1,
            "invoiceLateFeesType": 0,
            "invoiceLateFeesValue": 0,
            "creditAmount": 0,
            "isCreditLimit": true,
            "creditLimit": 0,
            "totalOpenInvoiceAmount": 0,
            "isFunded": true,
            "fundingProviderId": 0,
            "fundingProvider": {
                "fundingProviderId": 0,
                "fundingProviderName": "string",
                "remittanceAddressId": 0,
                "emailAddress": "string",
                "paymentInfo": "string",
                "createdBy": 0,
                "createdDate": "2019-08-24T14:15:22.123Z",
                "lastModBy": 0,
                "lastModDate": "2019-08-24T14:15:22.123Z",
                "active": true,
                "remittanceAddress": {
                    "addressId": 0,
                    "addressTypeLv": 1,
                    "address1": "string",
                    "address2": "string",
                    "city": "string",
                    "stateLv": 0,
                    "zipCode": "string",
                    "zipCodeFormatted": "string",
                    "county": "string",
                    "countryLv": 1,
                    "active": true,
                    "symmetryLocationCode": "string"
                },
                "remittanceAddressStr": "string"
            },
            "invoiceRecords": [
                {
                    "id": 0,
                    "invoiceRecordId": 0,
                    "employeeId": 0,
                    "employeeName": "string",
                    "amount": 0,
                    "units": 0,
                    "rate": 0,
                    "markupRate": 0,
                    "active": true,
                    "payCategoryId": 0,
                    "payCategoryName": "string",
                    "payCode": "string",
                    "billRateTypeLv": 1,
                    "billRate": 0,
                    "clientDepartmentId": 0,
                    "departmentName": "string",
                    "clientLevelId1": 0,
                    "clientLevel1Name": "string",
                    "clientLevelId2": 0,
                    "clientLevel2Name": "string",
                    "clientLevelId3": 0,
                    "clientLevel3Name": "string",
                    "clientLevelId4": 0,
                    "clientLevel4Name": "string",
                    "tlmShiftId": 0,
                    "tlmShiftName": "string",
                    "payrollPeriod": "string",
                    "isExcluded": true,
                    "payrollWageId": 0,
                    "payrollDeductionId": 0,
                    "timecardAmountId": 0,
                    "branchId": 0,
                    "branchName": "string",
                    "jobTitle": "string",
                    "isAdjusted": true,
                    "recordVersion": 0,
                    "billCode": "string",
                    "sortOrder": 0,
                    "regPayRate": 0
                }
            ],
            "consolidatedEmployeeInvoiceRec": {
                "employeeInvoiceRecords": [
                    {
                        "employeeName": "string",
                        "shift": "string",
                        "payCodeHours": {
                            "property1": 0,
                            "property2": 0
                        },
                        "payCodeBillRates": {
                            "property1": 0,
                            "property2": 0
                        },
                        "amount": 0
                    }
                ],
                "allPayCodes": [
                    "string"
                ]
            },
            "invoiceExpenses": [
                {
                    "invoiceExpenseID": 0,
                    "glAccountTypeID": 0,
                    "glaccountTypeName": "string",
                    "expenseName": "string",
                    "expenseDescription": "string",
                    "amount": 0,
                    "units": 0,
                    "rate": 0,
                    "active": true,
                    "isAdjusted": true,
                    "invoiceFeeSetupId": 0,
                    "dhorderId": 0,
                    "employeeId": 0,
                    "forEmployee": true,
                    "invoiceExpenseRateTypeLv": 1
                }
            ],
            "invoiceTaxes": [
                {
                    "invoiceTaxId": 0,
                    "invoiceTaxSetupId": 0,
                    "amount": 0,
                    "taxableAmount": 0,
                    "percentage": 0,
                    "invoiceTaxType": 1,
                    "taxName": "string",
                    "taxDescription": "string",
                    "standardSetup": true,
                    "active": true,
                    "isAdjusted": true,
                    "invoiceFeeSetupId": 0
                }
            ],
            "invoicePayments": [
                {
                    "invoicePaymentId": 0,
                    "invoiceId": 0,
                    "checkNumber": "string",
                    "amount": 0,
                    "datePaid": "2019-08-24T14:15:22.123Z",
                    "active": true,
                    "comment": "string",
                    "typeOfPayment": "string",
                    "batchBillingId": 0,
                    "transactionNo": "string"
                }
            ],
            "invoiceCreditMemo": [
                {
                    "invoiceCreditMemoId": 0,
                    "invoiceId": 0,
                    "clientId": 0,
                    "creditMemoName": "string",
                    "type": "string",
                    "amount": 0,
                    "unappliedCash": 0,
                    "paidUnappliedCash": 0,
                    "balance": 0,
                    "creditMemoNo": 0
                }
            ],
            "invoiceAdjustmentApprover": [
                {
                    "invoiceAdjustmentApproverId": 0,
                    "companyId": 0,
                    "userId": 0,
                    "invoiceId": 0,
                    "active": true
                }
            ],
            "invoiceAdjustmentApproval": {
                "invoiceAdjustmentApprovalId": 0,
                "companyId": 0,
                "invoiceId": 0,
                "adjustmentApprovalStatusLv": 1,
                "actionTakenBy": 0,
                "actionTakenOn": "2019-08-24T14:15:22.123Z",
                "notes": "string",
                "active": true
            },
            "customInvoiceTemplate": {
                "customInvoiceTemplateId": 0,
                "templateName": "string",
                "templateDescription": "string",
                "showLeftLogo": true,
                "leftLogoTypeLv": 1,
                "showRightLogo": true,
                "rightLogoTypeLv": 1,
                "showAddress1": true,
                "address1TypeLv": 1,
                "showAddress2": true,
                "address2TypeLv": 1,
                "showCustomerDetails": true,
                "showExpensesDetails": true,
                "showTaxesDetails": true,
                "showCreditMemoDetails": true,
                "showNotes": true,
                "showLateFee": true,
                "showComments": true,
                "showPreviousInvoices": true,
                "companyId": 0,
                "isUsed": true,
                "isTemplateUsed": true,
                "invoiceViewTypeLv": 1,
                "active": true,
                "showEmpPayRate": true,
                "showDepSubTotals": true,
                "showEmpDept": true,
                "showEmpMarkupRate": true,
                "showSubTotalsByGroup": true,
                "address1TypeAddrLv": 1,
                "address2TypeAddrLv": 1,
                "showAddress3": true,
                "address3TypeLv": 1,
                "address3TypeAddrLv": 1,
                "displayCodeLabel": "string",
                "showPaycodeSubTotalsByGroup": true,
                "singleEmpRec": true,
                "payPeriodFormatLv": 1,
                "invoiceBillCodes": "string",
                "showPaymentDetails": true,
                "showCustomText": true,
                "customText": "string",
                "includeEmployeeId": true
            },
            "companyNetTermId": 0,
            "netTermName": "string",
            "days": 0,
            "displayCodeLabel": "string"
        },
        "payrollPeriod": "string",
        "client": {
            "clientId": 0,
            "clientName": "string",
            "clientCode": "string",
            "phone": "string",
            "phoneExtra": "string",
            "fax": "string",
            "website": "string",
            "addressId": 0,
            "mailingAddressId": 0,
            "billingAddressId": 0,
            "isMailingAddressSameAsPhysical": true,
            "isBillingAddressSameAsPhysical": true,
            "firstName": "string",
            "lastName": "string",
            "suffix": 1,
            "email": "string",
            "notes": "string",
            "isActive": true,
            "clientStatus": 1,
            "address": {
                "addressId": 0,
                "addressTypeLv": 1,
                "address1": "string",
                "address2": "string",
                "city": "string",
                "stateLv": 0,
                "zipCode": "string",
                "zipCodeFormatted": "string",
                "county": "string",
                "countryLv": 1,
                "active": true,
                "symmetryLocationCode": "string"
            },
            "mailingAddress": {
                "addressId": 0,
                "addressTypeLv": 1,
                "address1": "string",
                "address2": "string",
                "city": "string",
                "stateLv": 0,
                "zipCode": "string",
                "zipCodeFormatted": "string",
                "county": "string",
                "countryLv": 1,
                "active": true,
                "symmetryLocationCode": "string"
            },
            "billingAddress": {
                "addressId": 0,
                "addressTypeLv": 1,
                "address1": "string",
                "address2": "string",
                "city": "string",
                "stateLv": 0,
                "zipCode": "string",
                "zipCodeFormatted": "string",
                "county": "string",
                "countryLv": 1,
                "active": true,
                "symmetryLocationCode": "string"
            },
            "payrollGroupId": 0,
            "clientInvoiceSetup": {
                "clientInvoiceSetupId": 0,
                "invoiceSeparation": "string",
                "invoiceSeparationList": [
                    0
                ],
                "groupInvoiceTypeLv": "string",
                "groupInvoiceTypeList": [
                    0
                ],
                "maxInvoiceAmount": 0,
                "directHireJobOrder": 0,
                "acaFee": 0,
                "defaultClientNotes": "string",
                "emailList": "string",
                "active": true,
                "splitInvoice": true,
                "customInvoiceTemplateId": 0,
                "creditLimit": 0,
                "isCreditLimit": true,
                "creditLimitWarning": 0,
                "creditLimitEmailNoti": "string",
                "allowOrderCreation": true,
                "companyNetTermId": 0,
                "payCategoryTemplateId": 0,
                "payCategoryTemplate": {
                    "payCategoryTemplateId": 0,
                    "templateName": "string",
                    "companyId": 0,
                    "active": true,
                    "isUsed": true,
                    "payCategoryMapping": [
                        {
                            "payCategoryMappingId": 0,
                            "payCategoryId": 0,
                            "billCode": "string",
                            "includeInInvoice": true,
                            "payCategoryTemplateId": 0,
                            "active": true,
                            "sortOrder": 0
                        }
                    ]
                },
                "customInvoiceTemplate": {
                    "customInvoiceTemplateId": 0,
                    "templateName": "string",
                    "templateDescription": "string",
                    "showLeftLogo": true,
                    "leftLogoTypeLv": 1,
                    "showRightLogo": true,
                    "rightLogoTypeLv": 1,
                    "showAddress1": true,
                    "address1TypeLv": 1,
                    "showAddress2": true,
                    "address2TypeLv": 1,
                    "showCustomerDetails": true,
                    "showExpensesDetails": true,
                    "showTaxesDetails": true,
                    "showCreditMemoDetails": true,
                    "showNotes": true,
                    "showLateFee": true,
                    "showComments": true,
                    "showPreviousInvoices": true,
                    "companyId": 0,
                    "isUsed": true,
                    "isTemplateUsed": true,
                    "invoiceViewTypeLv": 1,
                    "active": true,
                    "showEmpPayRate": true,
                    "showDepSubTotals": true,
                    "showEmpDept": true,
                    "showEmpMarkupRate": true,
                    "showSubTotalsByGroup": true,
                    "address1TypeAddrLv": 1,
                    "address2TypeAddrLv": 1,
                    "showAddress3": true,
                    "address3TypeLv": 1,
                    "address3TypeAddrLv": 1,
                    "displayCodeLabel": "string",
                    "showPaycodeSubTotalsByGroup": true,
                    "singleEmpRec": true,
                    "payPeriodFormatLv": 1,
                    "invoiceBillCodes": "string",
                    "showPaymentDetails": true,
                    "showCustomText": true,
                    "customText": "string",
                    "includeEmployeeId": true
                },
                "clientInvoiceFeeSetup": [
                    {
                        "feeName": "string",
                        "invoiceFeeSetupId": 0,
                        "clientInvoiceSetupId": 0,
                        "feeSetupId": 0,
                        "feeTypeLv": 1,
                        "feeValue": 0,
                        "invoiceItemTypeLv": 1,
                        "feeEffectiveDate": "2019-08-24T14:15:22.123Z",
                        "active": true,
                        "isDefaultEntry": true,
                        "activeStatus": true,
                        "glfeeAccountTypeId": 0
                    }
                ],
                "clientInvoiceLateFeeSetup": [
                    {
                        "invoiceLateFeeSetupId": 0,
                        "clientInvoiceSetupId": 0,
                        "lateFeeTypeLv": 1,
                        "lateFeeValue": 0,
                        "lateFeeEffectiveDate": "2019-08-24T14:15:22.123Z",
                        "active": true,
                        "activeStatus": true
                    }
                ]
            },
            "isInvoiceSeperationDisabled": true,
            "levelType1Name": "string",
            "levelType1Desc": "string",
            "levelType1IsActive": true,
            "levelType2Name": "string",
            "levelType2Desc": "string",
            "levelType2IsActive": true,
            "levelType3Name": "string",
            "levelType3Desc": "string",
            "levelType3IsActive": true,
            "levelType4Name": "string",
            "levelType4Desc": "string",
            "levelType4IsActive": true,
            "companyId": 0,
            "homeBranchId": 0,
            "isAllBranchAccess": true,
            "branchIds": [
                0
            ],
            "isPayable": true,
            "isBillable": true,
            "clientLogoImageId": 0,
            "totalOpenInvoiceAmount": 0,
            "clientBranchAssign": [
                {
                    "clientBranchAsgmtId": 0,
                    "clientId": 0,
                    "branchId": 0,
                    "isHomeBranch": true,
                    "active": true,
                    "companyId": 0
                }
            ],
            "clientDepartments": [
                {
                    "clientDepartmentId": 0,
                    "clientId": 0,
                    "clientName": "string",
                    "deptName": "string",
                    "deptDispName": "string",
                    "jobCode": "string",
                    "payRate": 0,
                    "billRate": 0,
                    "parentDepartmentId": 0,
                    "deptCode": 0,
                    "deptTreeCode": "string",
                    "deptDepth": 0,
                    "activeStatus": true,
                    "active": true,
                    "extClientDepartmentId": 0,
                    "children": [
                        {}
                    ]
                }
            ],
            "clientLevels": [
                {
                    "clientLevelId": 0,
                    "clientId": 0,
                    "levelName": "string",
                    "levelDispName": "string",
                    "levelType": 0,
                    "isDefaultLevel": true,
                    "activeStatus": true,
                    "active": true,
                    "isChecked": true,
                    "extClientLevelId": 0
                }
            ],
            "clientShiftAsgmts": [
                {
                    "clientShiftAsgmtId": 0,
                    "tlmShiftId": 0,
                    "clientId": 0,
                    "shiftName": "string",
                    "active": true,
                    "activeStatus": true
                }
            ]
        },
        "invoiceCustomerInfo": [
            {
                "customerName": "string",
                "department": "string",
                "customerNo": "string",
                "paymentTerms": "string"
            }
        ],
        "clientLogo": "string",
        "customInvoiceTemplate": {
            "customInvoiceTemplateId": 0,
            "templateName": "string",
            "templateDescription": "string",
            "showLeftLogo": true,
            "leftLogoTypeLv": 1,
            "showRightLogo": true,
            "rightLogoTypeLv": 1,
            "showAddress1": true,
            "address1TypeLv": 1,
            "showAddress2": true,
            "address2TypeLv": 1,
            "showCustomerDetails": true,
            "showExpensesDetails": true,
            "showTaxesDetails": true,
            "showCreditMemoDetails": true,
            "showNotes": true,
            "showLateFee": true,
            "showComments": true,
            "showPreviousInvoices": true,
            "companyId": 0,
            "isUsed": true,
            "isTemplateUsed": true,
            "invoiceViewTypeLv": 1,
            "active": true,
            "showEmpPayRate": true,
            "showDepSubTotals": true,
            "showEmpDept": true,
            "showEmpMarkupRate": true,
            "showSubTotalsByGroup": true,
            "address1TypeAddrLv": 1,
            "address2TypeAddrLv": 1,
            "showAddress3": true,
            "address3TypeLv": 1,
            "address3TypeAddrLv": 1,
            "displayCodeLabel": "string",
            "showPaycodeSubTotalsByGroup": true,
            "singleEmpRec": true,
            "payPeriodFormatLv": 1,
            "invoiceBillCodes": "string",
            "showPaymentDetails": true,
            "showCustomText": true,
            "customText": "string",
            "includeEmployeeId": true
        }
    }