PublicApiDraftDocument
מבנה נתונים · 45 שדות
| שדה | סוג | הערות |
|---|---|---|
id חובה | Id | |
businessId חובה | Id | |
type חובה | DocumentType | |
variant | DocumentVariant | |
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 | |
validUntil | LocalDate | 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 | |
selfInvoice | PublicApiSelfInvoiceDetails | null | |
deposit | DepositDetails | null | |
receiptDetailLines | ReceiptDetailLine[] | עד 100 פריטים |
refund | CreditRefund | 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 | |
isDemo | boolean | |
issues | object[] | |
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 | אחד מהערכים: |