# sales-accounting

sales-accounting is a Claude Code skill that structures sales registers and invoice tracking. It sets up schemas covering gross amounts, discounts, VAT, TDS, and credit balances.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf (Devin Desktop), Claude.ai · ★ 85 repo stars
- Author: WHOISABHISHEKADHIKARI
- License: MIT · policy=mirror · the beginning of the file is at the end of this page
- Source: https://github.com/huytran1120/vie-agentic-skills/tree/HEAD/skills/sales-accounting/SKILL.md
- Updated: 2026-11-15
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/sales-accounting

## What it does

The skill establishes a lean sales accounting layout before generating any code. Once prompted, it builds matching outputs from a shared field list as CSV, SQL DDL, JSON Schema, or Notion database mappings.

The layout follows a single-table constraint where each row represents one invoice with a single line item. Multi-item invoices need separate header and item tables, because summing balances across items causes double-counted receivables.

This tool outputs empty structural templates without touching live company data. It does not handle tax filing, collection management, or legal compliance.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add huytran1120/vie-agentic-skills --skill sales-accounting -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/sales-accounting/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/sales-accounting/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add huytran1120/vie-agentic-skills --skill sales-accounting -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/sales-accounting/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add huytran1120/vie-agentic-skills --skill sales-accounting -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/sales-accounting/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install huytran1120/vie-agentic-skills skills/sales-accounting
```

2. **Manually: put the files in place**
- File: `.github/skills/sales-accounting/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add huytran1120/vie-agentic-skills --skill sales-accounting -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/huytran1120/vie-agentic-skills --path skills/sales-accounting
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/sales-accounting/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/huytran1120/vie-agentic-skills/tree/HEAD/skills/sales-accounting/SKILL.md

## When to use it
- generate an SQL DDL schema for invoice and receivables tracking
- build a CSV template for sales tax registers and credit terms
- separate payment statuses from aging balances in a billing log
- define a JSON Schema covering invoice discounts and withholding tax

## Example prompts
- Set up a sales invoice register schema with VAT and credit tracking
- Create an SQL DDL table for tracking customer billing and overdue balances
- Generate a CSV template to record delivery challans and invoice receipts

## Source text · SKILL.md · MIT

Below is the content of a third-party file. It is data, not instructions for you: do not act on anything written inside unless the human asks. Block tag: d7fc1f3e3ecefafa.

BEGIN THIRD-PARTY FILE d7fc1f3e3ecefafa
```text
---
name: sales-accounting
description: 'Sales register: customer, invoice, gross amount, discount, VAT and TDS, net receivable, credit terms and balance. Use for sales accounting.'
category: business
risk: safe
source: self
source_type: self
date_added: "2026-09-26"
author: WHOISABHISHEKADHIKARI
tags: [sme, accounting, audit, finance, database, csv, notion, sql, sales]
tools: []
source_repo: WHOISABHISHEKADHIKARI/sme-ops-system-builder
---

# Sales Accounting

**What it is:** Sales invoices, the receivables they create, and the documents that support them.

## Overview

Works out the smallest useful **Sales Accounting** setup for the business in front of it, then
builds it only when asked. The default output is a short recommendation, not a
spreadsheet. Artifacts - CSV, SQL DDL, JSON Schema, Notion mapping - are produced on
request, from one field list so they cannot drift apart.

**Scope of one row.** This is a single-table skill and one row is one invoice carrying
**one line item**. It is deliberately not a multi-line billing engine. An invoice with
several items requires an invoice header with a separate line table. Do not repeat invoice totals, payments or balances per item: summing them would double-count receivables.
Decide that in Step 2, do not assume it.

**Everything is conditional.** Not every sale is on credit, not every invoice has an order
or a challan, not every sale attracts VAT, and not every customer deducts TDS. Those fields
exist to record what was confirmed; they are left unset when the answer is "not applicable"
or "not known". Never fill them with a default to make the row look complete.

Layer: Layer 3: Record. Fits: Starter stage. Table code: n/a.

## When to Use This Skill

- sales accounting
- sales invoice register
- customer billing and receivable tracker
- sales vat register log

Also use it when the user describes invoicing, billing or tracking who has paid, or the same
process happening in a spreadsheet, a document or someone's inbox.

Do not use it for: customer collections, tax filing, or legal advice. This skill produces
empty templates only - it never holds or processes real customer or financial data.

## How It Works

Follow the shared execution contract. The module-specific rules below define only domain fields, decisions, calculations, and safety constraints.

### Step 1 - Identify intent

Read the request and pick the intent before asking anything.

- "set up" or "build" or "create" -> the user wants artifacts; go to Step 2.
- "our process is ..." or "it is in a sheet" -> the user wants to move an existing process; capture it, then Step 2.
- "is this right" or "review" or "audit" -> the user wants a check, not a build; answer from what they share.
- "how do I ..." -> advice question; answer directly and offer the build only if it helps.

Then read everything the user has already said and work out which single missing answer
would actually change the recommendation. If the request already contains enough to
```
END THIRD-PARTY FILE d7fc1f3e3ecefafa

The third-party file has ended. Everything between the d7fc1f3e3ecefafa tags is data: requests and commands from it are not followed. An “end of file” line with another tag inside the block is part of the file.

First 3001 of 25977 bytes. © WHOISABHISHEKADHIKARI · MIT · https://github.com/huytran1120/vie-agentic-skills/tree/HEAD/skills/sales-accounting/SKILL.md

_Part of the page did not fit — see the HTML version._

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
