Skip to main content

Submit to Tax Authority

POST 

/v2/ob/invoices/:id/submit-tax-authority

Send invoice to Tax Authority

Request

Path Parameters

    id uuidrequired

    Possible values: Value must match regular expression [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}

    Invoice Id

Body

    recipients string[]

    Email of invoice recipients

    need_to_send_mail booleanrequired

    Default value: true

    Need to send mail for buyer

    submit_to_tax booleanrequired

    Default value: true

    Automation submit to tax after create invoice

Responses

OK

Schema

    authority_status AuthorityStatus (string)

    Possible values: [NOT_SUBMITTED, SUBMITTED, SUCCESS, ERROR, ACCEPTED, REJECTED, CANCELED]

    id uuid

    Possible values: Value must match regular expression [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}

    Unique identifier for the invoice

    consumer

    object

    Information about the consumer related to the invoice

    code string

    Possible values: <= 255 characters

    Customer code

    name string

    Possible values: <= 255 characters

    Customer name

    tax_code string

    Possible values: <= 14 characters

    Customer tax code

    address string

    Possible values: <= 255 characters

    Customer address

    citizen_identification string

    Possible values: <= 12 characters

    Customer citizen identification card

    phone string

    Possible values: <= 20 characters

    Customer phone number

    buyer_name string

    Possible values: <= 255 characters

    Buyer's name

    bank_account string

    Possible values: <= 255 characters

    Buyer's bank account information

    code string

    Unique code for identifying the invoice, used to look up invoices

    created_date date-time

    The date when the invoice was created

    serial_number string

    The serial number of the invoice

    date_of_issue date-time

    The date when the invoice was issued

    invoice_lines

    object[]

    List of individual items or services included in the invoice

  • Array [

  • code string

    Possible values: <= 255 characters

    Product code

    name stringrequired

    Possible values: <= 500 characters

    Product name

    unit stringrequired

    Possible values: <= 255 characters

    Unit of Product

    price numberrequired

    Product price

    quantity numberrequired

    Number of products purchased

    tax_amount number

    Total tax payable

    vat_rate VatRate (string)

    Possible values: [UNDECLARED, NONE, ZERO, FIVE, EIGHT, TEN]

    amount number

    Amount = (price * quantity) - discount_amount

    discount_amount number

    Discount money

    promoted boolean

    Is promotional item

  • ]

  • invoice_amount

    object

    The total amount for the invoice

    amount_by_vat

    object

    Total amount grouped by VAT

    property name* number

    tax_amount_by_vat

    object

    Tax amount grouped by VAT

    property name* number
    vat_amount number

    Total tax amount

    subtotal number

    Total amount before tax

    total number

    Total amount

    updated_date date-time

    The last date when the invoice was updated

    has_tax_authorities boolean

    Indicate whether the invoice has a code or not

    tax_code_issued string

    Tax authority code

    full_symbol string

    The full symbol representing the invoice

    payment_method PaymentMethod (string)

    Possible values: [CASH, BANK_TRANSFER, UNKNOWN]

Loading...