The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.
#!perl

# Note: This script is a CLI interface to Riap function /Business/ID/NOPPBB/validate_nop_pbb
# and generated automatically using Dist::Zilla::Plugin::Rinci::ScriptFromFunc version 0.01

our $DATE = '2014-08-16'; # DATE
our $VERSION = '0.06'; # VERSION

use 5.010001;
use strict;
use warnings;

use Perinci::CmdLine::Any -prefer_lite=>1;

Perinci::CmdLine::Any->new(
    url => "/Business/ID/NOPPBB/validate_nop_pbb",
)->run;

# ABSTRACT: Validate (and parse) Indonesian property tax number (NOP PBB)
# PODNAME: parse-nop-pbb

__END__

=pod

=encoding UTF-8

=head1 NAME

parse-nop-pbb - Validate (and parse) Indonesian property tax number (NOP PBB)

=head1 VERSION

This document describes version 0.06 of parse-nop-pbb (from Perl distribution Business-ID-NOPPBB), released on 2014-08-16.

=head1 SYNOPSIS

Usage:

 % parse-nop-pbb

Examples:

 TODO

To see all options:

 % parse-nop-pbb --help

=head1 DESCRIPTION

Indonesian property tax object number, or Nomor Objek Pajak Pajak Bumi dan
Bangunan, is a number given to a tax object (a piece of land with its
house/building).

NOP PBB is composed of 18 digits as follow:

 AA.BB.CCC.DDD.EEE-XXXX.Y

AA is the province code from BPS. BB is locality (city/regency a.k.a
kota/kabupaten) code from BPS. CCC is district (kecamatan) code from BPS. DDD is
village (desa/kelurahan) code from BPS. EEE is block code. XXXX is the object
number. Y is a special code (it is most likely not a check digit, since it is
almost always has the value of 0).

The function will return status 200 if syntax is valid and return the parsed
information hash. Otherwise it will return 400.

Currently the length and AA code is checked against valid province code. There
is currently no way to check whether a specific NOP PBB actually exists, because
you would need to query Dirjen Pajak's database for that.

=head1 OPTIONS

 TODO

=head1 HOMEPAGE

Please visit the project's homepage at L<https://metacpan.org/release/Business-ID-NOPPBB>.

=head1 SOURCE

Source repository is at L<https://github.com/sharyanto/perl-Business-ID-NOPPBB>.

=head1 BUGS

Please report any bugs or feature requests on the bugtracker website L<https://rt.cpan.org/Public/Dist/Display.html?Name=Business-ID-NOPPBB>

When submitting a bug or request, please include a test-file or a
patch to an existing test-file that illustrates the bug or desired
feature.

=head1 AUTHOR

Steven Haryanto <stevenharyanto@gmail.com>

=head1 COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by Steven Haryanto.

This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.

=cut