Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Represents a details line in an invoice or quotation.

Contained as a collection in Invoice Document Record

idx

A sequential number for the lines, starting at 1.

int

desc

The line description, a free text. Optional.

string?

src

Optional. The source language code of the service. To discover all languages see settings/languages

string?

trg

Optional. The target language code of the service. To discover all languages see settings/languages

string?

task

Optional. The service task code such as TR for translation or RV for revision. To discover all task types, see settings/tasks/codes

string?

code

Total amount including VAT. Equals totalExVat + totalVat.

decimal

pretrans

Indicates if the line refers to a pre-translation. The possible options are:

  • Default - No pre translation. Use as a default.

  • Pretranslated- Regular pre-translation. See pretransBoundary for the match %.

  • PretranslatedCtx- 110% pre-translation.

  • PretranslatedPrevCtx- 110% pre-translation from previous document version.

  • PretranslatedPrev- Regular pre-translation from the previous document version. See pretransBoundary for the match %.

  • PretranslatedMT- Machine translation.

string

pretransBoundary

If pretrans is other than Default, it indicates the match %:

  • <100 : For fuzzy pre-translations

  • 100 : For MT and identical pre-translations

  • 110 : For perfect (in-context) pre-translations

  • 0 : No pre-translation

serviceUnit

serviceUnitCount

serviceUnitAmount

count

countIgnore

reduction

feeMode

feePercent

amount

amountBase

EXAMPLES

Example payload:

{
    "desc": "One word.txt 1 updated",
    "src": "en-GB",
    "trg": "ca",
    "task": "TR",
      "serviceUnit": "WD",
    "serviceUnitCount": 1,
    "serviceUnitAmount": 1.1,
    "count": 20,
    "amount": 50,
    "amountBase": 50
}

  • No labels