ApiResponseAccountEstimateResponse
data object
allowPartialPaymentsboolean
Default value:
falseconvertedInvoiceIdstring<uuid>nullable
convertedInvoiceNumberstringnullable
createdAtstring<date-time>required
currencystringrequired
customer objectrequired
addressstringnullable
emailstringnullable
namestringrequired
phonestringnullable
taxIdstringnullable
customerIdstring<uuid>required
deliveries object[]
Array [
actionIdstring<uuid>required
attemptCountinteger<int64>required
channelstringrequired
failureReasonstringnullable
idstring<uuid>required
statusstringrequired
updatedAtstring<date-time>required
]
deliveryFee objectrequired
amountnumberrequired
currencystringrequired
isNegativebooleanrequired
isZerobooleanrequired
discountTotal objectrequired
amountnumberrequired
currencystringrequired
isNegativebooleanrequired
isZerobooleanrequired
estimateNumberstringnullable
expiresOnstring<date>nullable
firstViewedAtstring<date-time>nullable
footerNotesstringnullable
idstring<uuid>required
invoiceDiscount objectrequired
amountnumberrequired
percentnumberrequired
typestringrequired
issueDatestring<date>nullable
lines object[]required
Array [
billingCodeIdstring<uuid>nullable
categoryIdstring<uuid>nullable
descriptionstringrequired
discountAmount objectrequired
amountnumberrequired
currencystringrequired
isNegativebooleanrequired
isZerobooleanrequired
displayDiscountAmount objectrequired
amountnumberrequired
currencystringrequired
isNegativebooleanrequired
isZerobooleanrequired
displayLineTotal objectrequired
amountnumberrequired
currencystringrequired
isNegativebooleanrequired
isZerobooleanrequired
idstring<uuid>required
inventoryItemIdstring<uuid>nullable
itemCodestringnullable
lineSubtotal objectrequired
amountnumberrequired
currencystringrequired
isNegativebooleanrequired
isZerobooleanrequired
lineTotal objectrequired
amountnumberrequired
currencystringrequired
isNegativebooleanrequired
isZerobooleanrequired
positioninteger<int32>required
quantitynumberrequired
serialNumberstringnullable
skustringnullable
taxAmount objectrequired
amountnumberrequired
currencystringrequired
isNegativebooleanrequired
isZerobooleanrequired
taxCategorystringnullable
taxExemptbooleanrequired
taxExemptionIdstring<uuid>nullable
taxExemptionReasonstringnullable
taxRatenumberrequired
unitOfMeasurestringnullable
unitPrice objectrequired
amountnumberrequired
currencystringrequired
isNegativebooleanrequired
isZerobooleanrequired
]
notesstringnullable
paymentSchedule object[]
Array [
amountnumber
dueDatestring<date>
dueTimingstring
idstring<uuid>
labelstringrequired
Possible values: non-empty
netDaysinteger<int32>
percentnumber
remainingbooleanrequired
]
sentAtstring<date-time>nullable
statusstringrequired
store objectnullable
addressstringnullable
namestringrequired
storeIdstring<uuid>nullable
subtotal objectrequired
amountnumberrequired
currencystringrequired
isNegativebooleanrequired
isZerobooleanrequired
taxTotal objectrequired
amountnumberrequired
currencystringrequired
isNegativebooleanrequired
isZerobooleanrequired
termsOfServicestringnullable
total objectrequired
amountnumberrequired
currencystringrequired
isNegativebooleanrequired
isZerobooleanrequired
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
ApiResponseAccountEstimateResponse
{
"data": {
"allowPartialPayments": false,
"convertedInvoiceId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"convertedInvoiceNumber": "string",
"createdAt": "2024-07-29T15:51:28.071Z",
"currency": "string",
"customer": {
"address": "string",
"email": "string",
"name": "string",
"phone": "string",
"taxId": "string"
},
"customerId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"deliveries": [
{
"actionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"attemptCount": 0,
"channel": "string",
"failureReason": "string",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"status": "string",
"updatedAt": "2024-07-29T15:51:28.071Z"
}
],
"deliveryFee": {
"amount": 0,
"currency": "string",
"isNegative": true,
"isZero": true
},
"discountTotal": {
"amount": 0,
"currency": "string",
"isNegative": true,
"isZero": true
},
"estimateNumber": "string",
"expiresOn": "2024-07-29",
"firstViewedAt": "2024-07-29T15:51:28.071Z",
"footerNotes": "string",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"invoiceDiscount": {
"amount": 0,
"percent": 0,
"type": "string"
},
"issueDate": "2024-07-29",
"lines": [
{
"billingCodeId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"categoryId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"description": "string",
"discountAmount": {
"amount": 0,
"currency": "string",
"isNegative": true,
"isZero": true
},
"displayDiscountAmount": {
"amount": 0,
"currency": "string",
"isNegative": true,
"isZero": true
},
"displayLineTotal": {
"amount": 0,
"currency": "string",
"isNegative": true,
"isZero": true
},
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"inventoryItemId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"itemCode": "string",
"lineSubtotal": {
"amount": 0,
"currency": "string",
"isNegative": true,
"isZero": true
},
"lineTotal": {
"amount": 0,
"currency": "string",
"isNegative": true,
"isZero": true
},
"position": 0,
"quantity": 0,
"serialNumber": "string",
"sku": "string",
"taxAmount": {
"amount": 0,
"currency": "string",
"isNegative": true,
"isZero": true
},
"taxCategory": "string",
"taxExempt": true,
"taxExemptionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"taxExemptionReason": "string",
"taxRate": 0,
"unitOfMeasure": "string",
"unitPrice": {
"amount": 0,
"currency": "string",
"isNegative": true,
"isZero": true
}
}
],
"notes": "string",
"paymentSchedule": [
{
"amount": 0,
"dueDate": "2024-07-29",
"dueTiming": "string",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"label": "string",
"netDays": 0,
"percent": 0,
"remaining": true
}
],
"sentAt": "2024-07-29T15:51:28.071Z",
"status": "string",
"store": {
"address": "string",
"name": "string"
},
"storeId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"subtotal": {
"amount": 0,
"currency": "string",
"isNegative": true,
"isZero": true
},
"taxTotal": {
"amount": 0,
"currency": "string",
"isNegative": true,
"isZero": true
},
"termsOfService": "string",
"total": {
"amount": 0,
"currency": "string",
"isNegative": true,
"isZero": true
},
"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
}