# Invoice Created This webhook is triggered when a new invoice is created. Endpoint: POST invoiceCreated Version: 1.0.0 Security: ApiKeyAuth ## Request fields (application/json): - `ID` (string) Unique ID of the invoice - `Outlet` (string) Name of the outlet - `Number` (string) Number of the invoice transaction - `Date` (string) Date of the invoice transaction - `DueDate` (string) Due date of the invoice transaction - `Tag` (string) Channel Tagging system (e.g., Take Away, Shopee) - `Customer` (object) - `Customer.ID` (string) Unique ID of the customer - `Customer.Name` (string) Name of the customer - `Customer.Email` (string) E-mail of the customer - `Customer.Phone` (string) Phone number of the customer - `Customer.Mobile` (string) Mobile Phone Number of the customer - `Customer.Code` (string) Unique Code of the customer - `Customer.Address` (string) Customer's address - `CreatorID` (string) ID of the creator of the invoice - `Created` (string) Date when the invoice was created - `Discount1` (integer) Percentage of discount 1 - `Discount2` (integer) Percentage of discount 2 - `DiscountAmount` (integer) Discount amount applied - `Gross` (integer) Total amount before discounts - `DiscountTotal` (integer) Total discount applied - `TaxType` (string) Type of tax (e.g., No Tax) - `TaxCalculation` (string) Tax calculation method (e.g., Add or Include) - `Tax` (integer) Total tax applied - `TaxRate` (integer) Tax rate in percentage - `Sales` (integer) Total sales after discounts - `Surcharge` (integer) Additional surcharge (e.g., credit card fee) - `SalesNTax` (integer) Sales total after tax - `Coupon` (string) Coupon code used, if any - `CouponNote` (string) Additional note for the coupon - `Note` (string) Additional note for the invoice - `PointUsed` (integer) Total loyalty points used - `PointsEarned` (integer) Total loyalty points earned - `Delivery` (string) Delivery status (Sent, Unsent, etc.) - `Void` (string) Whether the invoice is voided (Yes/No) - `Variants` (array) - `Variants.VariantID` (string) ID of the product variant - `Variants.Name` (string) Name of the product variant - `Variants.Code` (string) Code of the product variant - `Variants.Type` (string) Type of the product variant Enum: "Standard", "NonInventory", "Composite", "Serialized", "Manufactured", "Complementary", "MultipleUOM", "PrepaidPoint", "PrepaidPackage" - `Variants.Quantity` (integer) Quantity of the variant sold - `Variants.UnitQuantity` (integer) Unit measurement for the variant - `Variants.Cost` (integer) Cost of the product variant - `Variants.Price` (integer) Price of the product variant - `Variants.PriceOriginal` (number) Original price before discounts - `Variants.Discount` (integer) Discount percentage for the variant - `Variants.DiscountAmount` (integer) Discount amount applied to the variant - `Variants.Taxable` (boolean) Whether the product variant is taxable - `Variants.LoyaltyPoint` (boolean) Whether loyalty points can be used on the product - `Variants.Expense` (integer) Any additional expense related to the variant - `Variants.NettPrice` (integer) Price after discounts - `Variants.Commission` (integer) Sales commission - `Variants.SalesName` (string) Sales person name - `Variants.PriceTypeID` (integer) Type of pricing applied - `Variants.Note` (string) Note regarding the product variant - `OutboundLogistics` (array) - `OutboundLogistics.ID` (string) Unique ID of the outbound logistics - `OutboundLogistics.Outlet` (string) Outlet name for outbound logistics - `OutboundLogistics.Number` (string) Outbound logistics transaction number - `OutboundLogistics.Date` (string) Date of outbound logistics - `Payments` (array) - `Payments.Date` (string) Payment date - `Payments.Amount` (integer) Payment amount - `Payments.Method` (string) Payment method (e.g., Debit Card) - `Payments.Code` (string) Payment code - `Payments.Note` (string) Payment method note - `Payments.Created` (string) Payment created Transaction Date by system - `ReferenceNumber` (string) Reference number for the invoice - `OrderFulfillmentRecipient` (object) - `OrderFulfillmentRecipient.ID` (string) ID of the recipient - `OrderFulfillmentRecipient.Name` (string) Name of the recipient - `OrderFulfillmentRecipient.Phone` (string) Phone number of the recipient - `OrderFulfillmentRecipient.Address` (string) Address of the recipient - `OrderFulfillmentRecipient.City` (string) City of the recipient ## Response 200 fields (application/json): - `status` (string) Example: "success"