Documents on LINE (LINE Official Account)
Many Thai customers would rather get an invoice on LINE than by email. Connect your business’s own LINE Official Account (บัญชี LINE OA) and Somdul sends from it: a card with the document’s number, date and amount, and a link to the PDF. Overdue payment reminders can go there too.
Messages always come from your LINE Official Account, under your name and on your LINE plan. Somdul never sends your customers anything from its own LINE account.
Open in Somdul: Settings → Company (the LINE Official Account card)
Before you start
Section titled “Before you start”- You need a LINE Official Account for the business, with the Messaging API switched on. You make both for free at LINE: the account in LINE Official Account Manager, then Settings → Messaging API → Enable Messaging API, which creates a Messaging API channel in LINE Developers.
- Who can do it: admins and accountants connect the account and change its switches; admins, accountants and staff invite customers and send documents.
- Your plan at LINE decides how many messages go out free each month. Somdul shows how many are used.
How do I connect my LINE Official Account?
Section titled “How do I connect my LINE Official Account?”-
In LINE Developers, open your provider and the Messaging API channel of your LINE Official Account.
-
On Basic settings, copy the Channel ID and the Channel secret.
-
On Messaging API, under Channel access token, click Issue and copy the long-lived token.
-
In Somdul, go to Settings → Company and find LINE Official Account. Paste the three values and click Connect. Somdul checks them with LINE before saving.
-
Copy the Webhook URL the card now shows. Back on the channel’s Messaging API tab, paste it under Webhook settings → Webhook URL, switch on Use webhook and click Verify. The card changes to Webhook verified.
-
Optional but recommended: in LINE Official Account Manager, under Response settings, keep Chat on so you can still answer customers yourself.
How does a customer start getting documents on LINE?
Section titled “How does a customer start getting documents on LINE?”-
Open the customer in Sales → Customers and click Edit. Under LINE contacts, click Invite on LINE.
-
Somdul shows an 8-character code (like ABCD-EFGH, valid 30 days) and a QR code for your LINE account. Click Copy invitation to paste the invitation into a chat, or Email invitation.
-
The customer adds your LINE account as a friend and sends the code in the chat. Your account replies to confirm, and their LINE name appears under LINE contacts. You also get a notification.
Everyone at the customer can use the same code, so the owner and their bookkeeper can both receive documents. When an invoice has a pay link, the customer’s pay page also offers Get documents on LINE with their code.
How do I send a document on LINE?
Section titled “How do I send a document on LINE?”-
Open the printout of an invoice, quotation, receipt, billing note or customer statement (Print). On a document’s page, LINE OA next to Send opens it for you.
-
Click LINE OA (shown only when the customer has a LINE contact). Choose who gets it and check the preview.
-
Click Send on LINE. The customer gets a card with View document (PDF). An invoice with a pay link also gets Pay online; a quotation open for acceptance gets View and accept.
The PDF is made exactly like the PDF button’s and kept like an emailed one. The link works for 90 days. The print bar shows when it was sent on LINE and to whom.
Overdue reminders by LINE
Section titled “Overdue reminders by LINE”Switch on Overdue reminders by LINE on the card. It works together with Automatic payment reminders in Sales → Statements & reminders, on the same days after the due date. Customers with a LINE contact get the reminder on LINE instead of by email, listing their overdue invoices with Pay buttons where an invoice has a pay link. Customers with no LINE contact still get the email. A customer gets at most one automatic reminder a day.
Every field explained
Section titled “Every field explained”| Field | What to enter | Notes |
|---|---|---|
| Channel ID | The digits under Basic settings of the Messaging API channel. | Checked against the token. |
| Channel secret | 32 letters and digits under Basic settings. | Used to check that messages to Somdul really come from LINE. |
| Channel access token (long-lived) | The token issued on the Messaging API tab. | Not the short-lived or “v2.1” kind. |
| Send documents on LINE | On: printouts show LINE OA. | On when you connect. |
| Overdue reminders by LINE | On: automatic reminders go by LINE to customers on LINE. | Off when you connect. |
Message limits and email instead
Section titled “Message limits and email instead”- The card shows Messages this month: how many your LINE Official Account has sent and its monthly limit.
- When a send would go over the limit, Somdul says so and you send it by email instead.
- Automatic reminders fall back to email by themselves when the month’s messages are used up, or if LINE refuses a message.
- Replies to customers who link their LINE are free; only documents and reminders count.
Privacy
Section titled “Privacy”Somdul keeps each LINE contact’s LINE user ID, their LINE name and which customer they belong to, and a record of each document sent. To send, the message goes to LY Corporation, the company that runs LINE (in Japan): your LINE Official Account’s own terms with LINE apply. A contact who blocks your account gets nothing more, and is deleted after 180 days; you can remove a contact at any time.
Common mistakes
Section titled “Common mistakes”- Webhook still “Waiting” → the URL wasn’t pasted, Use webhook is off, or Verify wasn’t pressed. Customers’ codes only work once LINE sends messages to Somdul.
- “This access token belongs to another channel” → the token and the Channel ID come from different channels. Copy both from the same Messaging API channel.
- A customer sends the code but nothing happens → they need to add your account as a friend first; your account tells them so.
- The LINE OA button doesn’t show → the customer has no LINE contact yet, the contact blocked your account, or Send documents on LINE is off.
Questions
Section titled “Questions”Does it cost anything?
Section titled “Does it cost anything?”Somdul doesn’t charge for it. LINE counts each document and reminder against your LINE Official Account’s monthly messages; your plan at LINE decides how many are free.
Can customers chat with us on the same account?
Section titled “Can customers chat with us on the same account?”Yes. Somdul only answers link codes. Other messages are left for you in LINE Official Account Manager.
What if I disconnect?
Section titled “What if I disconnect?”The secret and token are deleted and nothing more goes on LINE. Customers’ links are kept, so connecting the same account again picks up where you left off. Connecting a different account starts afresh.
Does it work in the demo?
Section titled “Does it work in the demo?”The demo shows a connected example account with linked customers and a document sent on LINE, but nothing can be sent.