ArchivedDocument

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

ArchivedDocument
שדהסוגהערות
id חובהId
importId חובהId
openFormatCode חובהOpenFormatDocCode
number חובהstring

עד 20 תווים

documentDate חובהLocalDate
customerName חובהstring

עד 120 תווים

customerVatNumber חובהstring | null

תבנית: ^\d{1,9}$

gross חובהSignedAgorot
cancelled חובהboolean
sourceSoftwareName חובהstring | null

עד 80 תווים

marking חובה"imported"
issuedAt חובהTimestamp | null
totals חובהobject
totals.beforeDiscount חובהSignedAgorot
totals.discount חובהSignedAgorot
totals.net חובהSignedAgorot
totals.vat חובהSignedAgorot
totals.gross חובהSignedAgorot
totals.withholding חובהSignedAgorot
lines חובהobject[]

עד 2,000 פריטים

lines[].lineNo חובהinteger

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

lines[].description חובהstring

עד 500 תווים

lines[].quantity חובהstring

תבנית: ^-?\d{1,12}(?:\.\d{1,4})?$

lines[].unitPrice חובהSignedAgorot
lines[].netTotal חובהSignedAgorot
lines[].vatRateBp חובהinteger

בין 0 ל-10,000

lines[].baseDocument חובהobject | null
lines[].baseDocument.openFormatCode חובהOpenFormatDocCode
lines[].baseDocument.number חובהstring

עד 20 תווים

payments חובהobject[]

עד 200 פריטים

payments[].lineNo חובהinteger

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

payments[].method חובהPaymentMethod | null
payments[].methodCode חובהinteger

בין 0 ל-9

payments[].amount חובהSignedAgorot
payments[].dueDate חובהLocalDate | null
originalFiles חובהStoredFile[]

עד 20 פריטים

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