PublicApiDraftDocument

מבנה נתונים · 45 שדות

PublicApiDraftDocument
שדהסוגהערות
id חובהId
businessId חובהId
type חובהDocumentType
variantDocumentVariant
titleVariant חובהPaymentDemandTitle | null
series חובהstring

עד 20 תווים

seriesPrefix חובהSeriesPrefix | null
language חובהDocumentLanguage
currency חובהCurrencyCode
foreign חובהForeignCurrency | null
pricesIncludeVat חובהboolean
documentDate חובהLocalDate
dueDate חובהLocalDate | null
valueDate חובהLocalDate | null
validUntilLocalDate | null
exitTime חובהLocalTime | null
customerId חובהId | null
subject חובהstring | null

עד 200 תווים

lines חובהDocumentLine[]

עד 400 פריטים

payments חובהPublicApiPayment[]

עד 100 פריטים

totals חובהDocumentTotals
vatBreakdown חובהVatBreakdownRow[]

עד 10 פריטים

creditReason חובהCreditReason | null
selfInvoicePublicApiSelfInvoiceDetails | null
depositDepositDetails | null
receiptDetailLinesReceiptDetailLine[]

עד 100 פריטים

refundCreditRefund | null
notes חובהstring | null

עד 2,000 תווים

internalNotes חובהstring | null

עד 2,000 תווים

references חובהDocumentReference[]

עד 50 פריטים

createdByUserId חובהId
createdAt חובהTimestamp
updatedAt חובהTimestamp
status חובה"draft"
openFormatCode חובהOpenFormatDocCode | null
number חובהnull
issuedAt חובהnull
customer חובהCustomerPreview | null
issueRequestedAt חובהTimestamp | null
isDemoboolean
issuesobject[]
issues[].path חובה(string | integer)[]

בין -9,007,199,254,740,991 ל-9,007,199,254,740,991

issues[].code חובהstring

עד 64 תווים

issues[].message חובהstring

עד 500 תווים

issues[].severity חובהstring

אחד מהערכים: "error", "warning"

חזרה לתיעוד למפתחים