Skip to main content
POST
Void Bill

Authorizations

Authorization
string
header
required

Token-based authentication with required prefix "Token"

Path Parameters

bill_id
integer
required

ID of the bill to void

Body

void_date
string<date>
required

Response

200 - application/json
id
integer
required
read-only
lines
object[]
required
payments
object[]
required
read-only
payment_journal_entries
integer[]
required
read-only
status
string
required
read-only
past_due_days
integer | null
required
read-only
entity_name
string
required
read-only
entity_currency
string
required
read-only
vendor_name
string
required
read-only
ap_account_name
string | null
required
read-only

Return AP account name with number in 'number - name' format, similar to name_and_number.

attachments
object[]
required
read-only
total_amount
number<double>
required
read-only
Required range: -1000000000000000000 < x < 1000000000000000000
amount_due
number<double>
required
read-only
amount_paid
number<double>
required
read-only
Required range: -1000000000000000000 < x < 1000000000000000000
voided_date
string<date>
required
read-only
voided_journal_entry_order
string
required
read-only
amortizations
string
required
read-only
last_modified_at
string<date-time>
required
read-only
ramp_use_sandbox
string
required
read-only
navan_region
string | null
required
read-only

Navan data region (US/EU) for a Navan-sourced bill, else None.

Mirrors ramp_use_sandbox: the frontend builds the "Open in Navan" deep link from source_id and uses this to pick the web-app host (US -> app.navan.com, EU -> app-fra.navan.com). Navan bills carry no FK to their connection, so the region is resolved per customer and memoized to avoid an N+1 lookup across a bill list.

zip_metadata
string
required
read-only
is_deleted
boolean
default:false
required
read-only
deleted_at
string<date-time> | null
required
read-only
payment_term_name
string
required
read-only
withholding_info
object | null
required
read-only

Withholding context for the bill's entity (AP side).

estimated_withholding_amount covers only the remaining amount due (null once fully paid); withheld_to_date is the signed sum of posted withholding (AP legs are credits, reversals debits), so actuals replace the estimate as payments post. Certificate-based schemes estimate from the vendor certificate's rate valid today (falling back to the scheme default).

search_vector
string | null
required
read-only
search_text
string | null
required
read-only
bill_number
string
required
Maximum string length: 120
bill_date
string<date>
required
due_date
string<date>
required
created_at
string<date-time>
required
read-only
customer
integer
required
read-only
entity
integer
required
vendor
integer | null
required
item_date
string<date> | null
mailing_address
string | null
terms
  • custom - Custom
  • net_5 - Net 5
  • net_7 - Net 7
  • net_10 - Net 10
  • net_15 - Net 15
  • net_20 - Net 20
  • net_30 - Net 30
  • net_40 - Net 40
  • net_45 - Net 45
  • net_60 - Net 60
  • net_90 - Net 90
  • net_105 - Net 105
  • net_120 - Net 120
  • due_on_receipt - Due on Receipt
Available options:
custom,
net_5,
net_7,
net_10,
net_15,
net_20,
net_30,
net_40,
net_45,
net_60,
net_90,
net_105,
net_120,
due_on_receipt
paid_date
string<date> | null
message_on_bill
string | null
ita_allocation_number
string | null
Maximum string length: 9
Pattern: ^\d{9}$
ita_bill_type

Israel tax compliance: bill classification type

  • other - Other
  • equipment - Equipment
Available options:
other,
equipment
source_id
string | null
source
string | null
Maximum string length: 250
source_bill_data
unknown
external_ramp_id
string | null
payment_status
  • partial - Partially Paid
  • open - Open
  • paid - Paid
  • payment_not_found - Payment Not Found
  • payment_pending - Payment Pending
  • voided - Voided
Available options:
partial,
open,
paid,
payment_not_found,
payment_pending,
voided
currency
string
Maximum string length: 3
exchange_rate
number<double> | null
Required range: -100000000000000 < x < 100000000000000
exchange_rate_book
number<double> | null
Required range: -100000000000000 < x < 100000000000000
tax_behavior
  • inclusive - Inclusive
  • exclusive - Exclusive
Available options:
inclusive,
exclusive
bill_type
enum<string>
  • BILL - Bill
  • PAYROLL - Payroll
  • REIMBURSEMENT - Reimbursement
Available options:
BILL,
PAYROLL,
REIMBURSEMENT
chat_id
integer | null
Required range: -2147483648 <= x <= 2147483647
payment_term
integer | null

Payment term for this bill

journal_entry
integer | null
source_file
integer | null
tax_rate
integer | null
ap_account
integer | null

Accounts Payable account for this bill

voided_journal_entry
integer | null