ERP Invoicing Events dev:1.3.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

  • SEND erp.invoicing.events

    Channel carrying all invoicing domain events from ERP.

    ERP publishes InvoiceWasDeleted when an invoice is deleted.

    Operation IDpublishInvoiceWasDeleted

    Accepts the following message:

    Invoice Was DeletedInvoiceWasDeleted

    Identifier of an invoice emitted after it has been deleted.

    Message IDInvoiceWasDeleted
    allOf

    Examples

  • SEND erp.invoicing.events

    Channel carrying all invoicing domain events from ERP.

    ERP publishes InvoiceItemAllocationsChanged when an invoice item's allocations to purchase order items change.

    Operation IDpublishInvoiceItemAllocationsChanged

    Accepts the following message:

    Invoice Item Allocations ChangedInvoiceItemAllocationsChanged

    Current set of allocations of an invoice item to purchase order items.

    Message IDInvoiceItemAllocationsChanged
    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
  • #3Invoice Was DeletedInvoiceWasDeleted

    Identifier of an invoice emitted after it has been deleted.

    Message IDInvoiceWasDeleted
    allOf
  • #4Invoice Item Allocations ChangedInvoiceItemAllocationsChanged

    Current set of allocations of an invoice item to purchase order items.

    Message IDInvoiceItemAllocationsChanged
    allOf