Background supergraphic

Berita Acara Serah Terima Kendaraan (BSTK)

Berita Acara Serah Terima Kendaraan (BSTK) is a vehicle handover document that records the condition and details of a vehicle during transfer of ownership.

BSTK Object

  • Name
    status
    Type
    string
    Description

    Enum code indicating the status of the reading result.

    1. SUCCESS
    2. NO_FILE
    3. FILE_INVALID_FORMAT
    4. FAILED
  • Name
    reason
    Type
    string
    Description

    A human-readable message providing more details about the reading result.

  • Name
    read
    Type
    object
    Description

    Contains the reading for the BSTK document. Each field has confidence (in percentage) and value (the reading).

    • Name
      dealer_name
      Type
      object
      Description

      Name of the dealer or company handling the vehicle handover.

    • Name
      spk_dealer_number
      Type
      object
      Description

      Dealer's SPK (Surat Perintah Kerja) number.

    • Name
      creditor_representative_name
      Type
      object
      Description

      Name of the creditor's representative present during handover.

    • Name
      document_number
      Type
      object
      Description

      Unique identifier for the BSTK document.

    • Name
      document_type
      Type
      object
      Description

      Type of document (e.g., "BASTK").

    • Name
      handover_notes
      Type
      object
      Description

      Additional notes or remarks during the handover process.

    • Name
      handover_signature_date
      Type
      object
      Description

      Date when the handover was signed (YYYY-MM-DD format).

    • Name
      office_branch
      Type
      object
      Description

      Branch office location where the handover took place.

    • Name
      office_name
      Type
      object
      Description

      Name of the office handling the handover.

    • Name
      pool_representative_name
      Type
      object
      Description

      Name of the pool representative present during handover.

    • Name
      vehicle_ac_condition
      Type
      object
      Description

      Condition of the vehicle's air conditioning system.

    • Name
      vehicle_audio_system_condition
      Type
      object
      Description

      Condition of the vehicle's audio system.

    • Name
      vehicle_body_condition
      Type
      object
      Description

      Overall condition of the vehicle's body.

    • Name
      vehicle_brand
      Type
      object
      Description

      Brand/manufacturer of the vehicle.

    • Name
      vehicle_chassis_number
      Type
      object
      Description

      Vehicle's chassis number.

    • Name
      vehicle_color
      Type
      object
      Description

      Color of the vehicle.

    • Name
      vehicle_engine_number
      Type
      object
      Description

      Vehicle's engine number.

    • Name
      vehicle_handover_date
      Type
      object
      Description

      Date of vehicle handover (YYYY-MM-DD format).

    • Name
      vehicle_handover_time
      Type
      object
      Description

      Time of vehicle handover (HH:MM format).

    • Name
      vehicle_headlights_condition
      Type
      object
      Description

      Condition of the vehicle's headlights.

    • Name
      vehicle_inspection_document_available
      Type
      object
      Description

      Whether the vehicle inspection document is available.

    • Name
      vehicle_inspection_valid_until
      Type
      object
      Description

      Validity date of the vehicle inspection document (YYYY-MM-DD format).

    • Name
      vehicle_license_number
      Type
      object
      Description

      Vehicle's license plate number.

    • Name
      vehicle_manual_book
      Type
      object
      Description

      Whether the vehicle's manual book is available.

    • Name
      vehicle_manufacturing_year
      Type
      object
      Description

      Year the vehicle was manufactured.

    • Name
      vehicle_mileage
      Type
      object
      Description

      Current mileage of the vehicle.

    • Name
      vehicle_mirrors_condition
      Type
      object
      Description

      Condition of the vehicle's mirrors.

    • Name
      vehicle_model
      Type
      object
      Description

      Model of the vehicle.

    • Name
      vehicle_ownership_document
      Type
      object
      Description

      Type of vehicle ownership document (e.g., "BPKB").

    • Name
      vehicle_power_window_condition
      Type
      object
      Description

      Condition of the vehicle's power windows.

    • Name
      vehicle_price
      Type
      object
      Description

      Price of the vehicle.

    • Name
      vehicle_rearlights_condition
      Type
      object
      Description

      Condition of the vehicle's rear lights.

    • Name
      vehicle_registration_document
      Type
      object
      Description

      Type of vehicle registration document (e.g., "STNK").

    • Name
      vehicle_seats_condition
      Type
      object
      Description

      Condition of the vehicle's seats.

    • Name
      vehicle_type
      Type
      object
      Description

      Type of vehicle (e.g., "Sedan", "SUV").


POST/ocr/v1/bstk

Read BSTK

Detects a valid BSTK image and returns the information as text.

Required parameter

  • Name
    image
    Type
    file (.png, .jpg, .jpeg, .tiff, .pdf)
    Description

    The image file for the BSTK document.

Sample Request

POST
/ocr/v1/bstk
1
2
3
4
5
import { Vision } from '@glair/vision'; const vision = new Vision({ apiKey: 'api-key', username: 'username', password: 'password' }); await vision.ocr.bstk({ image: '/path/to/image/BSTK.jpg' });

Sample Response

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
{ "status": "SUCCESS", "reason": "File Successfully Read", "read": { "document_type": { "value": "BASTK", "confidence": 0.9 }, "document_number": { "value": "DOC-123456", "confidence": 0.9 }, "office_name": { "value": "PT PACIFIC ATLANTIC SHIPYARD", "confidence": 0.9 }, "office_branch": { "value": "SEKUPANG BATAM", "confidence": 0.9 }, "vehicle_handover_date": { "value": "2023-04-28", "confidence": 0.9 }, "vehicle_handover_time": { "value": "12:20", "confidence": 0.9 }, "vehicle_brand": { "value": "TOYOTA", "confidence": 0.9 }, "vehicle_model": { "value": "FORTUNER 2.8 VRZ 4x2 AT GR Diesel (E4)", "confidence": 0.9 }, "vehicle_license_number": { "value": "B 1234 XYZ", "confidence": 0.9 }, "vehicle_chassis_number": { "value": "MHFAA8GS2P0796725", "confidence": 0.9 }, "vehicle_engine_number": { "value": "1GD 5347922", "confidence": 0.9 }, "vehicle_color": { "value": "abu-abu metalik", "confidence": 0.9 }, "vehicle_mileage": { "value": "10,000 km", "confidence": 0.9 }, "vehicle_headlights_condition": { "value": "Good", "confidence": 0.9 }, "vehicle_rearlights_condition": { "value": "Good", "confidence": 0.9 }, "vehicle_mirrors_condition": { "value": "Good", "confidence": 0.9 }, "vehicle_body_condition": { "value": "Good", "confidence": 0.9 }, "vehicle_ac_condition": { "value": "Working", "confidence": 0.9 }, "vehicle_audio_system_condition": { "value": "Working", "confidence": 0.9 }, "vehicle_power_window_condition": { "value": "Good", "confidence": 0.9 }, "vehicle_seats_condition": { "value": "Excellent", "confidence": 0.9 }, "vehicle_registration_document": { "value": "STNK", "confidence": 0.9 }, "vehicle_ownership_document": { "value": "BPKB", "confidence": 0.9 }, "vehicle_manual_book": { "value": "Available", "confidence": 0.9 }, "vehicle_inspection_document_available": { "value": "Yes", "confidence": 0.9 }, "vehicle_inspection_valid_until": { "value": "2024-04-27", "confidence": 0.9 }, "handover_notes": { "value": "Keys and papers received in good order.", "confidence": 0.9 }, "creditor_representative_name": { "value": "John Doe", "confidence": 0.9 }, "pool_representative_name": { "value": "Jane Smith", "confidence": 0.9 }, "handover_signature_date": { "value": "2023-04-28", "confidence": 0.9 }, "vehicle_price": { "value": "300000000", "confidence": 0.9 }, "vehicle_manufacturing_year": { "value": "2023", "confidence": 0.9 }, "vehicle_type": { "value": "SUV", "confidence": 0.9 } } }