Skip to Content
Invoices

E-Invoices

The e-invoices module connects JoyOne to an e-invoice provider and lets your team issue e-invoices from paid receipts. JoyOne tracks the export status, lookup code, invoice number, invoice URL, and cancellation status when the provider supports it.

When To Use This Module

Use this module when you need to:

  • Issue e-invoices from paid receipts.
  • Track which receipts are not exported, processing, successful, failed, or cancelled.
  • Export multiple invoices by selected receipts or by a date filter.
  • Connect either a production provider account or a test environment.

JoyOne currently supports MatBao and MISA meInvoice. Provider options ending with “Test” are for sandbox testing only and must not be used for real invoice issuance.

Prerequisites

Before setup, prepare:

  1. Your e-invoice provider account.
  2. The tax code used for issuing invoices.
  3. The invoice template number and series provided by your provider.
  4. API credentials for your provider.
  5. The default tax rate your accounting team wants to apply.

If the E-Invoices module is not visible in the left menu, ask a workspace administrator to enable it in the workspace menu configuration.

Initial Setup

Open E-Invoices

Open E-Invoices from the left menu.

Open the setup form

If no provider has been configured, click Configure provider. If a provider already exists, open the Settings tab and click Edit provider.

Choose the provider

Select the environment you want to connect:

  • MatBao: MatBao production environment.
  • MISA meInvoice: MISA production environment.
  • MatBao Test: MatBao sandbox environment.
  • MISA meInvoice Test: MISA sandbox environment.

Fill invoice settings

Enter the invoice template number, invoice series, default tax rate, and API URL supplied by the provider.

Fill API credentials

For MatBao, fill MST, TDNhap, and MKhau. For MISA, fill App ID, Tax code, Username, and Password.

Save and verify the connection

Click Save. After saving, use Healthcheck to verify that JoyOne can authenticate with the provider.

Field Reference

FieldMeaningHow to fill it
ProviderThe provider and environment JoyOne connects toSelect a production or test environment. Use Test options only for sandbox testing.
Invoice typeProvider template numberFor MatBao, JoyOne sends this as KHMSHDon. Test example: 1.
SeriesInvoice symbol or seriesFor MatBao, JoyOne sends this as KHHDon. Test example: C26TAA.
Default tax rateTax rate applied to invoice lines generated by JoyOneChoose KCT, 0%, 5%, 8%, or 10% based on your accounting policy.
API URLProvider API base URLUse the production URL for real issuance and the sandbox URL for testing.
MSTMatBao API tax codeShown only for MatBao and MatBao Test.
TDNhapMatBao API usernameShown only for MatBao and MatBao Test.
MKhauMatBao API passwordShown only for MatBao and MatBao Test.
App IDMISA application IDShown only for MISA meInvoice and MISA meInvoice Test.
Tax codeMISA login tax codeShown only for MISA meInvoice and MISA meInvoice Test.
UsernameMISA usernameShown only for MISA meInvoice and MISA meInvoice Test.
PasswordMISA passwordShown only for MISA meInvoice and MISA meInvoice Test.
Loan receipt item descriptionDescription template for loan fee invoice linesShown only for Credit workspaces. Supports {loanCode}, {periodStart}, {periodEnd}, and {signedAt}.

Default Tax Rate

OptionMeaning
KCTNot subject to VAT
0%0% VAT
5%5% VAT
8%8% VAT
10%10% VAT
⚠️

The default tax rate is applied when JoyOne builds invoice data. Confirm the correct value with your accounting team before using production issuance.

MatBao Setup

When using MatBao, contact MatBao to get the official connection details for the customer’s business account:

  • API URL for production or sandbox.
  • Tax code used for API login.
  • API username.
  • API password.
  • Invoice type.
  • Invoice series.

Public information:

⚠️

Do not use internally shared demo or test credentials for customer setup. Each customer should receive connection details from MatBao or from their own service contract.

Issuing E-Invoices

After the provider is connected, open the Invoices tab inside E-Invoices.

Filter receipts

Use From date and To date if you want to filter by receipt payment date.

Select receipts

Tick the receipts you want to export, or use the current filter result.

Export invoices

Choose one of the available actions:

  • Export on a row to export one receipt.
  • Export selected to export checked receipts.
  • Export by filter to export all receipts matching the current filter.

Track status

After JoyOne sends the request to the provider, the invoice can stay in Processing before it succeeds. Click Refresh to update the list.

Invoice Statuses

StatusMeaningWhat to do
Not exportedThe receipt does not have an e-invoice yetIt can be selected for export.
PendingJoyOne created the export requestWait for the system to send it to the provider.
ProcessingThe provider is processing the invoiceClick Refresh after a short wait.
SuccessThe invoice was issued successfullyOpen the invoice URL when available.
FailedThe provider rejected or failed the invoiceCheck provider settings, invoice type, series, receipt data, or contact support.
CancelledThe invoice was cancelledRe-issue only when accounting rules allow it.

Viewing And Cancelling

When an invoice succeeds and the provider returns a URL, JoyOne shows View on the receipt row.

To cancel an invoice, click Cancel on a successful invoice row. JoyOne sends a cancellation request to the provider with a system cancellation reason.

⚠️

Invoice cancellation is an accounting-sensitive action. Cancel only after confirming the correct process with your accounting owner.

Common Issues

IssueCommon causeResolution
Healthcheck failsWrong API URL, wrong API credentials, or mixed test/production environmentCheck the provider option, API URL, and credentials.
Export failsWrong invoice type, wrong series, or invalid receipt dataCheck Invoice type, Series, customer data, and amount.
Invoice stays in ProcessingThe provider has not returned a final resultClick Refresh after a few minutes or check the provider dashboard.
Loan description field is missingThe workspace is not a Credit workspaceThis field is only available for Credit workspaces.
E-Invoices module is missingThe module is not enabled in the workspace menuAsk an administrator to enable the module in workspace settings.