package com.bookshop.dry;

import java.math.BigDecimal;

/** A different document, same single source of VAT knowledge -- they cannot disagree. */
public class SupplierInvoice {

    public BigDecimal vatLine(BigDecimal netAmount) {
        return Vat.vatOn(netAmount);
    }

    public BigDecimal grandTotal(BigDecimal netAmount) {
        return Vat.withVat(netAmount);
    }
}
