PublicApiIssuedDocument
מבנה נתונים · 53 שדות
| שדה | סוג | הערות |
|---|---|---|
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 | |
status חובה | "issued" | |
openFormatCode חובה | OpenFormatDocCode | null | |
number חובה | DocumentNumber | |
issuedAt חובה | Timestamp | |
issuedByUserId חובה | Id | |
issuedByUserCode חובה | UserCode | |
issuedByName חובה | string | עד 120 תווים |
issuedVia | IssuedVia | |
recurringScheduleId | Id | null | |
business חובה | PublicApiBusinessSnapshot | |
customer חובה | CustomerSnapshot | |
original חובה | OriginalState | |
quoteAcceptance חובה | QuoteAcceptance | null | |
creditAcknowledgement חובה | CreditAcknowledgement | null | |
badDebtNotice | BadDebtNotice | null | |
printedNotices | PrintedNotice[] | עד 20 פריטים |
contentHash חובה | Sha256Hex | |
isDemo חובה | boolean | |
allocation חובה | PublicApiAllocation | |
allocationApproval | PublicApiAllocationApproval | null | |
cancellation חובה | PublicApiDocumentCancellation | null |