PublicApiDocumentDraftInput
מבנה נתונים · 33 שדות
| שדה | סוג | הערות |
|---|---|---|
id | Id | |
type חובה | DocumentType | |
variant | DocumentVariant | ברירת מחדל: |
titleVariant | PaymentDemandTitle | |
language | DocumentLanguage | |
currency | CurrencyCode | ברירת מחדל: |
fx | object | |
fx.rate חובה | ExchangeRate | |
fx.rateDate חובה | LocalDate | |
fx.source חובה | FxSource | |
pricesIncludeVat | boolean | ברירת מחדל: |
documentDate | LocalDate | |
dueDate | LocalDate | |
valueDate | LocalDate | |
validUntil | LocalDate | |
exitTime | LocalTime | |
customerId | Id | |
oneOffCustomer | OneOffCustomerInput | |
subject | string | עד 200 תווים |
lines | DocumentLineInput[] | עד 400 פריטים ברירת מחדל: |
documentDiscount | MinorUnits | ברירת מחדל: |
payments | PaymentInput[] | עד 100 פריטים ברירת מחדל: |
withholding | MinorUnits | ברירת מחדל: |
nationalInsurance | MinorUnits | ברירת מחדל: |
creditReason | object | |
creditReason.code חובה | CreditReasonCode | |
creditReason.text חובה | string | עד 300 תווים |
refund | CreditRefundInput | |
deposit | DepositDetailsInput | |
receiptDetailLines | ReceiptDetailLineInput[] | עד 100 פריטים ברירת מחדל: |
notes | string | עד 2,000 תווים |
internalNotes | string | עד 2,000 תווים |
references | DocumentReferenceInput[] | עד 50 פריטים ברירת מחדל: |