{
"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
}
}