ApiResponseInvoiceDefaultsResponse
data object
acceptedPaymentMethodsstring[]required
Possible values: [CARD, ACH, CASH_CHECK]
allowPartialPaymentsbooleanrequired
depositPercentnumberrequired
dueDaysOffsetinteger<int32>required
footerNotesstring
industryTemplateKeystring
paymentSchedule object[]required
Array [
amountnumbernullable
dueDaysinteger<int32>nullable
dueTimingInvoiceDefaultDueTimingrequired
Possible values: [IMMEDIATE, DAYS_AFTER_ISSUE, INVOICE_DUE_DATE]
labelstringrequired
percentnumbernullable
]
tenantIdstring<uuid>required
termsOfServicestring
updatedAtstring<date-time>required
error object
codestring
correlationIdstringnullable
detailstring
details objectnullable
anyOf
- ScheduleErrorDetails
- GatewayErrorDetails
currentVersionstringnullable
datesstring<date>[]required
occurrenceRefsstring[]required
requestIdsstring<uuid>[]required
totalinteger<int32>required
truncatedbooleanrequired
fieldErrors objectnullable
property name*stringnullable
gatewayErrorCodestringnullable
messagestring
retryableboolean
meta object
limitinteger<int32>
nextCursorstring
pageinteger<int32>
scheduleVersionstringnullable
totalinteger<int64>
totalPagesinteger<int32>
successbooleanrequired
ApiResponseInvoiceDefaultsResponse
{
"data": {
"acceptedPaymentMethods": [
"CARD"
],
"allowPartialPayments": true,
"depositPercent": 0,
"dueDaysOffset": 0,
"footerNotes": "string",
"industryTemplateKey": "string",
"paymentSchedule": [
{
"amount": 0,
"dueDays": 0,
"dueTiming": "IMMEDIATE",
"label": "string",
"percent": 0
}
],
"tenantId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"termsOfService": "string",
"updatedAt": "2024-07-29T15:51:28.071Z"
},
"error": {
"code": "string",
"correlationId": "string",
"detail": "string",
"details": {
"currentVersion": "string",
"dates": [
"2024-07-29"
],
"occurrenceRefs": [
"string"
],
"requestIds": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
],
"total": 0,
"truncated": true
},
"fieldErrors": {},
"gatewayErrorCode": "string",
"message": "string",
"retryable": true
},
"meta": {
"limit": 0,
"nextCursor": "string",
"page": 0,
"scheduleVersion": "string",
"total": 0,
"totalPages": 0
},
"success": true
}