Kirim Data E-Invoice
Used by Marketplaces to send E-Invoice data
Development
URL Dev: https://apisdev-gw.beacukai.go.id/kirim-einvoice-barkir-public/kirim-data-einvoice-barkir
Production
URL Prod : https://apis-gw.beacukai.go.id/kirim-einvoice-barkir-public/kirim-data-einvoice-barkir
Kirim Data E-Invoice
POST
{API_URL}/e-invoice/send-data
API Endpoint to send E-Invoice data from Marketplace
Discount refer to Discount Type and Discount Provider References
Headers
Name
Type
Description
Authorization*
String
Bearer Token from Authorization API
Request Body
Name
Type
Description
Data Einvoice*
String
JSONSchema E-Invoice Data
[
{
"status": "100",
"data": "Invoice Number: INVOICETEST-2 Date: 2024-11-18",
"messages": [
"Data Received, waiting for CEISA validation"
]
}
]
JSONSchema Kirim Data E-Invoice
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "array",
"items": [
{
"type": "object",
"properties": {
"buyerName": {
"type": "string"
},
"buyerPhoneNumber": {
"type": "string"
},
"commodity": {
"type": "array",
"items": [
{
"type": "object",
"properties": {
"countQuantity": {
"type": "string"
},
"discountProvider": {
"type": "string"
},
"discountType": {
"type": "string"
},
"discountValue": {
"type": "string"
},
"exitToEntryChargeAmount": {
"type": "string"
},
"identityQualifierCode": {
"type": "string"
},
"measurementUnit": {
"type": "string"
},
"orderUrl": {
"type": "string"
}
},
"required": [
"countQuantity",
"discountProvider",
"discountType",
"discountValue",
"exitToEntryChargeAmount",
"identityQualifierCode",
"measurementUnit",
"orderUrl"
]
}
]
},
"currencyTypeCode": {
"type": "string"
},
"exchangeRate": {
"type": "string"
},
"invoiceDate": {
"type": "string"
},
"invoiceNumber": {
"type": "string"
},
"invoiceURL": {
"type": "string"
},
"marketplaceName": {
"type": "string"
}
},
"required": [
"buyerName",
"buyerPhoneNumber",
"commodity",
"currencyTypeCode",
"exchangeRate",
"invoiceDate",
"invoiceNumber",
"invoiceURL",
"marketplaceName"
]
}
]
}
Contoh Data E-Invoice
[
{
"buyerName": "PENERIMA-1",
"buyerPhoneNumber": "081233334444",
"commodity": [
{
"countQuantity": "1",
"discountProvider": "",
"discountType": "",
"discountValue": "",
"exitToEntryChargeAmount": "4.5",
"identityQualifierCode": "SKU_ABC10",
"measurementUnit": "PCE",
"orderUrl": "-"
}
],
"currencyTypeCode": "USD",
"exchangeRate": "15759",
"invoiceDate": "2024-11-18",
"invoiceNumber": "INVOICETEST-2",
"invoiceURL": "-",
"marketplaceName": "DEMO BEACUKAI"
}
]
Sample Response :
[
{
"status": "100",
"data": "Invoice Number: INVOICETEST-2 Date: 2024-11-18",
"messages": [
"Data Received, waiting for CEISA validation"
]
}
]
Last updated