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/sendData

API Endpoint to send E-Invoice data from Marketplace

Headers

NameTypeDescription

Authorization*

String

Bearer Token from Authorization API

Request Body

NameTypeDescription

Data Einvoice*

String

JSONSchema E-Invoice Data

{
  "body": {},
  "statusCode": "ACCEPTED",
  "statusCodeValue": 0
}

JSONSchema Kirim Data E-Invoice

{
    "$schema": "http://json-schema.org/draft-06/schema#",
    "type": "array",
    "items": {
        "$ref": "#/definitions/Welcome8Element"
    },
    "definitions": {
        "Welcome8Element": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
                "countQuantity": {
                    "type": "string",
                    "format": "integer"
                },
                "currencyTypeCode": {
                    "type": "string"
                },
                "exitToEntryChargeAmount": {
                    "type": "string",
                    "format": "integer"
                },
                "identityQualifierCode": {
                    "type": "string"
                },
                "invoiceDate": {
                    "type": "string",
                    "format": "date"
                },
                "invoiceNumber": {
                    "type": "string"
                },
                "invoiceURL": {
                    "type": "string"
                },
                "marketplaceName": {
                    "type": "string"
                },
                "measurementUnit": {
                    "type": "string",
                    "format": "integer"
                }
            },
            "required": [
                "countQuantity",
                "currencyTypeCode",
                "exitToEntryChargeAmount",
                "identityQualifierCode",
                "invoiceDate",
                "invoiceNumber",
                "invoiceURL",
                "marketplaceName",
                "measurementUnit"
            ],
            "title": "Welcome8Element"
        }
    }
}

Contoh Data E-Invoice

[
  {
    "countQuantity": "1",
    "currencyTypeCode": "USD",
    "exitToEntryChargeAmount": "20",
    "identityQualifierCode": "CATCAN150501",
    "invoiceDate": "2023-05-15",
    "invoiceNumber": "INVCAN190503",
    "invoiceURL": "-",
    "marketplaceName": "IKC",
    "measurementUnit": "PCE"
  },
    "countQuantity": "1",
    "currencyTypeCode": "USD",
    "exitToEntryChargeAmount": "20",
    "identityQualifierCode": "CATCAN150504",
    "invoiceDate": "2023-05-15",
    "invoiceNumber": "INVCAN190503",
    "invoiceURL": "-",
    "marketplaceName": "IKC",
    "measurementUnit": "PCE"
  }
]

Sample Response :

[
    {
        "status": "100",
        "data": "Invoice Number: INVCAN190503, Identity Qualifier Code: CATCAN190501",
        "messages": [
            "Data Received, waiting for CEISA validation"
        ]
    },
    {
        "status": "100",
        "data": "Invoice Number: INVCAN190503, Identity Qualifier Code: CATCAN190504",
        "messages": [
            "Data Received, waiting for CEISA validation"
        ]
    }
]

Last updated