Skip to content
Merxian

invoice.issued

Merxian issued an invoice to the buyer.

On this page
Typeinvoice.issued
CauseA paid transaction on a merchant of record account received its invoice.
PayloadThe invoice object in data.object
SubscriptionOn by default for a new endpoint.

When to use it

Store the invoice number with your record of the sale.

Payload

The fields of data.object. The envelope is the same for every event.

  • idstring

    The invoice ID, inv_….

  • objectstring

    Always invoice.

  • numberstring

    The document number. It can be an empty string.

  • typestring

    The document type. GUTSCHRIFT is the credit note of a German issuer.

    One of: INVOICE, CREDIT_NOTE, GUTSCHRIFT

  • The transaction of the document, txn_….

  • currencystring

    The ISO 4217 currency code.

  • amountsobject

    Amounts in minor units.

    Child attributes of amounts
    • netinteger

      The amount before tax.

    • taxinteger

      The tax.

    • grossinteger

      The amount with tax.

  • The buyer country, as ISO 3166-1 alpha-2.

  • issued_atstring (date-time)

    When the document was issued.

Example

invoice.issued · request body
{
  "id": "whevt_7Kd2VpXn4TqB9mLzR",
  "object": "event",
  "type": "invoice.issued",
  "created_at": "2026-09-14T09:24:53Z",
  "api_version": "2026-08-01",
  "account_id": "acct_5Rn8bQ2xW7mK4tLzP",
  "data": {
    "object": {
      "id": "inv_7NwQ2kT9xL4mB6vRc",
      "object": "invoice",
      "number": "INV-2026-000418",
      "type": "INVOICE",
      "transaction_id": "txn_0F8mQ2rXbT4kL9pZa",
      "currency": "EUR",
      "amounts": {
        "net": 12000,
        "tax": 2280,
        "gross": 14280
      },
      "buyer_country": "DE",
      "issued_at": "2026-09-14T09:25:03Z"
    }
  }
}

Other invoice events: invoice.credited.

Try refund, payment.succeeded,POST /v1/transactions, orIdempotency-Key.