Skip to main content

Create a tax-line

POST 

/api/v8/partner/documents/:document_id/tax-lines

Create a tax-line

Request

Path Parameters

    document_id int64required

    The unique identifier of the document.

Body

    base object

    The base amount of the tax applied.

    anyOf

    number

    name object

    The name of the sales tax type.

    anyOf

    string

    rate object

    The tax rate (percentage) applied to the base amount. This value is computable.

    anyOf

    number

    total object

    The total amount of tax charged for this particular tax line item. If the document has multiple taxes on it those taxes will be returned in the list inside the taxes field. Note there are a couple of countries in the world that have 3 decimal places after the dot.

    anyOf

    number

    code object

    The tax identification code.

    anyOf

    string

    total_inclusive object

    The base rate + tax amount.

    anyOf

    number

    order integerrequired

    The arrangement of tax lines in relation to each other.

Responses

Loading...