Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

Fuzzy match & Pre-translation

pretrans

Indicates if the line refers to a pre-translation . The possible options or fuzzy match or repetition. Options are:

  • Default - null : No pre-translation. Use as a default.Pretranslated- Regular pre-

  • Default - Fuzzy match without translation. See field pretransBoundary for the match %.

  • Pretranslated- Identical pre-translation.

  • 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-translationsUsed with Default and indicates the fuzzy match or repetition %.

  • 100 : For MT and identical pre-translations. Used with Pretranslated, PretranslatedPrev, PretranslatedMT

  • 110 : For perfect (in-context) pre-translations. Used with PretranslatedCtx, PretranslatedPrevCtx

  • 0 : No pre-translation

serviceUnit

serviceUnitCount

serviceUnitAmount

count

countIgnore

reduction

  • Default if none.

int

Unit price

serviceUnit

Optional. The unit that is costed. Such as “WD” (words) or “CH” (characters). See also: Price units. Null if the invoice lines does not state a unit price.

string?

serviceUnitCount

Optional. Number of units included in the unit price. 0 if not specified.

int

serviceUnitAmount

Optional. Unit price that is the price of serviceUnitCount units of type serviceUnit. For example: 1 EUR for 10 characters.

decimal?

count

Total count. Optional, can be null if the line does not state any counts.

int?

countIgnore

Boolean. True if count is null.

bool

reduction

Applicable reduction in %. Must be between 0 and 100. The reduction is applied to the base total in amountBase. This then gives the amount.

int

feeMode

feePercent

amount

Total amount after reductions. See reduction and feeMode / feePercent. Null if not specified.

decimal?

amountBase

Total amount before reductions. Null if not specified.

decimal?

EXAMPLES

Example payload:

Code Block
{
    "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
}

...