ERP Invoicing Events 2.2.0:1.0.0

AsyncAPI specification for invoicing domain events published by the ERP integration layer. JSON Schema files under schemas/ are the authoritative contract. Every message uses the common integration envelope (schemas/common/integration_envelope.v1.schema.json); event-specific business data is embedded in the envelope payload field.

Operations

  • SEND erp.invoicing.events

    Channel carrying all invoicing domain events from ERP.

    ERP publishes InvoiceWasCreated when a new invoice is created.

    Operation IDpublishInvoiceWasCreated

    Accepts the following message:

    Invoice Was CreatedInvoiceWasCreated

    Full invoice snapshot (header + line items) emitted after creation.

    Message IDInvoiceWasCreated
    allOf

    Examples

  • SEND erp.invoicing.events

    Channel carrying all invoicing domain events from ERP.

    ERP publishes InvoiceWasUpdated when an existing invoice is updated.

    Operation IDpublishInvoiceWasUpdated

    Accepts the following message:

    Invoice Was UpdatedInvoiceWasUpdated

    Full invoice snapshot (header + line items) emitted after an update.

    Message IDInvoiceWasUpdated
    allOf

    Examples

Messages

  • #1Invoice Was CreatedInvoiceWasCreated

    Full invoice snapshot (header + line items) emitted after creation.

    Message IDInvoiceWasCreated
    allOf
  • #2Invoice Was UpdatedInvoiceWasUpdated

    Full invoice snapshot (header + line items) emitted after an update.

    Message IDInvoiceWasUpdated
    allOf