Name | Type | Description | Notes |
---|---|---|---|
id | Integer | [optional] | |
version | Integer | [optional] | |
changes | Array<Change> | [optional] | |
url | String | [optional] | |
date | String | ||
number | Integer | System generated number that cannot be changed. | [optional] |
temp_number | Integer | Temporary voucher number. | [optional] |
year | Integer | System generated number that cannot be changed. | [optional] |
description | String | ||
voucher_type | VoucherType | Voucher type. Must not be of type 'Utgående faktura' ('Outgoing Invoice') on new vouchers, instead use voucherType=null or use the Invoice endpoint. | [optional] |
reverse_voucher | Voucher | [optional] | |
postings | Array<Posting> | ||
document | Document | If the documentation for the voucher has been generated by the system (e.g. an invoice) then this is a reference to the generated document. This document is always a PDF. Note that a voucher may have both a document, an attachment and an ediDocument. | [optional] |
attachment | Document | If the documentation for the voucher has been provided from an external source (e.g. another system via API or a user upload) then this is a reference to the document. This is always a PDF. Note that a voucher may have both a document, an attachment and an ediDocument. | [optional] |
external_voucher_number | String | External voucher number. | [optional] |
edi_document | Document | If the voucher is created based on a machine readable document (such as EHF or EFO/NELFO) then this is a reference to that document. Note that a voucher may have both a document, an attachment and an ediDocument. | [optional] |