ArchivedDocument
מבנה נתונים · 36 שדות
| שדה | סוג | הערות |
|---|---|---|
id חובה | Id | |
importId חובה | Id | |
openFormatCode חובה | OpenFormatDocCode | |
number חובה | string | עד 20 תווים |
documentDate חובה | LocalDate | |
customerName חובה | string | עד 120 תווים |
customerVatNumber חובה | string | null | תבנית: |
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 | תבנית: |
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 פריטים |