Skip to main content
PUT
/
payables
/
validations
Update payables validations
curl --request PUT \
  --url https://api.sandbox.monite.com/v1/payables/validations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'x-monite-version: <x-monite-version>' \
  --data '
{
  "required_fields": [
    "currency"
  ]
}
'
{
  "required_fields": [
    "currency"
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-monite-version
string<date>
required

Body

application/json
required_fields
enum<string>[]
required
Available options:
currency,
document_id,
due_date,
issued_at,
tax_amount,
total_amount,
subtotal,
description,
suggested_payment_term,
payment_terms,
tax,
sender,
file_id,
counterpart_id,
counterpart_bank_account_id,
counterpart_address_id,
counterpart_vat_id_id,
line_items,
line_items.quantity,
line_items.unit_price,
line_items.tax,
line_items.ledger_account_id,
line_items.accounting_tax_rate_id,
line_items.unit,
line_items.name,
line_items.description,
line_items.subtotal,
line_items.total,
line_items.tax_amount

Response

Successful Response

required_fields
enum<string>[]
required
Available options:
currency,
document_id,
due_date,
issued_at,
tax_amount,
total_amount,
subtotal,
description,
suggested_payment_term,
payment_terms,
tax,
sender,
file_id,
counterpart_id,
counterpart_bank_account_id,
counterpart_address_id,
counterpart_vat_id_id,
line_items,
line_items.quantity,
line_items.unit_price,
line_items.tax,
line_items.ledger_account_id,
line_items.accounting_tax_rate_id,
line_items.unit,
line_items.name,
line_items.description,
line_items.subtotal,
line_items.total,
line_items.tax_amount