Skip to content

Latest commit

 

History

History
133 lines (72 loc) · 2.23 KB

draftrequest.md

File metadata and controls

133 lines (72 loc) · 2.23 KB

fikenDraftRequest

Interface: DraftRequest

export

interface DraftRequest

Hierarchy

  • DraftRequest

Index

Properties

Properties

cash

cash: boolean

If a cash sale/purchase (true) or otherwise (false)

memberof DraftRequest


Optional contactId

contactId? : number

Contact Id

memberof DraftRequest


Optional currency

currency? : string

ISO 4217 currency code

memberof DraftRequest


Optional dueDate

dueDate? : Date

Due date of draft, format yyyy-mm-dd

memberof DraftRequest


Optional invoiceIssueDate

invoiceIssueDate? : Date

Issue date of the draft, format yyyy-mm-dd

memberof DraftRequest


Optional invoiceNumber

invoiceNumber? : string

If invoice associated with draft, this is the invoice number (not to be confused with the invoiceId of an invoice issued from Fiken)

memberof DraftRequest


Optional kid

kid? : string

Norwegian KID number. Number from 2 to 25 digits long.

memberof DraftRequest


lines

lines: Array‹DraftLineRequest

memberof DraftRequest


Optional paid

paid? : boolean

Whether the sale/purchase has been paid (true) or not (false)

memberof DraftRequest


Optional payments

payments? : Array‹Payment

memberof DraftRequest


Optional projectId

projectId? : number

Project ID if only 1 project associated with entire draft. It is also possible to specify the project on individual draft lines

memberof DraftRequest