DocumentState
- clientType: string
_ref required - documentType: string
_id required - Properties: 7linesType:required
- sourceType: stringFormat: date-time
_updated _at requiredThe version in effect.
- statusType: enumrequired
A summary of its lines, for list screens.
voidedwhen the document is voided,out_of_scopewhen every line is. Otherwise the least advanced of its other lines, in the orderreceived,unrouted,processed,locked.valuesreceivedunroutedprocessedlockedvoidedout_of_scope - updatedType: stringFormat: date-time
_at requiredWhen VAT IT last changed anything on the document or its lines.
- Properties: 4versionsType:required
- invoiceType: stringFormat: date
_date full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21
- invoiceType: string
_number - pendingType: string | nullFormat: date-time
_version The
source_updated_atof a newer version that arrived after filing and waits for a correction. - validityType: enum
The worst validity of its lines.
valuesvalidwarningerror