Variable taxInvoiceIssuanceStatusNotificationConst
taxInvoiceIssuanceStatusNotification: {
$ref: "#/definitions/Notification";
definitions: {
Notification: {
properties: {
eventTime: {
description: "The time the notification was sent.";
type: "string";
};
notificationMetadata: {
$ref: "#/definitions/NotificationMetadata";
description: "The notification's metadata.";
type: "object";
};
notificationType: {
description: "The notification type.";
enum: readonly ["TAX_INVOICE_ISSUANCE_STATUS"];
type: "string";
};
notificationVersion: {
description: "The notification version.";
type: "string";
};
payload: {
$ref: "#/definitions/Payload";
description: "The payload containing invoice issuance status details.";
type: "object";
};
payloadVersion: {
description: "The payload version of the notification.";
type: "string";
};
};
required: readonly [
"notificationVersion",
"notificationType",
"payloadVersion",
"eventTime",
"payload",
"notificationMetadata",
];
type: "object";
};
NotificationMetadata: {
properties: {
applicationId: {
description: "The application identifier.";
type: "string";
};
notificationId: {
description: "The notification identifier.";
type: "string";
};
publishTime: {
description: "The time the notification was published.";
type: "string";
};
subscriptionId: {
description: "The subscription identifier.";
type: "string";
};
};
required: readonly [
"applicationId",
"subscriptionId",
"publishTime",
"notificationId",
];
type: "object";
};
Payload: {
properties: {
date: {
description: "The date and time the invoice was issued. Values are in ISO 8601 date-time format.";
format: "date-time";
type: "string";
};
error: {
description: "Error details when the invoice issuance fails. Only present for error statuses.";
properties: {
errorCode: {
description: "The error code indicating the type of failure.";
type: "string";
};
govResponse: {
description: "The response message from the government agency.";
type: "string";
};
};
required: readonly ["errorCode", "govResponse"];
type: "object";
};
invoiceId: {
description: "The invoice identifier used by an external party, typically the government agency that authorized the invoice.";
type: "string";
};
marketplaceId: {
description: "The identifier for the Amazon store where the invoice was issued.";
type: "string";
};
orderId: {
description: "The order identifier associated with the invoice.";
type: "string";
};
status: {
description: "The status of the tax invoice issuance.";
enum: readonly ["SUCCESS", "ERROR"];
type: "string";
};
};
required: readonly ["marketplaceId", "invoiceId", "date", "status"];
type: "object";
};
};
description: "The notification response schema for tax invoice issuance status notifications.";
type: "object";
} = ...
Type Declaration
-
Readonly$ref: "#/definitions/Notification"
-
Readonlydefinitions: {
Notification: {
properties: {
eventTime: {
description: "The time the notification was sent.";
type: "string";
};
notificationMetadata: {
$ref: "#/definitions/NotificationMetadata";
description: "The notification's metadata.";
type: "object";
};
notificationType: {
description: "The notification type.";
enum: readonly ["TAX_INVOICE_ISSUANCE_STATUS"];
type: "string";
};
notificationVersion: {
description: "The notification version.";
type: "string";
};
payload: {
$ref: "#/definitions/Payload";
description: "The payload containing invoice issuance status details.";
type: "object";
};
payloadVersion: {
description: "The payload version of the notification.";
type: "string";
};
};
required: readonly [
"notificationVersion",
"notificationType",
"payloadVersion",
"eventTime",
"payload",
"notificationMetadata",
];
type: "object";
};
NotificationMetadata: {
properties: {
applicationId: {
description: "The application identifier.";
type: "string";
};
notificationId: {
description: "The notification identifier.";
type: "string";
};
publishTime: {
description: "The time the notification was published.";
type: "string";
};
subscriptionId: {
description: "The subscription identifier.";
type: "string";
};
};
required: readonly [
"applicationId",
"subscriptionId",
"publishTime",
"notificationId",
];
type: "object";
};
Payload: {
properties: {
date: {
description: "The date and time the invoice was issued. Values are in ISO 8601 date-time format.";
format: "date-time";
type: "string";
};
error: {
description: "Error details when the invoice issuance fails. Only present for error statuses.";
properties: {
errorCode: {
description: "The error code indicating the type of failure.";
type: "string";
};
govResponse: {
description: "The response message from the government agency.";
type: "string";
};
};
required: readonly ["errorCode", "govResponse"];
type: "object";
};
invoiceId: {
description: "The invoice identifier used by an external party, typically the government agency that authorized the invoice.";
type: "string";
};
marketplaceId: {
description: "The identifier for the Amazon store where the invoice was issued.";
type: "string";
};
orderId: {
description: "The order identifier associated with the invoice.";
type: "string";
};
status: {
description: "The status of the tax invoice issuance.";
enum: readonly ["SUCCESS", "ERROR"];
type: "string";
};
};
required: readonly ["marketplaceId", "invoiceId", "date", "status"];
type: "object";
};
}
-
Readonlydescription: "The notification response schema for tax invoice issuance status notifications."
-
Readonlytype: "object"