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