Skip to main content
GET
/
v1
/
public
/
bills
/
{bill_id}
Get Bill
curl --request GET \
  --url https://api.sanka.com/v1/public/bills/{bill_id} \
  --header 'Authorization: Bearer <token>'
{
  "created_at": "2023-11-07T05:31:56Z",
  "id_bill": 123,
  "contact_name": "<string>",
  "company_name": "<string>",
  "issued_date": "2023-12-25",
  "due_date": "2023-12-25",
  "payment_date": "2023-12-25",
  "status": "<string>",
  "currency": "<string>",
  "amount": 123,
  "amount_without_tax": 123,
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

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

Headers

Accept-Language
string | null

Path Parameters

bill_id
string
required

Query Parameters

external_id
string | null
lang
string | null
language
string | null

Response

OK

created_at
string<date-time>
required
id_bill
integer | null
contact_name
string | null
company_name
string | null
issued_date
string<date> | null
due_date
string<date> | null
payment_date
string<date> | null
status
string | null
currency
string | null
amount
number | null
amount_without_tax
number | null
updated_at
string<date-time> | null