Perbaikan LACK-11
Last updated
Last updated
Purpose: API ini digunakan untuk perbaikan data LACK-11
Overview: Proses perbaikan LACK-11 mensyaratkan 2 object data dalam bentuk form yaitu Header dan Detail
POST
{API_URL}/portal/lack11/perbaikan
Name | Type | Description |
---|---|---|
Endpoint ini menerima parameter berikut dalam form data:
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"title": "Schema Perbaikan LACK-11",
"properties": {
"idLack11Header": {
"type": "string",
"format": "uuid",
"description": "ID LACK-11 Header."
},
"periodeEdit": {
"type": "string",
"enum": ["1", "2", "3", "4"],
"description": "Periode laporan dalam kuartal (1, 2, 3, atau 4)."
},
"kodeKantor": {
"type": "string",
"description": "Kode kantor dengan 6 digit angka."
},
"namaPerusahaan": {
"type": "string",
"description": "Nama perusahaan."
},
"namaPengusahaEdit": {
"type": "string",
"description": "Nama pengusaha yang diperbaiki."
},
"noIdentitasEdit": {
"type": "string",
"description": "Nomor identitas pengusaha dengan 22 digit angka."
},
"tanggalLaporanEdit": {
"type": "string",
"format": "date",
"description": "Tanggal laporan yang diperbaiki dalam format YYYY-MM-DD."
},
"alasanPerbaikan": {
"type": "string",
"description": "Alasan perbaikan data."
},
"dokumenDasarPerbaikan": {
"type": "string",
"format": "binary",
"description": "Dokumen dasar perbaikan."
},
"details": {
"type": "array",
"description": "Detail dari laporan yang diperbaiki.",
"items": {
"type": "object",
"properties": {
"namaMerkEdit": {
"type": "string",
"description": "Nama merk produk yang diperbaiki."
},
"isiEdit": {
"type": "string",
"description": "Isi produk yang diperbaiki (volume atau berat)."
},
"hjeEdit": {
"type": "string",
"description": "Harga jual eceran yang diperbaiki."
},
"tarifSpesifikEdit": {
"type": "number",
"description": "Tarif spesifik untuk produk yang diperbaiki."
},
"kadarEaEdit": {
"type": "string",
"description": "Kadar alkohol dalam produk yang diperbaiki."
},
"seriPitaEdit": {
"type": "string",
"description": "Seri pita cukai yang diperbaiki."
},
"jenisProduksiBkcEdit": {
"type": "string",
"description": "Jenis produksi BKC yang diperbaiki."
},
"idLack11Detail": {
"type": "string",
"format": "uuid",
"description": "ID LACK-11 Detail."
},
"idMerkEdit": {
"type": "string",
"format": "uuid",
"description": "ID merk yang diperbaiki."
},
"pemasukanEdit": {
"type": "integer",
"description": "Jumlah pemasukan produk yang diperbaiki."
},
"saldoAwalEdit": {
"type": "integer",
"description": "Saldo awal produk yang diperbaiki."
},
"pengeluaranEdit": {
"type": "integer",
"description": "Jumlah pengeluaran produk yang diperbaiki."
},
"bkcMusnahEdit": {
"type": "integer",
"description": "Jumlah BKC yang musnah yang diperbaiki."
},
"saldoAkhirEdit": {
"type": "integer",
"description": "Saldo akhir produk yang diperbaiki."
},
"keteranganEdit": {
"type": "string",
"description": "Keterangan tambahan untuk perbaikan laporan."
},
"sudahDilekatiEdit": {
"type": "integer",
"description": "Jumlah produk yang sudah dilekati pita cukai yang diperbaiki."
},
"belumDilekatiEdit": {
"type": "integer",
"description": "Jumlah produk yang belum dilekati pita cukai yang diperbaiki."
},
"uuidEdit": {
"type": "string",
"format": "uuid",
"description": "UUID unik untuk detail laporan yang diperbaiki."
}
},
"required": [
"namaMerkEdit",
"idLack11Detail",
"idMerkEdit",
"uuidEdit"
]
}
}
},
"required": [
"idLack11Header",
"periodeEdit",
"kodeKantor",
"namaPerusahaan",
"namaPengusahaEdit",
"noIdentitasEdit",
"tanggalLaporanEdit",
"alasanPerbaikan",
"details"
]
}
--boundary
Content-Disposition: form-data; name="idLack11Header"
4216f948-76f6-4a17-ba59-f6cfa508a412
--boundary
Content-Disposition: form-data; name="periodeEdit"
3
--boundary
Content-Disposition: form-data; name="kodeKantor"
150300
--boundary
Content-Disposition: form-data; name="namaPerusahaan"
PANJANG JIWO PT
--boundary
Content-Disposition: form-data; name="namaPengusahaEdit"
ANI
--boundary
Content-Disposition: form-data; name="noIdentitasEdit"
0014539407415000150312
--boundary
Content-Disposition: form-data; name="tanggalLaporanEdit"
2023-12-26
--boundary
Content-Disposition: form-data; name="alasanPerbaikan"
salah data
--boundary
Content-Disposition: form-data; name="dokumenDasarPerbaikan"
(binary)
--boundary
Content-Disposition: form-data; name="details[0].namaMerkEdit"
JAMESON Irish Whiskey
--boundary
Content-Disposition: form-data; name="details[0].isiEdit"
20
--boundary
Content-Disposition: form-data; name="details[0].hjeEdit"
300000
--boundary
Content-Disposition: form-data; name="details[0].tarifSpesifikEdit"
15000
--boundary
Content-Disposition: form-data; name="details[0].kadarEaEdit"
70
--boundary
Content-Disposition: form-data; name="details[0].seriPitaEdit"
3
--boundary
Content-Disposition: form-data; name="details[0].jenisProduksiBkcEdit"
MMEA GOLONGAN C
--boundary
Content-Disposition: form-data; name="details[0].idLack11Detail"
46a5d72d-ea00-4cc5-a046-b8944c0a88f8
--boundary
Content-Disposition: form-data; name="details[0].idMerkEdit"
d778c883-98b9-445c-9565-abbb740654fa
--boundary
Content-Disposition: form-data; name="details[0].pemasukanEdit"
11000
--boundary
Content-Disposition: form-data; name="details[0].saldoAwalEdit"
0
--boundary
Content-Disposition: form-data; name="details[0].pengeluaranEdit"
9000
--boundary
Content-Disposition: form-data; name="details[0].bkcMusnahEdit"
8000
--boundary
Content-Disposition: form-data; name="details[0].saldoAkhirEdit"
-20000
--boundary
Content-Disposition: form-data; name="details[0].keteranganEdit"
keterangan
--boundary
Content-Disposition: form-data; name="details[0].sudahDilekatiEdit"
0
--boundary
Content-Disposition: form-data; name="details[0].belumDilekatiEdit"
0
--boundary
Content-Disposition: form-data; name="details[0].uuidEdit"
fbf33e2d-2ac2-46ce-b8c4-a6dd6a2a4200
--boundary--
{
"message": "Success",
"status": true,
"data": null
}
Parameter Name | Type | Description | Example Value |
---|---|---|---|
Parameter Name | Type | Description | Example Value |
---|---|---|---|
Field | Rules |
---|---|
Status Code | Description | Reason |
---|---|---|